|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractMap
org.openmdx.base.collection.MarshallingMap
org.openmdx.base.collection.MarshallingFilterableMap
public class MarshallingFilterableMap
A Marshalling Filterable Map
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.util.AbstractMap |
|---|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V> |
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| Field Summary |
|---|
| Fields inherited from class org.openmdx.base.collection.MarshallingMap |
|---|
map, marshaller |
| Fields inherited from interface org.openmdx.base.collection.FetchSize |
|---|
DEFAULT_FETCH_SIZE |
| Constructor Summary | |
|---|---|
MarshallingFilterableMap(CollectionMarshaller marshaller,
FilterableMap container)
Constructor |
|
MarshallingFilterableMap(Marshaller marshaller,
FilterableMap container)
Constructor |
|
| Method Summary | |
|---|---|
int |
getFetchSize()
Get the proposed fetch size |
void |
setFetchSize(int fetchSize)
Set the proposed fetch size |
FilterableMap |
subMap(Object filter)
Selects objects matching the filter. |
List |
values(Object criteria)
Applies given criteria to the elements of the container and returns the result as list. |
| Methods inherited from class org.openmdx.base.collection.MarshallingMap |
|---|
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, remove, size, values |
| Methods inherited from class java.util.AbstractMap |
|---|
clone, equals, hashCode, putAll, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Map |
|---|
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
| Constructor Detail |
|---|
public MarshallingFilterableMap(CollectionMarshaller marshaller,
FilterableMap container)
marshaller - map -
public MarshallingFilterableMap(Marshaller marshaller,
FilterableMap container)
marshaller - map - | Method Detail |
|---|
public FilterableMap subMap(Object filter)
FilterableMapThe 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.
subMap in interface FilterableMapfilter - The filter to be applied to objects of this container
public List values(Object criteria)
FilterableMapThe acceptable criteria classes must be specified by the container implementation.
values in interface FilterableMapcriteria - The criteria to be applied to objects of this container;
or null for all the container's elements in
their default order.
public int getFetchSize()
FetchSize
getFetchSize in interface FetchSizepublic void setFetchSize(int fetchSize)
FetchSize
setFetchSize in interface FetchSizefetchSize - the proposed fetch size,
or 0 if the default fetch size should be used
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||