org.dllearner.prolog
Class ArrayListSet<T>

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<T>
              extended by org.dllearner.prolog.ArrayListSet<T>
Type Parameters:
T -
All Implemented Interfaces:
Serializable, Cloneable, Iterable<T>, Collection<T>, List<T>, RandomAccess, Set<T>

public class ArrayListSet<T>
extends ArrayList<T>
implements Set<T>

Author:
Sebastian Bader
See Also:
Serialized Form

Constructor Summary
ArrayListSet()
           
ArrayListSet(Collection<T> c)
           
ArrayListSet(int initialCapacity)
           
 
Method Summary
 boolean add(T o)
           
 boolean addAll(Collection<? extends T> c)
           
 
Methods inherited from class java.util.ArrayList
add, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, 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
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode
 

Constructor Detail

ArrayListSet

public ArrayListSet()

ArrayListSet

public ArrayListSet(int initialCapacity)

ArrayListSet

public ArrayListSet(Collection<T> c)
Method Detail

add

public boolean add(T o)
Specified by:
add in interface Collection<T>
Specified by:
add in interface List<T>
Specified by:
add in interface Set<T>
Overrides:
add in class ArrayList<T>

addAll

public boolean addAll(Collection<? extends T> c)
Specified by:
addAll in interface Collection<T>
Specified by:
addAll in interface List<T>
Specified by:
addAll in interface Set<T>
Overrides:
addAll in class ArrayList<T>


SourceForge.net Logo DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2011 Jens Lehmann