|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection
org.openmdx.base.accessor.jmi.spi.RefContainer_1
public class RefContainer_1
| Constructor Summary | |
|---|---|
RefContainer_1(Marshaller marshaller,
FilterableMap container)
Constructor |
|
| Method Summary | |
|---|---|
boolean |
add(Object o)
|
Object |
get(Object filter)
Select an object matching the filter. |
Iterator |
iterator()
|
void |
refAddValue(String qualifier,
Object value)
Adds object to the container with qualifier. |
FilterableMap |
refDelegate()
|
int |
size()
|
Container |
subSet(Object filter)
Selects objects matching the filter. |
List |
toList(Object criteria)
Applies given criteria to the elements of the container and returns the result as list. |
| Methods inherited from class java.util.AbstractCollection |
|---|
addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Collection |
|---|
addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, toArray, toArray |
| Constructor Detail |
|---|
public RefContainer_1(Marshaller marshaller,
FilterableMap container)
the - marshaller to be applied to the elements, filter and order
objects.The - delegate contains unmarshalled elements| Method Detail |
|---|
public FilterableMap refDelegate()
public void refAddValue(String qualifier,
Object value)
RefContainer_1_0
refAddValue in interface RefContainer_1_0public Container subSet(Object filter)
ContainerThe semantics of the collection returned by this method become undefined if the backing collection (i.e., this container) is structurally modified in any way other than via the returned collection. (Structural modifications are those that change the size of this list, or otherwise perturb it in such a fashion that iterations in progress may yield incorrect results.)
This method returns a Collection as opposed to a
Set because it behaves as set in respect to object id
equality, not element equality.
The acceptable filter object classes must be specified by the container implementation.
subSet in interface Containerfilter - The filter to be applied to objects of this container
public List toList(Object criteria)
ContainerThe acceptable criteria classes must be specified by the container implementation.
toList in interface Containercriteria - The criteria to be applied to objects of this container;
or null for all the container's elements in
their default order.
public Iterator iterator()
iterator in interface Iterableiterator in interface Collectioniterator in class AbstractCollectionpublic int size()
size in interface Collectionsize in class AbstractCollectionpublic Object get(Object filter)
ContainerThe acceptable filter object classes must be specified by the Container implementation.
get in interface Containerfilter - The filter to be applied to objects of this container
null if no object matches the filter.public boolean add(Object o)
add in interface Collectionadd in class AbstractCollection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||