org.mvel2.util
Class FastList
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList
org.mvel2.util.FastList
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable, java.lang.Iterable, java.util.Collection, java.util.List
public class FastList
- extends java.util.AbstractList
- implements java.io.Externalizable
- See Also:
- Serialized Form
| Fields inherited from class java.util.AbstractList |
modCount |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
FastList
public FastList(int size)
FastList
public FastList(java.lang.Object[] elements)
FastList
public FastList()
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Specified by:
writeExternal in interface java.io.Externalizable
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
readExternal in interface java.io.Externalizable
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
get
public java.lang.Object get(int index)
- Specified by:
get in interface java.util.List- Specified by:
get in class java.util.AbstractList
size
public int size()
- Specified by:
size in interface java.util.Collection- Specified by:
size in interface java.util.List- Specified by:
size in class java.util.AbstractCollection
add
public boolean add(java.lang.Object o)
- Specified by:
add in interface java.util.Collection- Specified by:
add in interface java.util.List- Overrides:
add in class java.util.AbstractList
set
public java.lang.Object set(int i,
java.lang.Object o)
- Specified by:
set in interface java.util.List- Overrides:
set in class java.util.AbstractList
add
public void add(int i,
java.lang.Object o)
- Specified by:
add in interface java.util.List- Overrides:
add in class java.util.AbstractList
remove
public java.lang.Object remove(int i)
- Specified by:
remove in interface java.util.List- Overrides:
remove in class java.util.AbstractList
indexOf
public int indexOf(java.lang.Object o)
- Specified by:
indexOf in interface java.util.List- Overrides:
indexOf in class java.util.AbstractList
lastIndexOf
public int lastIndexOf(java.lang.Object o)
- Specified by:
lastIndexOf in interface java.util.List- Overrides:
lastIndexOf in class java.util.AbstractList
clear
public void clear()
- Specified by:
clear in interface java.util.Collection- Specified by:
clear in interface java.util.List- Overrides:
clear in class java.util.AbstractList
addAll
public boolean addAll(int i,
java.util.Collection collection)
- Specified by:
addAll in interface java.util.List- Overrides:
addAll in class java.util.AbstractList
iterator
public java.util.Iterator iterator()
- Specified by:
iterator in interface java.lang.Iterable- Specified by:
iterator in interface java.util.Collection- Specified by:
iterator in interface java.util.List- Overrides:
iterator in class java.util.AbstractList
listIterator
public java.util.ListIterator listIterator()
- Specified by:
listIterator in interface java.util.List- Overrides:
listIterator in class java.util.AbstractList
listIterator
public java.util.ListIterator listIterator(int i)
- Specified by:
listIterator in interface java.util.List- Overrides:
listIterator in class java.util.AbstractList
subList
public java.util.List subList(int i,
int i1)
- Specified by:
subList in interface java.util.List- Overrides:
subList in class java.util.AbstractList
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 java.util.AbstractList
hashCode
public int hashCode()
- Specified by:
hashCode in interface java.util.Collection- Specified by:
hashCode in interface java.util.List- Overrides:
hashCode in class java.util.AbstractList
removeRange
protected void removeRange(int i,
int i1)
- Overrides:
removeRange in class java.util.AbstractList
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface java.util.Collection- Specified by:
isEmpty in interface java.util.List- Overrides:
isEmpty in class java.util.AbstractCollection
contains
public boolean contains(java.lang.Object o)
- Specified by:
contains in interface java.util.Collection- Specified by:
contains in interface java.util.List- Overrides:
contains in class java.util.AbstractCollection
toArray
public java.lang.Object[] toArray()
- Specified by:
toArray in interface java.util.Collection- Specified by:
toArray in interface java.util.List- Overrides:
toArray in class java.util.AbstractCollection
toArray
public java.lang.Object[] toArray(java.lang.Object[] objects)
- Specified by:
toArray in interface java.util.Collection- Specified by:
toArray in interface java.util.List- Overrides:
toArray in class java.util.AbstractCollection
remove
public boolean remove(java.lang.Object o)
- Specified by:
remove in interface java.util.Collection- Specified by:
remove in interface java.util.List- Overrides:
remove in class java.util.AbstractCollection
containsAll
public boolean containsAll(java.util.Collection collection)
- Specified by:
containsAll in interface java.util.Collection- Specified by:
containsAll in interface java.util.List- Overrides:
containsAll in class java.util.AbstractCollection
addAll
public boolean addAll(java.util.Collection collection)
- Specified by:
addAll in interface java.util.Collection- Specified by:
addAll in interface java.util.List- Overrides:
addAll in class java.util.AbstractCollection
removeAll
public boolean removeAll(java.util.Collection collection)
- Specified by:
removeAll in interface java.util.Collection- Specified by:
removeAll in interface java.util.List- Overrides:
removeAll in class java.util.AbstractCollection
retainAll
public boolean retainAll(java.util.Collection collection)
- Specified by:
retainAll in interface java.util.Collection- Specified by:
retainAll in interface java.util.List- Overrides:
retainAll in class java.util.AbstractCollection
toString
public java.lang.String toString()
- Overrides:
toString in class java.util.AbstractCollection
Copyright © 2008. All Rights Reserved.