ObjectReader.IdentityHashSet

static class IdentityHashSet<T> implements Set<T>

IdentityHashMap-backed set.

Parameters:
  • <T> – The element type.

Methods

add

public boolean add(T parKey)

addAll

public boolean addAll(Collection<? extends T> parCollection)

clear

public void clear()

contains

public boolean contains(Object parKey)

containsAll

public boolean containsAll(Collection<?> parCollection)

isEmpty

public boolean isEmpty()

iterator

public Iterator<T> iterator()

remove

public boolean remove(Object parKey)

removeAll

public boolean removeAll(Collection<?> parCollection)

retainAll

public boolean retainAll(Collection<?> parCollection)

size

public int size()

toArray

public Object[] toArray()

toArray

public <T1> T1[] toArray(T1[] parArrayClass)