|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection
wt.fc.collections.AbstractWTCollection
wt.fc.collections.AbstractWTList
Base class for default WTList implementations. The add() and set() methods
throw UnsupportedOperationExceptions.
Supported API: false
Extendable: false
Nested Class Summary | |
private class |
AbstractWTList.ConnectCache
Used to optimize the indexOf call required by connect. |
Nested classes inherited from class wt.fc.collections.AbstractWTCollection |
AbstractWTCollection.PersistableCollection |
Field Summary | |
private static String |
CLASSNAME
|
private AbstractWTList.ConnectCache |
connectCache
Caches references to their indexes to speed up connect |
private static String |
RESOURCE
|
Fields inherited from class wt.fc.collections.AbstractWTCollection |
|
Fields inherited from interface wt.fc.collections.WTCollection |
DEFLATED_ON_SERIALIZATION |
Constructor Summary | |
AbstractWTList()
|
Method Summary | |
void |
add(int index,
Object o)
Supported API: false |
void |
add(int index,
Persistable p)
Supported API: false |
void |
add(int index,
QueryKey query_key)
Supported API: false |
void |
add(int index,
WTReference ref)
Supported API: false |
boolean |
add(Persistable p)
Supported API: false |
boolean |
add(QueryKey query_key)
Supported API: false |
boolean |
add(WTReference ref)
Supported API: false |
boolean |
addAll(Collection c)
Supported API: false |
boolean |
addAll(int index,
Collection c)
Supported API: false |
void |
connect(int index,
Persistable p,
WTCollection source)
Supported API: false |
void |
connect(int index,
QueryKey query_key,
WTCollection source)
Supported API: false |
void |
connect(int index,
WTReference ref,
WTCollection source)
Supported API: false |
(package private) boolean |
connect(WTReference r,
boolean add)
Use a cache to avoid excessive querying during the common case of building 1 collection by connecting objects from another |
boolean |
connectAll(int index,
WTCollection c)
Supported API: false |
boolean |
equals(Object o)
|
Object |
get(int index)
Supported API: false |
(package private) abstract int |
getModCount()
|
Persistable |
getPersistable(int index)
Supported API: false |
QueryKey |
getQueryKey(int index)
Supported API: false |
WTReference |
getReference(int index)
Supported API: false |
int |
indexOf(Object o)
Supported API: false |
int |
indexOf(Persistable p)
Supported API: false |
int |
indexOf(QueryKey query_key)
Supported API: false |
int |
indexOf(WTReference ref)
Supported API: false |
int |
lastIndexOf(Object o)
Supported API: false |
int |
lastIndexOf(Persistable p)
Supported API: false |
int |
lastIndexOf(QueryKey query_key)
Supported API: false |
int |
lastIndexOf(WTReference ref)
Supported API: false |
ListIterator |
listIterator()
Supported API: false |
ListIterator |
listIterator(int index)
Supported API: false |
ListIterator |
persistableListIterator()
Supported API: false |
abstract ListIterator |
persistableListIterator(int index)
Supported API: false |
ListIterator |
queryKeyListIterator()
Supported API: false |
abstract ListIterator |
queryKeyListIterator(int index)
Supported API: false |
ListIterator |
referenceListIterator()
Supported API: false |
abstract ListIterator |
referenceListIterator(int index)
Supported API: false |
Object |
remove(int index)
Supported API: false |
Object |
set(int index,
Object o)
Supported API: false |
Persistable |
set(int index,
Persistable p)
Supported API: false |
QueryKey |
set(int index,
QueryKey query_key)
Supported API: false |
WTReference |
set(int index,
WTReference ref)
Supported API: false |
abstract List |
subList(int from_index,
int to_index)
Supported API: false |
Methods inherited from class java.util.AbstractCollection |
clear, containsAll, isEmpty, removeAll, retainAll, size, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface wt.fc.collections.WTList |
connect, connect, connect |
Methods inherited from interface wt.fc.collections.WTCollection |
add, addAll, classIterator, connect, connect, connect, connectAll, connectAll, contains, contains, contains, contains, containsInstance, containsOnly, deflate, getKeyMask, inflate, isDeflatedOnSerialization, isEnabled, iterator, persistableCollection, persistableIterator, persistableIterator, queryKeyIterator, queryKeyIterator, referenceIterator, referenceIterator, remove, remove, remove, remove, removeAll, retainAll, setDeflatedOnSerialization, subCollection, subCollection, toArray, toArray, toArray, toArray, toArray, toArray, toIdArray |
Methods inherited from interface java.util.Collection |
clear, containsAll, hashCode, isEmpty, removeAll, retainAll, size |
Methods inherited from interface java.util.List |
add, clear, contains, containsAll, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private transient AbstractWTList.ConnectCache connectCache
Constructor Detail |
public AbstractWTList()
Method Detail |
public boolean add(Persistable p)
add
in interface WTCollection
add
in class AbstractWTCollection
p
-
public boolean add(QueryKey query_key)
add
in interface WTCollection
add
in class AbstractWTCollection
query_key
-
public boolean add(WTReference ref)
add
in interface WTCollection
add
in class AbstractWTCollection
ref
-
public void add(int index, Object o)
add
in interface WTList
index
- o
- public void add(int index, Persistable p)
add
in interface WTList
index
- p
- public void add(int index, QueryKey query_key)
add
in interface WTList
index
- query_key
- public void add(int index, WTReference ref)
add
in interface WTList
index
- ref
- public boolean addAll(Collection c)
addAll
in interface WTCollection
addAll
in class AbstractWTCollection
c
-
public boolean addAll(int index, Collection c)
addAll
in interface WTList
index
- c
-
public void connect(int index, Persistable p, WTCollection source)
connect
in interface WTList
index
- p
- source
- WTCollection.connect(Persistable, WTCollection)
public void connect(int index, QueryKey query_key, WTCollection source)
connect
in interface WTList
index
- query_key
- source
- WTCollection.connect(Persistable, WTCollection)
public void connect(int index, WTReference ref, WTCollection source)
connect
in interface WTList
index
- ref
- source
- WTCollection.connect(Persistable, WTCollection)
public boolean connectAll(int index, WTCollection c)
connectAll
in interface WTList
index
- c
-
WTCollection.connectAll(WTCollection)
public Object get(int index)
get
in interface WTList
index
-
public Persistable getPersistable(int index) throws WTException
getPersistable
in interface WTList
index
-
WTException
public QueryKey getQueryKey(int index)
getQueryKey
in interface WTList
index
-
public WTReference getReference(int index)
getReference
in interface WTList
index
-
public int indexOf(Object o)
indexOf
in interface List
o
-
public int indexOf(QueryKey query_key)
indexOf
in interface WTList
query_key
-
List.indexOf(Object)
public int indexOf(Persistable p)
indexOf
in interface WTList
p
-
List.indexOf(Object)
public int indexOf(WTReference ref)
indexOf
in interface WTList
ref
-
List.indexOf(Object)
public int lastIndexOf(Object o)
lastIndexOf
in interface List
o
-
public int lastIndexOf(QueryKey query_key)
lastIndexOf
in interface WTList
query_key
-
List.lastIndexOf(Object)
public int lastIndexOf(Persistable p)
lastIndexOf
in interface WTList
p
-
List.lastIndexOf(Object)
public int lastIndexOf(WTReference ref)
lastIndexOf
in interface WTList
ref
-
List.lastIndexOf(Object)
public ListIterator listIterator()
listIterator
in interface WTList
public ListIterator listIterator(int index)
listIterator
in interface WTList
index
-
public ListIterator persistableListIterator() throws WTException
persistableListIterator
in interface WTList
WTException
public abstract ListIterator persistableListIterator(int index) throws WTException
persistableListIterator
in interface WTList
index
-
WTException
public ListIterator queryKeyListIterator()
queryKeyListIterator
in interface WTList
public abstract ListIterator queryKeyListIterator(int index)
queryKeyListIterator
in interface WTList
index
-
public ListIterator referenceListIterator()
referenceListIterator
in interface WTList
public abstract ListIterator referenceListIterator(int index)
referenceListIterator
in interface WTList
index
-
public Object remove(int index)
remove
in interface List
index
-
public Object set(int index, Object o)
set
in interface WTList
index
- o
-
public Persistable set(int index, Persistable p)
set
in interface WTList
index
- p
-
public QueryKey set(int index, QueryKey query_key)
set
in interface WTList
index
- query_key
-
public WTReference set(int index, WTReference ref)
set
in interface WTList
index
- ref
-
public abstract List subList(int from_index, int to_index)
subList
in interface WTList
from_index
- to_index
-
public boolean equals(Object o)
equals
in interface Collection
equals
in class AbstractWTCollection
abstract int getModCount()
boolean connect(WTReference r, boolean add)
connect
in class AbstractWTCollection
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |