public final class HybridArrayHashSet<V> extends Object implements Set<V>
| Constructor and Description |
|---|
HybridArrayHashSet()
Constructs a new hybrid set.
|
HybridArrayHashSet(Collection<V> m)
Constructs a new hybrid set from the given collection.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(V e) |
boolean |
addAll(Collection<? extends V> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isEmpty() |
Iterator<V> |
iterator() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
String |
toString() |
public HybridArrayHashSet()
public HybridArrayHashSet(Collection<V> m)
public boolean add(V e)
public boolean addAll(Collection<? extends V> c)
public void clear()
public boolean contains(Object o)
public boolean containsAll(Collection<?> c)
containsAll in interface Collection<V>containsAll in interface Set<V>public boolean equals(Object obj)
public int hashCode()
public boolean isEmpty()
public boolean remove(Object o)
public boolean removeAll(Collection<?> c)
public boolean retainAll(Collection<?> c)
public int size()
public Object[] toArray()
public <T> T[] toArray(T[] a)
Copyright © 2012 Aarhus University