public class MapBackedSet<E>
extends java.util.AbstractSet<E>
implements java.io.Serializable
Map
-backed Set
.Modifier and Type | Field and Description |
---|---|
protected java.util.Map<E,java.lang.Boolean> |
map |
Constructor and Description |
---|
MapBackedSet(java.util.Map<E,java.lang.Boolean> map) |
MapBackedSet(java.util.Map<E,java.lang.Boolean> map,
java.util.Collection<E> c) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(E o) |
void |
clear() |
boolean |
contains(java.lang.Object o) |
java.util.Iterator<E> |
iterator() |
boolean |
remove(java.lang.Object o) |
int |
size() |
addAll, containsAll, isEmpty, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
protected final java.util.Map<E,java.lang.Boolean> map
public MapBackedSet(java.util.Map<E,java.lang.Boolean> map)
Copyright © 2004-2019 Apache MINA Project. All Rights Reserved.