|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object infomat.vectorspace.IObject infomat.vectorspace.IObjectGroup infomat.vectorspace.IObjectSet
public class IObjectSet
A IObjectSet is a complete set of IObject:s. This can either be the complete set of objects one investigates or the complete feature set by which these objects are represented. In fact, this representations makes no difference between the two.
Field Summary | |
---|---|
private IObjectGrouping |
currentGrouping
|
private java.util.HashMap<java.lang.Integer,IObject> |
idIObjectMap
|
private static int |
idIterator
|
private java.util.HashMap<java.lang.String,java.util.HashSet<IObject>> |
stringAmbiguousIObjectsMap
|
Fields inherited from class infomat.vectorspace.IObjectGroup |
---|
maxIdSoFar, objectOrderIndexMap, objectOrderValueMap, ordered |
Constructor Summary | |
---|---|
IObjectSet(IObjectSet ios)
Copy constructor. |
|
IObjectSet(java.lang.String name)
|
Method Summary | |
---|---|
void |
add(IObject io)
Adds a new IObject. |
void |
add(IObject io,
float orderValue)
Adds a new IObject in the place the value implicates. |
IObject |
getIObjectWithId(int i)
Returns the IObject with the given id. |
java.lang.String |
getLargestStartOfLocation()
|
void |
remove(IObject io)
Removes a IObject. |
void |
removeAll()
|
java.util.Vector<IObject> |
removeObjectsNotIn(IObjectGroup group)
Removes IObject:s that are not in the given IObjectGroup. |
void |
sortInCurrentVectorOrderWithInvertedOrderNumberAsValue()
|
Methods inherited from class infomat.vectorspace.IObjectGroup |
---|
addAll, addAll, contains, containsPrecisely, getIObjectAt, getIObjectOrderIndex, getIVector, getName, getObjectOrderValueMap, getOrdered, getSortedObjectOrderValueVector, notIn, numberOfIObjects, numberOfSharedIObjects, randomOrder, remove, setIVector, setName, sortInOrderValueOrder, subGroup, subGroup |
Methods inherited from class infomat.vectorspace.IObject |
---|
getAmbiguous, getAmbiguousString, getID, getKind, getLargestCommonLocation, getLocation, getString, setAmbiguous, setString, stringCompareTo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static int idIterator
private IObjectGrouping currentGrouping
private java.util.HashMap<java.lang.Integer,IObject> idIObjectMap
private java.util.HashMap<java.lang.String,java.util.HashSet<IObject>> stringAmbiguousIObjectsMap
Constructor Detail |
---|
public IObjectSet(java.lang.String name)
public IObjectSet(IObjectSet ios)
Method Detail |
---|
public void add(IObject io)
add
in class IObjectGroup
public void add(IObject io, float orderValue)
IObjectGroup
IObjectGroup.sortInOrderValueOrder()
.
add
in class IObjectGroup
public void remove(IObject io)
remove
in class IObjectGroup
public void removeAll()
removeAll
in class IObjectGroup
public java.util.Vector<IObject> removeObjectsNotIn(IObjectGroup group)
removeObjectsNotIn
in class IObjectGroup
public void sortInCurrentVectorOrderWithInvertedOrderNumberAsValue()
sortInCurrentVectorOrderWithInvertedOrderNumberAsValue
in class IObjectGroup
public IObject getIObjectWithId(int i)
public java.lang.String getLargestStartOfLocation()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |