|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectmascoptLib.util.ObservableObject
mascoptLib.abstractGraph.MascoptObject
mascoptLib.abstractGraph.MascoptFixedSet
mascoptLib.abstractGraph.MascoptSet
This class implements the concept of MascoptSet. A new implementation was needed in order to comply more closely with the object oriented way of doing things. Basically, a MascoptSet object is a MascoptObject object which contains a Hashset to store objects.
Field Summary |
Fields inherited from class mascoptLib.abstractGraph.MascoptFixedSet |
initialCapacity, loadFactor |
Constructor Summary | |
MascoptSet()
Default constructor of a set. |
|
MascoptSet(MascoptSet superSet)
Constuctor for subsets. |
Method Summary | |
boolean |
add(MascoptObject mascoptobject)
Describe add method here. |
boolean |
add(Object object)
Describe add method here. |
boolean |
addAll(Collection collection)
Describe addAll method here. |
void |
clear()
Describe clear method here. |
boolean |
remove(MascoptObject mascoptobject)
Describe remove method here. |
boolean |
remove(Object object)
Describe remove method here. |
boolean |
removeAll(Collection collection)
Describe removeAll method here. |
void |
removeAllValues(MascoptObjectInterface context)
Remove all values concerning a category. |
void |
removeAllValuesOnElementsOfset(MascoptObjectInterface context)
Remove all values concerning a category. |
boolean |
retainAll(Collection collection)
Describe retainAll method here. |
void |
setValueForAllElements(String name,
String value)
Write values in the set for all elements. |
void |
setValueForAllElements(String name,
String value,
MascoptObjectInterface g)
Write values in the set for all elements. |
Methods inherited from class mascoptLib.abstractGraph.MascoptFixedSet |
contains, containsAll, countAllSets, equals, free, getSuperSet, hashCode, isEmpty, isSubSet, iterator, setSuperSet, size, toArray, toArray, toArray, toString |
Methods inherited from class mascoptLib.abstractGraph.MascoptObject |
copyValues, countAllObjects, deleteValue, deleteValue, existValue, existValue, getDoubleValue, getDoubleValue, getDouValue, getDouValue, getId, getIntegerValue, getIntegerValue, getIntValue, getIntValue, getName, getValue, getValue, getValueContexts, getValueDataType, getValueDataType, getValueEntries, notifyOnValueChange, setDoubleValue, setDoubleValue, setDouValue, setDouValue, setIntegerValue, setIntegerValue, setIntValue, setIntValue, setName, setValue, setValue, setValue, setValue, setValue, setValue, update |
Methods inherited from class mascoptLib.util.ObservableObject |
addAddObserver, addRemoveObserver, addValueObserver, countAddObservers, countRemoveObservers, countValueObservers, deleteAddObserver, deleteAddObserver, deleteRemoveObserver, deleteRemoveObserver, deleteValueObserver, deleteValueObserver |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Set |
contains, containsAll, equals, hashCode, isEmpty, iterator, size, toArray, toArray |
Constructor Detail |
public MascoptSet()
public MascoptSet(MascoptSet superSet)
add
or
addAll
.
superSet
- the super set to use.Method Detail |
public boolean addAll(Collection collection)
addAll
method here.
addAll
in interface Set
addAll
in class MascoptFixedSet
collection
- a Collection
value
boolean
valuepublic boolean add(Object object)
add
method here.
add
in interface Set
add
in class MascoptFixedSet
boolean
valuepublic boolean add(MascoptObject mascoptobject)
add
method here.
mascoptobject
- a MascoptObject
value
boolean
valuepublic boolean remove(Object object)
remove
method here.
remove
in interface Set
remove
in class MascoptFixedSet
object
- a Object
value
boolean
valuepublic boolean remove(MascoptObject mascoptobject)
remove
method here.
boolean
valuepublic void clear()
clear
method here.
clear
in interface Set
clear
in class MascoptFixedSet
public boolean removeAll(Collection collection)
removeAll
method here.
removeAll
in interface Set
removeAll
in class MascoptFixedSet
collection
- a Collection
value
boolean
valuepublic boolean retainAll(Collection collection)
retainAll
method here.
retainAll
in interface Set
retainAll
in class MascoptFixedSet
collection
- a Collection
value
boolean
valuepublic void setValueForAllElements(String name, String value)
name
- the string reprensenting the parametervalue
- the value to write for this parameterpublic void setValueForAllElements(String name, String value, MascoptObjectInterface g)
name
- the string reprensenting the parametervalue
- the value to write for this parameterg
- the graph representing the contextpublic void removeAllValuesOnElementsOfset(MascoptObjectInterface context)
context
- the oject contextpublic void removeAllValues(MascoptObjectInterface context)
removeAllValues
in class MascoptObject
context
- the oject context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |