org.hecl
Class GroupThing
- java.lang.Object
-
- org.hecl.GroupThing
-
-
Constructor Summary
Constructors Constructor and Description GroupThing(java.lang.String s)Creates a newGroupThinginstance from a string.GroupThing(java.util.Vector v)Creates a newGroupThinginstance from a vector.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description static Thingcreate(java.util.Vector v)Thecreatemethod takes a Vector of Things and creates a Thing containing a GroupThing.RealThingdeepcopy()deepcopymakes a copy of a GroupThing and all its elements.static java.util.Vectorget(Thing thing)getreturns a Vector containing other Things, representing a group, from a Thing.java.lang.StringgetStringRep()getStringRepreturns a string representation of the group.java.lang.Stringthingclass()
-
-
-
Constructor Detail
-
GroupThing
public GroupThing(java.util.Vector v)
Creates a newGroupThinginstance from a vector.- Parameters:
v- aVectorvalue
-
GroupThing
public GroupThing(java.lang.String s)
Creates a newGroupThinginstance from a string.- Parameters:
s- aStringvalue
-
-
Method Detail
-
create
public static Thing create(java.util.Vector v)
Thecreatemethod takes a Vector of Things and creates a Thing containing a GroupThing.- Parameters:
v- aVectorvalue- Returns:
- a
Thingvalue
-
thingclass
public java.lang.String thingclass()
- Specified by:
thingclassin interfaceRealThing
-
get
public static java.util.Vector get(Thing thing) throws HeclException
getreturns a Vector containing other Things, representing a group, from a Thing.- Parameters:
thing- aThingvalue- Returns:
- a
Vectorvalue - Throws:
HeclException
-
deepcopy
public RealThing deepcopy() throws HeclException
deepcopymakes a copy of a GroupThing and all its elements.- Specified by:
deepcopyin interfaceRealThing- Returns:
- a
RealThingvalue - Throws:
HeclException
-
getStringRep
public java.lang.String getStringRep()
getStringRepreturns a string representation of the group.- Specified by:
getStringRepin interfaceRealThing- Returns:
- a
Stringvalue
-
-
DataMelt 3.0 © DataMelt by jWork.ORG