public class MonotonicHashSet<T> extends HashSet<T>
Constructor and Description |
---|
MonotonicHashSet() |
MonotonicHashSet(Collection<T> c) |
MonotonicHashSet(T... c) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(T e) |
boolean |
addAll(Collection<? extends T> c) |
boolean |
addAllIgnoreDuplicates(Collection<? extends T> c) |
void |
clear() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
equals, hashCode
containsAll, toArray, toArray, toString
public MonotonicHashSet()
public MonotonicHashSet(Collection<T> c)
@SafeVarargs public MonotonicHashSet(T... c)
public void clear()
public boolean removeAll(Collection<?> c)
removeAll
in interface Collection<T>
removeAll
in interface Set<T>
removeAll
in class AbstractSet<T>
public boolean retainAll(Collection<?> c)
retainAll
in interface Collection<T>
retainAll
in interface Set<T>
retainAll
in class AbstractCollection<T>
public boolean addAll(Collection<? extends T> c)
addAll
in interface Collection<T>
addAll
in interface Set<T>
addAll
in class AbstractCollection<T>
public boolean addAllIgnoreDuplicates(Collection<? extends T> c)
Copyright © 2016 The Apache Software Foundation. All rights reserved.