class EntrySetFacade<O,R> extends AbstractSet<O> implements Set<O>
Modifier and Type | Field and Description |
---|---|
private ReferenceQueuingFactory<O,R> |
factory |
private Set<R> |
set |
Constructor and Description |
---|
EntrySetFacade(Set<R> set,
ReferenceQueuingFactory<O,R> wf) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(O e) |
void |
clear() |
boolean |
isEmpty() |
Iterator<O> |
iterator() |
int |
size() |
equals, hashCode, removeAll
addAll, contains, containsAll, remove, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, contains, containsAll, equals, hashCode, remove, removeAll, retainAll, spliterator, toArray, toArray
parallelStream, removeIf, stream
private ReferenceQueuingFactory<O,R> factory
EntrySetFacade(Set<R> set, ReferenceQueuingFactory<O,R> wf)
public int size()
size
in interface Collection<O>
size
in interface Set<O>
size
in class AbstractCollection<O>
public boolean isEmpty()
isEmpty
in interface Collection<O>
isEmpty
in interface Set<O>
isEmpty
in class AbstractCollection<O>
public void clear()
clear
in interface Collection<O>
clear
in interface Set<O>
clear
in class AbstractCollection<O>
public boolean add(O e)
add
in interface Collection<O>
add
in interface Set<O>
add
in class AbstractCollection<O>
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.