MetaDone
|
Public Member Functions | |
ConcreteObject | getHead () |
ConcreteObjectGroup | getTail () |
Multiplicity | getMultiplicity () |
boolean | isEmpty () |
int | size () |
ConcreteObject | get (int index) |
int | indexOf (Object co) |
boolean | add (ConcreteObject e) |
void | add (int index, ConcreteObject element) |
boolean | addAll (Collection<?extends ConcreteObject > c) |
boolean | addAll (int index, Collection<?extends ConcreteObject > c) |
void | clear () |
boolean | contains (Object o) |
boolean | containsAll (Collection<?> c) |
Iterator< ConcreteObject > | iterator () |
int | lastIndexOf (Object o) |
ListIterator< ConcreteObject > | listIterator () |
ListIterator< ConcreteObject > | listIterator (int index) |
boolean | remove (Object o) |
ConcreteObject | remove (int index) |
boolean | removeAll (Collection<?> c) |
boolean | retainAll (Collection<?> c) |
ConcreteObject | set (int index, ConcreteObject element) |
List< ConcreteObject > | subList (int fromIndex, int toIndex) |
Object[] | toArray () |
boolean | equals (Object obj) |
int | hashCode () |
String | toString () |
Static Public Member Functions | |
static ConcreteObjectGroup | forInstance (ConcreteObject obj) |
static ConcreteObjectGroup | forCollection (Collection<?extends ConcreteObject > cos) |
Protected Member Functions | |
ConcreteObjectGroup (ImmutableList< ConcreteObject > list) | |
Package Functions | |
public< T > T[] | toArray (T[] a) |
Private Attributes | |
final ImmutableList < ConcreteObject > | list |
A group of concrete objects denotes concrete objects associated with the LHS side.
metadone.client.display.ConcreteObjectGroup.ConcreteObjectGroup | ( | ImmutableList< ConcreteObject > | list | ) | [protected] |
Initializes this group.
list | The list of objects |
References metadone.client.display.ConcreteObjectGroup.list.
Referenced by metadone.client.display.ConcreteObjectGroup.forCollection(), metadone.client.display.ConcreteObjectGroup.forInstance(), and metadone.client.display.ConcreteObjectGroup.getTail().
boolean metadone.client.display.ConcreteObjectGroup.add | ( | ConcreteObject | e | ) |
void metadone.client.display.ConcreteObjectGroup.add | ( | int | index, |
ConcreteObject | element | ||
) |
References metadone.client.display.ConcreteObjectGroup.list.
boolean metadone.client.display.ConcreteObjectGroup.addAll | ( | Collection<?extends ConcreteObject > | c | ) |
References metadone.client.display.ConcreteObjectGroup.list.
Referenced by metadone.client.display.ConcreteObjectGroup.addAll().
boolean metadone.client.display.ConcreteObjectGroup.addAll | ( | int | index, |
Collection<?extends ConcreteObject > | c | ||
) |
void metadone.client.display.ConcreteObjectGroup.clear | ( | ) |
References metadone.client.display.ConcreteObjectGroup.list.
boolean metadone.client.display.ConcreteObjectGroup.contains | ( | Object | o | ) |
References metadone.client.display.ConcreteObjectGroup.list.
boolean metadone.client.display.ConcreteObjectGroup.containsAll | ( | Collection<?> | c | ) |
References metadone.client.display.ConcreteObjectGroup.list.
boolean metadone.client.display.ConcreteObjectGroup.equals | ( | Object | obj | ) |
static ConcreteObjectGroup metadone.client.display.ConcreteObjectGroup.forCollection | ( | Collection<?extends ConcreteObject > | cos | ) | [static] |
Creates a new group for a collection.
cos | The collection |
References metadone.client.display.ConcreteObjectGroup.ConcreteObjectGroup(), and metadone.client.display.ConcreteObjectGroup.list.
Referenced by metadone.client.grasyla2.value.GrasylaEngineAdaptorFromValue< T >.adapt(), metadone.client.grasyla2.ref.RefEngine.buildChild(), metadone.client.grasyla2.ref.MetaEngine.buildNewComponent(), and metadone.client.grasyla2.ref.RefEngine.updateComponent().
static ConcreteObjectGroup metadone.client.display.ConcreteObjectGroup.forInstance | ( | ConcreteObject | obj | ) | [static] |
Creates a new group for an instance.
obj | The instance |
References metadone.client.display.ConcreteObjectGroup.ConcreteObjectGroup().
Referenced by metadone.client.grasyla2.ref.SideEngine.buildNewComponent(), metadone.client.grasyla2.generic.ListEngine.buildNewComponent(), metadone.client.grasyla2.generic.HeadEngine.buildNewComponent(), metadone.client.grasyla2.GrasylaEngineFactory.createInterpreter(), and metadone.client.grasyla2.generic.ListEngine.updateToConcreteObject().
ConcreteObject metadone.client.display.ConcreteObjectGroup.get | ( | int | index | ) |
References metadone.client.display.ConcreteObjectGroup.list.
ConcreteObject metadone.client.display.ConcreteObjectGroup.getHead | ( | ) |
Gets the first element.
References metadone.client.display.ConcreteObjectGroup.list.
Referenced by metadone.client.grasyla2.value.SelfIDEngine.buildIDValue(), metadone.client.grasyla2.generic.HeadEngine.buildNewComponent(), metadone.client.grasyla2.visuallibrary.GrasylaScene.MyConnectProvider.createConnection(), metadone.client.grasyla2.ref.ActionDeleteEngine.delete_property(), metadone.client.grasyla2.visuallibrary.VLEdgeEngine.evaluateComponent(), metadone.client.grasyla2.generic.ListEngine.findEngine(), metadone.client.grasyla2.SelectorBestEquation.findEquation(), metadone.client.grasyla2.visuallibrary.GrasylaScene.getCOForMovable(), metadone.client.grasyla2.GrasylaContextEquation.getEquation(), metadone.client.grasyla2.GrasylaContext.getObjectSingle(), metadone.client.grasyla2.ref.RefObjectEngine.getProperty(), metadone.client.grasyla2.ref.SideEngine.getRole(), metadone.client.grasyla2.ref.RefEngine.getSelf(), metadone.client.grasyla2.GrasylaContext.setOwner(), metadone.client.MetadoneDesktopPane.updatePopupMenuItems(), and metadone.client.grasyla2.generic.ListEngine.updateToConcreteObject().
Multiplicity metadone.client.display.ConcreteObjectGroup.getMultiplicity | ( | ) |
Gets the multiplicity of the group.
References metadone.client.display.ConcreteObjectGroup.getTail(), and metadone.client.display.ConcreteObjectGroup.isEmpty().
Referenced by metadone.client.grasyla2.value.SelfIDEngine.buildIDValue(), metadone.client.grasyla2.visuallibrary.VLEdgeEngine.evaluateComponent(), metadone.client.grasyla2.generic.ListEngine.findEngine(), metadone.client.grasyla2.SelectorBestEquation.findEquation(), metadone.client.grasyla2.visuallibrary.GrasylaScene.getCOForMovable(), metadone.client.grasyla2.GrasylaContextEquation.getEquation(), metadone.client.grasyla2.visuallibrary.GrasylaScene.MyConnectProvider.isSourceWidget(), metadone.client.grasyla2.visuallibrary.GrasylaScene.MyConnectProvider.isTargetWidget(), metadone.client.grasyla2.GrasylaContext.setObject(), metadone.client.MetadoneDesktopPane.updatePopupMenuItems(), and metadone.client.grasyla2.generic.ListEngine.updateToConcreteObject().
ConcreteObjectGroup metadone.client.display.ConcreteObjectGroup.getTail | ( | ) |
Gets a group of the elements following the head.
References metadone.client.display.ConcreteObjectGroup.ConcreteObjectGroup(), and metadone.client.display.ConcreteObjectGroup.list.
Referenced by metadone.client.grasyla2.value.SelfIDEngine.buildIDValue(), metadone.client.grasyla2.generic.TailEngine.buildNewComponent(), metadone.client.grasyla2.SelectorBestEquation.findEquation(), and metadone.client.display.ConcreteObjectGroup.getMultiplicity().
int metadone.client.display.ConcreteObjectGroup.hashCode | ( | ) |
References metadone.client.display.ConcreteObjectGroup.list.
int metadone.client.display.ConcreteObjectGroup.indexOf | ( | Object | co | ) |
References metadone.client.display.ConcreteObjectGroup.list.
boolean metadone.client.display.ConcreteObjectGroup.isEmpty | ( | ) |
Indicates whether this group is empty.
Equivalent to checking if the multiplicity is Multiplicity#NO.
true
if this group is empty References metadone.client.display.ConcreteObjectGroup.list.
Referenced by metadone.client.grasyla2.ref.MetaEngine.buildNewComponent(), metadone.client.display.ConcreteObjectGroup.getMultiplicity(), and metadone.client.grasyla2.GrasylaContext.getObjectSingle().
Iterator<ConcreteObject> metadone.client.display.ConcreteObjectGroup.iterator | ( | ) |
References metadone.client.display.ConcreteObjectGroup.list.
int metadone.client.display.ConcreteObjectGroup.lastIndexOf | ( | Object | o | ) |
References metadone.client.display.ConcreteObjectGroup.list.
ListIterator<ConcreteObject> metadone.client.display.ConcreteObjectGroup.listIterator | ( | ) |
References metadone.client.display.ConcreteObjectGroup.list.
ListIterator<ConcreteObject> metadone.client.display.ConcreteObjectGroup.listIterator | ( | int | index | ) |
References metadone.client.display.ConcreteObjectGroup.list.
ConcreteObject metadone.client.display.ConcreteObjectGroup.remove | ( | int | index | ) |
References metadone.client.display.ConcreteObjectGroup.list.
boolean metadone.client.display.ConcreteObjectGroup.remove | ( | Object | o | ) |
References metadone.client.display.ConcreteObjectGroup.list.
boolean metadone.client.display.ConcreteObjectGroup.removeAll | ( | Collection<?> | c | ) |
References metadone.client.display.ConcreteObjectGroup.list.
boolean metadone.client.display.ConcreteObjectGroup.retainAll | ( | Collection<?> | c | ) |
References metadone.client.display.ConcreteObjectGroup.list.
ConcreteObject metadone.client.display.ConcreteObjectGroup.set | ( | int | index, |
ConcreteObject | element | ||
) |
References metadone.client.display.ConcreteObjectGroup.list.
int metadone.client.display.ConcreteObjectGroup.size | ( | ) |
References metadone.client.display.ConcreteObjectGroup.list.
List<ConcreteObject> metadone.client.display.ConcreteObjectGroup.subList | ( | int | fromIndex, |
int | toIndex | ||
) |
References metadone.client.display.ConcreteObjectGroup.list.
public<T> T [] metadone.client.display.ConcreteObjectGroup.toArray | ( | T[] | a | ) | [package] |
References metadone.client.display.ConcreteObjectGroup.list.
Object [] metadone.client.display.ConcreteObjectGroup.toArray | ( | ) |
References metadone.client.display.ConcreteObjectGroup.list.
String metadone.client.display.ConcreteObjectGroup.toString | ( | ) |
References metadone.client.display.ConcreteObjectGroup.list.
final ImmutableList<ConcreteObject> metadone.client.display.ConcreteObjectGroup.list [private] |
Referenced by metadone.client.display.ConcreteObjectGroup.add(), metadone.client.display.ConcreteObjectGroup.addAll(), metadone.client.display.ConcreteObjectGroup.clear(), metadone.client.display.ConcreteObjectGroup.ConcreteObjectGroup(), metadone.client.display.ConcreteObjectGroup.contains(), metadone.client.display.ConcreteObjectGroup.containsAll(), metadone.client.display.ConcreteObjectGroup.equals(), metadone.client.display.ConcreteObjectGroup.forCollection(), metadone.client.display.ConcreteObjectGroup.get(), metadone.client.display.ConcreteObjectGroup.getHead(), metadone.client.display.ConcreteObjectGroup.getTail(), metadone.client.display.ConcreteObjectGroup.hashCode(), metadone.client.display.ConcreteObjectGroup.indexOf(), metadone.client.display.ConcreteObjectGroup.isEmpty(), metadone.client.display.ConcreteObjectGroup.iterator(), metadone.client.display.ConcreteObjectGroup.lastIndexOf(), metadone.client.display.ConcreteObjectGroup.listIterator(), metadone.client.display.ConcreteObjectGroup.remove(), metadone.client.display.ConcreteObjectGroup.removeAll(), metadone.client.display.ConcreteObjectGroup.retainAll(), metadone.client.display.ConcreteObjectGroup.set(), metadone.client.display.ConcreteObjectGroup.size(), metadone.client.display.ConcreteObjectGroup.subList(), metadone.client.display.ConcreteObjectGroup.toArray(), and metadone.client.display.ConcreteObjectGroup.toString().