org.eigenbase.jmi.mem
Class JmiMemFactory.OneWayList
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<Object>
org.eigenbase.jmi.mem.JmiMemFactory.OneWayList
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable<Object>, Collection<Object>, List<Object>, RandomAccess
- Enclosing class:
- JmiMemFactory
private static class JmiMemFactory.OneWayList
- extends ArrayList<Object>
List which holds instances of a many-to-one relationship.
Methods inherited from class java.util.ArrayList |
add, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
element
private final JmiMemFactory.ElementImpl element
relationship
private final JmiMemFactory.Relationship relationship
JmiMemFactory.OneWayList
JmiMemFactory.OneWayList(JmiMemFactory.ElementImpl element,
JmiMemFactory.Relationship relationship)
add
public boolean add(Object o)
- Specified by:
add
in interface Collection<Object>
- Specified by:
add
in interface List<Object>
- Overrides:
add
in class ArrayList<Object>
addAll
public boolean addAll(Collection<?> c)
- Specified by:
addAll
in interface Collection<Object>
- Specified by:
addAll
in interface List<Object>
- Overrides:
addAll
in class ArrayList<Object>