barsuift.simLife.tree
Class TreeBranchPartState
java.lang.Object
barsuift.simLife.tree.TreeBranchPartState
- All Implemented Interfaces:
- State
public class TreeBranchPartState
- extends java.lang.Object
- implements State
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
TreeBranchPartState
public TreeBranchPartState()
TreeBranchPartState
public TreeBranchPartState(long creationMillis,
java.math.BigDecimal energy,
java.math.BigDecimal freeEnergy,
java.util.List<TreeLeafState> leaveStates,
TreeBranchPart3DState branchPart3DState)
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)
getLeaveStates
public java.util.List<TreeLeafState> getLeaveStates()
setLeaveStates
public void setLeaveStates(java.util.List<TreeLeafState> leaveStates)
getBranchPart3DState
public TreeBranchPart3DState getBranchPart3DState()
setBranchPart3DState
public void setBranchPart3DState(TreeBranchPart3DState branchPart3DState)
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.