abstract static class BridgeCollections.EmptyBridgeList<E> extends AbstractList<E> implements BridgeList<E>, Serializable
modCount| Constructor and Description |
|---|
EmptyBridgeList() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(Object obj) |
E |
get(int i) |
Map<Object,Object> |
getProperties()
Returns an (unmodifiable) view on all properties of this list (See
BridgeList.getProperty(java.lang.Object)). |
Object |
getProperty(Object key)
Retrieves a property previously set for this list.
|
void |
setProperty(Object key,
Object value)
Sets a property for this list.
|
int |
size() |
void |
sort()
Sorts this list according to a default sort order.
|
void |
sort(Comparator<? super E> comparator)
Sorts this list according to a specified sort order
|
BridgeList<E> |
subList(int fromIndex,
int toIndex) |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, setaddAll, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, add, addAll, addAll, clear, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, spliterator, toArray, toArrayparallelStream, removeIf, streampublic final int size()
size in interface Collection<E>size in interface List<E>size in class AbstractCollection<E>public E get(int i)
public boolean contains(Object obj)
contains in interface Collection<E>contains in interface List<E>contains in class AbstractCollection<E>public Object getProperty(Object key)
BridgeListgetProperty in interface BridgeList<E>key - the key of the propertypublic Map<Object,Object> getProperties()
BridgeListBridgeList.getProperty(java.lang.Object)).getProperties in interface BridgeList<E>public BridgeList<E> subList(int fromIndex, int toIndex)
subList in interface List<E>subList in interface BridgeList<E>subList in class AbstractList<E>public void setProperty(Object key, Object value)
BridgeListsetProperty in interface BridgeList<E>key - the key of the propertyvalue - the property valuepublic void sort()
BridgeListsort in interface BridgeList<E>public void sort(Comparator<? super E> comparator)
BridgeListMMBase 1.9-SNAPSHOT - ${javadoctimestamp}