org.semanticweb.elk.util.collections
Class ArraySet<T>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<T>
org.semanticweb.elk.util.collections.ArraySet<T>
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable<T>, Collection<T>, List<T>, RandomAccess, Set<T>
public class ArraySet<T>
- extends ArrayList<T>
- implements Set<T>
- See Also:
- Serialized Form
| Methods inherited from class java.util.ArrayList |
add, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
| Methods inherited from interface java.util.Set |
clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
ArraySet
public ArraySet()
ArraySet
public ArraySet(Collection<? extends T> c)
ArraySet
public ArraySet(int initialCapacity)
add
public boolean add(T element)
- 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>
addAll
public boolean addAll(int index,
Collection<? extends T> c)
- Specified by:
addAll in interface List<T>- Overrides:
addAll in class ArrayList<T>
Copyright © 2011-2013 Department of Computer Science, University of Oxford. All Rights Reserved.