org.extex.core
Class UnicodeCharList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<UnicodeChar>
              extended by org.extex.core.UnicodeCharList
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<UnicodeChar>, java.util.Collection<UnicodeChar>, java.util.List<UnicodeChar>, java.util.RandomAccess

public class UnicodeCharList
extends java.util.ArrayList<UnicodeChar>

This class provides a list of UnicodeChars.

Version:
$Revision:5417 $
Author:
Gerd Neugebauer, Michael Niedermair
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
UnicodeCharList()
          Create a new object.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Indicates whether some other object is "equal to" this one.
 int hashCode()
          Returns a hash code value for the object.
 java.lang.String toString()
          Return the UnicodeCharList as String.
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

UnicodeCharList

public UnicodeCharList()
Create a new object. This list is initially empty.

Method Detail

equals

public boolean equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one.

Specified by:
equals in interface java.util.Collection<UnicodeChar>
Specified by:
equals in interface java.util.List<UnicodeChar>
Overrides:
equals in class java.util.AbstractList<UnicodeChar>
Parameters:
obj - the reference object with which to compare.
Returns:
true if this object is the same as the obj argument; false otherwise.
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
Returns a hash code value for the object.

Specified by:
hashCode in interface java.util.Collection<UnicodeChar>
Specified by:
hashCode in interface java.util.List<UnicodeChar>
Overrides:
hashCode in class java.util.AbstractList<UnicodeChar>
Returns:
a hash code value for this object
See Also:
Object.hashCode()

toString

public java.lang.String toString()
Return the UnicodeCharList as String.

Overrides:
toString in class java.util.AbstractCollection<UnicodeChar>
Returns:
the string of the list