|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tensegrity.palojava.ConsolidationInfo
public final class ConsolidationInfo
ConsolidationInfo
A simple data class which holds informations
about a consolidated child element
Constructor Summary | |
---|---|
ConsolidationInfo(java.lang.String name,
int type,
double factor)
Creates a new ConsolidationInfo instance. |
Method Summary | |
---|---|
double |
getFactor()
Returns the weight factor |
java.lang.String |
getName()
Returns the element name |
int |
getType()
Returns the consolidation type |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConsolidationInfo(java.lang.String name, int type, double factor)
ConsolidationInfo
instance.
name
- the element (child) nametype
- the consolidation typefactor
- the weight factorMethod Detail |
---|
public java.lang.String getName()
public int getType()
public double getFactor()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |