|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface WTList
A WTCollection that implements the java.util.List interface.
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
void |
add(int index,
Object o)
Adds the given object at the given index. |
void |
add(int index,
Persistable p)
Adds the given object at the given index. |
void |
add(int index,
QueryKey query_key)
Adds the given object at the given index. |
void |
add(int index,
WTReference ref)
Adds the given object at the given index. |
boolean |
addAll(int index,
Collection c)
Adds the given collection of objects at the given index. |
void |
connect(int index,
Persistable p,
WTCollection source)
Connects the given object from the source collection to this collection, at the given index. |
void |
connect(int index,
QueryKey query_key,
WTCollection source)
Connects the given object from the source collection to this collection, at the given index. |
void |
connect(int index,
WTReference ref,
WTCollection source)
Connects the given object from the source collection to this collection, at the given index. |
boolean |
connectAll(int index,
WTCollection c)
Connects the objects in the source collection to this collection, starting at the given index. |
Object |
get(int index)
Gets the WTReference at the specified index. |
Persistable |
getPersistable(int index)
Gets the Persistable at the specified index. |
QueryKey |
getQueryKey(int index)
Gets the QueryKey at the specified index. |
WTReference |
getReference(int index)
Gets the WTReference at the specified index. |
int |
indexOf(Persistable p)
Gets the index of the given object. |
int |
indexOf(QueryKey query_key)
Gets the index of the given object. |
int |
indexOf(WTReference ref)
Gets the index of the given object. |
int |
lastIndexOf(Persistable p)
Gets the last index of the given object. |
int |
lastIndexOf(QueryKey query_key)
Gets the last index of the given object. |
int |
lastIndexOf(WTReference ref)
Gets the last index of the given object. |
ListIterator |
listIterator()
Returns a ListIterator over the WTReferences in this list, per the contract of referenceListIterator(). |
ListIterator |
listIterator(int index)
Returns a ListIterator over the WTReferences in this list starting at the given index, per the contract of referenceListIterator(int). |
ListIterator |
persistableListIterator()
Returns a ListIterator over the Persistables in this list. |
ListIterator |
persistableListIterator(int index)
Returns a ListIterator over the Persistables in this list, starting at the given index. |
ListIterator |
queryKeyListIterator()
Returns a ListIterator over the QueryKeys in this list. |
ListIterator |
queryKeyListIterator(int index)
Returns a ListIterator over the QueryKeys in this list, starting at the given index. |
ListIterator |
referenceListIterator()
Returns a ListIterator over the WTReferences in this list. |
ListIterator |
referenceListIterator(int index)
Returns a ListIterator over the WTReferences in this list, starting at the given index. |
Object |
set(int index,
Object o)
Assigns the object to the given index. |
Persistable |
set(int index,
Persistable p)
Sets the object at the given index. |
QueryKey |
set(int index,
QueryKey query_key)
Sets the object at the given index. |
WTReference |
set(int index,
WTReference ref)
Sets the object at the given index. |
List |
subList(int from_index,
int to_index)
Returns a sublist of backed by this WTList, per the contract of List.subList(int,int)
Supported API: true |
| Methods inherited from interface wt.fc.collections.WTCollection |
|---|
add, add, add, add, addAll, addAll, classIterator, connect, connect, connect, connectAll, contains, contains, contains, contains, containsInstance, containsOnly, deflate, getKeyMask, inflate, isEnabled, iterator, persistableCollection, persistableIterator, queryKeyIterator, referenceIterator, remove, remove, remove, remove, removeAll, retainAll, subCollection, toArray, toArray, toArray, toArray, toArray, toArray, toIdArray |
| Methods inherited from interface java.util.List |
|---|
add, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, remove, remove, removeAll, retainAll, size, toArray, toArray |
| Method Detail |
|---|
void add(int index,
Object o)
WTCollection.add(Object)
for further documentation
add in interface Listindex - o -
void add(int index,
Persistable p)
WTCollection.add(Object)
for further documentation
index - p -
void add(int index,
QueryKey query_key)
WTCollection.add(Object)
for further documentation
index - query_key -
void add(int index,
WTReference ref)
WTCollection.add(Object)
for further documentation
index - ref -
boolean addAll(int index,
Collection c)
WTCollection.add(Object) for further documentation
addAll in interface Listindex - c -
void connect(int index,
Persistable p,
WTCollection source)
index - p - source - WTCollection.connect(Persistable, WTCollection)
void connect(int index,
QueryKey query_key,
WTCollection source)
index - query_key - source - WTCollection.connect(Persistable, WTCollection)
void connect(int index,
WTReference ref,
WTCollection source)
index - ref - source - WTCollection.connect(Persistable, WTCollection)
boolean connectAll(int index,
WTCollection c)
index - c -
WTCollection.connectAll(WTCollection)Object get(int index)
get in interface Listindex -
Persistable getPersistable(int index)
throws WTException
index -
WTExceptionQueryKey getQueryKey(int index)
index -
WTReference getReference(int index)
index -
int indexOf(QueryKey query_key)
query_key -
List.indexOf(Object)int indexOf(Persistable p)
p -
List.indexOf(Object)int indexOf(WTReference ref)
ref -
List.indexOf(Object)int lastIndexOf(QueryKey query_key)
query_key -
List.lastIndexOf(Object)int lastIndexOf(Persistable p)
p -
List.lastIndexOf(Object)int lastIndexOf(WTReference ref)
ref -
List.lastIndexOf(Object)ListIterator listIterator()
listIterator in interface ListListIterator listIterator(int index)
listIterator in interface Listindex -
ListIterator persistableListIterator()
throws WTException
WTCollection.persistableIterator().
WTException
ListIterator persistableListIterator(int index)
throws WTException
WTCollection.persistableIterator().
index -
WTExceptionListIterator queryKeyListIterator()
ListIterator queryKeyListIterator(int index)
index -
ListIterator referenceListIterator()
ListIterator referenceListIterator(int index)
index -
Object set(int index,
Object o)
set in interface Listindex - o -
ClassCastException - per the constraints of WTCollection.add(Object)
Persistable set(int index,
Persistable p)
set(int, Object)
for further documentation.
index - p -
QueryKey set(int index,
QueryKey query_key)
set(int, Object)
for further documentation.
index - query_key -
WTReference set(int index,
WTReference ref)
set(int, Object)
for further documentation.
index - ref -
List subList(int from_index,
int to_index)
List.subList(int,int)
subList in interface Listfrom_index - to_index -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||