Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


com.tangosol.util
Class InflatableList

java.lang.Object
  extended by java.util.AbstractCollection
      extended by com.tangosol.util.InflatableCollection
          extended by 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

Nested Class Summary

 

Nested classes/interfaces inherited from class com.tangosol.util.InflatableCollection
InflatableCollection.InflatedCollection

 

Field Summary

 

Fields inherited from class com.tangosol.util.InflatableCollection
m_refValue, NO_VALUE

 

Constructor Summary
InflatableList()
           

 

Method Summary
 void add(int i, java.lang.Object o)
          
 boolean addAll(int i, java.util.Collection col)
          
 boolean equals(java.lang.Object o)
          
 java.lang.Object get(int i)
          
 int hashCode()
          
 int indexOf(java.lang.Object o)
          
protected  InflatableCollection.InflatedCollection instantiateCollection()
          Factory method used to create a new Collection.
 int lastIndexOf(java.lang.Object o)
          
 java.util.ListIterator listIterator()
          
 java.util.ListIterator listIterator(int i)
          
 java.lang.Object remove(int i)
          
 java.lang.Object set(int i, java.lang.Object o)
          
 java.util.List subList(int iFrom, int iTo)
          

 

Methods inherited from class com.tangosol.util.InflatableCollection
add, clear, contains, iterator, remove, removeAll, retainAll, size, toArray, toArray

 

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

 

Constructor Detail

InflatableList

public InflatableList()

Method Detail

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

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.