barsuift.simLife.tree
Class TreeBranchPartState

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

public class TreeBranchPartState
extends java.lang.Object
implements State


Constructor Summary
TreeBranchPartState()
           
TreeBranchPartState(long creationMillis, java.math.BigDecimal energy, java.math.BigDecimal freeEnergy, java.util.List<TreeLeafState> leaveStates, TreeBranchPart3DState branchPart3DState)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 TreeBranchPart3DState getBranchPart3DState()
           
 long getCreationMillis()
           
 java.math.BigDecimal getEnergy()
           
 java.math.BigDecimal getFreeEnergy()
           
 java.util.List<TreeLeafState> getLeaveStates()
           
 int hashCode()
           
 void setBranchPart3DState(TreeBranchPart3DState branchPart3DState)
           
 void setCreationMillis(long creationMillis)
           
 void setEnergy(java.math.BigDecimal energy)
           
 void setFreeEnergy(java.math.BigDecimal freeEnergy)
           
 void setLeaveStates(java.util.List<TreeLeafState> leaveStates)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TreeBranchPartState

public TreeBranchPartState()

TreeBranchPartState

public TreeBranchPartState(long creationMillis,
                           java.math.BigDecimal energy,
                           java.math.BigDecimal freeEnergy,
                           java.util.List<TreeLeafState> leaveStates,
                           TreeBranchPart3DState branchPart3DState)
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)

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.