Skip navigation links
com.tangosol.util
Class InflatableList
java.lang.Object
java.util.AbstractCollection
com.tangosol.util.InflatableCollection
com.tangosol.util.InflatableList
- All Implemented Interfaces:
- java.lang.Iterable, java.util.Collection, java.util.List
-
public class InflatableList
- extends InflatableCollection
- implements java.util.List
A List specialization of InflatableCollection.
- Since:
- Coherence 3.6
- Author:
- ch 2009.11.22
Methods inherited from class java.util.AbstractCollection |
addAll, containsAll, isEmpty, toString |
Methods inherited from interface java.util.List |
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
InflatableList
public InflatableList()
equals
public boolean equals(java.lang.Object o)
-
- Specified by:
equals
in interface java.util.Collection
- Specified by:
equals
in interface java.util.List
- Overrides:
equals
in class InflatableCollection
hashCode
public int hashCode()
-
- Specified by:
hashCode
in interface java.util.Collection
- Specified by:
hashCode
in interface java.util.List
- Overrides:
hashCode
in class InflatableCollection
add
public void add(int i,
java.lang.Object o)
-
- Specified by:
add
in interface java.util.List
remove
public java.lang.Object remove(int i)
-
- Specified by:
remove
in interface java.util.List
addAll
public boolean addAll(int i,
java.util.Collection col)
-
- Specified by:
addAll
in interface java.util.List
get
public java.lang.Object get(int i)
-
- Specified by:
get
in interface java.util.List
indexOf
public int indexOf(java.lang.Object o)
-
- Specified by:
indexOf
in interface java.util.List
lastIndexOf
public int lastIndexOf(java.lang.Object o)
-
- Specified by:
lastIndexOf
in interface java.util.List
listIterator
public java.util.ListIterator listIterator()
-
- Specified by:
listIterator
in interface java.util.List
listIterator
public java.util.ListIterator listIterator(int i)
-
- Specified by:
listIterator
in interface java.util.List
set
public java.lang.Object set(int i,
java.lang.Object o)
-
- Specified by:
set
in interface java.util.List
subList
public java.util.List subList(int iFrom,
int iTo)
-
- Specified by:
subList
in interface java.util.List
instantiateCollection
protected InflatableCollection.InflatedCollection instantiateCollection()
- Factory method used to create a new Collection. The returned Collection must provide a "safe" iterator.
-
- Specified by:
instantiateCollection
in class InflatableCollection
-
- Returns:
- a "real" implementation to use if this collection is expanded
Skip navigation links
Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.