barsuift.simLife.tree
Class TreeBranchState

java.lang.Object
  extended by barsuift.simLife.tree.TreeBranchState
All Implemented Interfaces:
State

public class TreeBranchState
extends java.lang.Object
implements State


Constructor Summary
TreeBranchState()
           
TreeBranchState(long creationMillis, java.math.BigDecimal energy, java.math.BigDecimal freeEnergy, java.util.List<TreeBranchPartState> branchPartStates, TreeBranch3DState branch3DState)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 TreeBranch3DState getBranch3DState()
           
 java.util.List<TreeBranchPartState> getBranchPartStates()
           
 long getCreationMillis()
           
 java.math.BigDecimal getEnergy()
           
 java.math.BigDecimal getFreeEnergy()
           
 int hashCode()
           
 void setBranch3DState(TreeBranch3DState branch3dState)
           
 void setBranchPartStates(java.util.List<TreeBranchPartState> branchPartStates)
           
 void setCreationMillis(long creationMillis)
           
 void setEnergy(java.math.BigDecimal energy)
           
 void setFreeEnergy(java.math.BigDecimal freeEnergy)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TreeBranchState

public TreeBranchState()

TreeBranchState

public TreeBranchState(long creationMillis,
                       java.math.BigDecimal energy,
                       java.math.BigDecimal freeEnergy,
                       java.util.List<TreeBranchPartState> branchPartStates,
                       TreeBranch3DState branch3DState)
Method Detail

getCreationMillis

public long getCreationMillis()

setCreationMillis

public void setCreationMillis(long creationMillis)

getEnergy

public java.math.BigDecimal getEnergy()

setEnergy

public void setEnergy(java.math.BigDecimal energy)

getFreeEnergy

public java.math.BigDecimal getFreeEnergy()

setFreeEnergy

public void setFreeEnergy(java.math.BigDecimal freeEnergy)

getBranchPartStates

public java.util.List<TreeBranchPartState> getBranchPartStates()

setBranchPartStates

public void setBranchPartStates(java.util.List<TreeBranchPartState> branchPartStates)

getBranch3DState

public TreeBranch3DState getBranch3DState()

setBranch3DState

public void setBranch3DState(TreeBranch3DState branch3dState)

hashCode

public int hashCode()
Specified by:
hashCode in interface State
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Specified by:
equals in interface State
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Specified by:
toString in interface State
Overrides:
toString in class java.lang.Object


Copyright © 2010. All Rights Reserved.