|
||||||||||
| 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 SetaddAll in class MascoptFixedSetcollection - a Collection value
boolean valuepublic boolean add(Object object)
add method here.
add in interface Setadd in class MascoptFixedSetboolean valuepublic boolean add(MascoptObject mascoptobject)
add method here.
mascoptobject - a MascoptObject value
boolean valuepublic boolean remove(Object object)
remove method here.
remove in interface Setremove in class MascoptFixedSetobject - a Object value
boolean valuepublic boolean remove(MascoptObject mascoptobject)
remove method here.
boolean valuepublic void clear()
clear method here.
clear in interface Setclear in class MascoptFixedSetpublic boolean removeAll(Collection collection)
removeAll method here.
removeAll in interface SetremoveAll in class MascoptFixedSetcollection - a Collection value
boolean valuepublic boolean retainAll(Collection collection)
retainAll method here.
retainAll in interface SetretainAll in class MascoptFixedSetcollection - a Collection value
boolean value
public void setValueForAllElements(String name,
String value)
name - the string reprensenting the parametervalue - the value to write for this parameter
public 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 MascoptObjectcontext - the oject context
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||