Constructor and Description |
---|
IdentitySet() |
IdentitySet(int size) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(Object o) |
boolean |
addAll(Collection<? extends Object> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<? extends Object> c) |
boolean |
isEmpty() |
Iterator<Object> |
iterator() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<? extends Object> c) |
boolean |
retainAll(Collection<? extends Object> c) |
int |
size() |
Object[] |
toArray() |
Object[] |
toArray(Object[] a) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
equals, hashCode, spliterator
parallelStream, removeIf, stream
public int size()
public boolean isEmpty()
public boolean contains(Object o)
public Object[] toArray()
public boolean add(Object o)
public boolean remove(Object o)
public boolean addAll(Collection<? extends Object> c)
public void clear()
public boolean removeAll(Collection<? extends Object> c)
public boolean retainAll(Collection<? extends Object> c)
public boolean containsAll(Collection<? extends Object> c)
containsAll
in interface Collection<Object>
containsAll
in interface Set<Object>
Copyright © 2017 JBoss by Red Hat. All rights reserved.