ImmutableCollection#asList that delegates contains checks to the
backing collection.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | ImmutableAsList.SerializedForm
Serialized form that leads to the same performance as the original list. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | contains(Object
element whose presence in this list is to be tested target)Overrides com. Implements java. true if this list contains the specified element.
|
| pack-priv abstract ImmutableCollection | |
| public boolean | isEmpty()
Overrides java. Implements java. true if this list contains no elements.
|
| pack-priv boolean | isPartialView()
Implements abstract com. true if this immutable collection's implementation contains references to
user-created objects that aren't accessible via this collection's methods.
|
| private void | |
| public int | size()
Implements abstract java. Implements java. |
| pack-priv Object |
| ImmutableAsList | back to summary |
|---|---|
| pack-priv ImmutableAsList() | |
| contains | back to summary |
|---|---|
| public boolean contains(Object target) Overrides com. Implements java. Doc from java. Returns | |
| delegateCollection | back to summary |
|---|---|
| pack-priv abstract ImmutableCollection | |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() Overrides java. Implements java. Doc from java. Returns
| |
| isPartialView | back to summary |
|---|---|
| pack-priv boolean isPartialView() Implements abstract com. Doc from com. Returns
| |
| readObject | back to summary |
|---|---|
| private void readObject(ObjectInputStream stream) throws InvalidObjectException Hides com.
| |
| size | back to summary |
|---|---|
| public int size() Implements abstract java. Implements java. Doc from java. Returns the number of elements in this list. If this list contains
more than
| |
| writeReplace | back to summary |
|---|---|
| pack-priv Object writeReplace() Overrides com.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final ImmutableCollection | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv Object |
| collection | back to summary |
|---|---|
| pack-priv final ImmutableCollection<?> collection | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| SerializedForm | back to summary |
|---|---|
| pack-priv SerializedForm(ImmutableCollection<?> collection) | |
| readResolve | back to summary |
|---|---|
| pack-priv Object readResolve() | |