istack common utility code 2.6.1-redhat-2

com.sun.istack
Class FinalArrayList<T>

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<T>
              extended by com.sun.istack.FinalArrayList<T>
All Implemented Interfaces:
Serializable, Cloneable, Iterable<T>, Collection<T>, List<T>, RandomAccess

public final class FinalArrayList<T>
extends ArrayList<T>

ArrayList with the final keyword.

This gives HotSpot a better hint that all methods can be inlined.

Author:
Kohsuke Kawaguchi
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
FinalArrayList()
           
FinalArrayList(Collection<? extends T> ts)
           
FinalArrayList(int initialCapacity)
           
 
Method Summary
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode
 
Methods inherited from class java.util.AbstractCollection
containsAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode
 

Constructor Detail

FinalArrayList

public FinalArrayList(int initialCapacity)

FinalArrayList

public FinalArrayList()

FinalArrayList

public FinalArrayList(Collection<? extends T> ts)

istack common utility code 2.6.1-redhat-2

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.