E
- @StorableClass @StoreNotUseStandardSerialization public class PSetFromMap<E> extends PAbstractSet<E> implements Set<E>, Serializable
Constructor and Description |
---|
PSetFromMap(Map<E,Boolean> map) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(E element) |
void |
clear() |
boolean |
contains(Object object) |
boolean |
containsAll(Collection<?> collection) |
boolean |
equals(Object object) |
int |
hashCode() |
boolean |
isEmpty() |
Iterator<E> |
iterator() |
static PSetFromMap |
newInstance(IInstanceFactory instanceFactory,
Map map) |
boolean |
remove(Object object) |
boolean |
removeAll(Collection<?> collection) |
boolean |
retainAll(Collection<?> collection) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] array) |
String |
toString() |
addAll
public static PSetFromMap newInstance(IInstanceFactory instanceFactory, Map map)
public void clear()
clear
in interface Collection<E>
clear
in interface Set<E>
clear
in class PAbstractCollection<E>
public int size()
public boolean isEmpty()
isEmpty
in interface Collection<E>
isEmpty
in interface Set<E>
isEmpty
in class PAbstractCollection<E>
public boolean contains(Object object)
contains
in interface Collection<E>
contains
in interface Set<E>
contains
in class PAbstractCollection<E>
public boolean remove(Object object)
remove
in interface Collection<E>
remove
in interface Set<E>
remove
in class PAbstractCollection<E>
public boolean add(E element)
public Object[] toArray()
toArray
in interface Collection<E>
toArray
in interface Set<E>
toArray
in class PAbstractCollection<E>
public <T> T[] toArray(T[] array)
toArray
in interface Collection<E>
toArray
in interface Set<E>
toArray
in class PAbstractCollection<E>
public String toString()
toString
in class PAbstractCollection<E>
public int hashCode()
hashCode
in interface Collection<E>
hashCode
in interface Set<E>
hashCode
in class PAbstractSet<E>
public boolean equals(Object object)
equals
in interface Collection<E>
equals
in interface Set<E>
equals
in class PAbstractSet<E>
public boolean containsAll(Collection<?> collection)
containsAll
in interface Collection<E>
containsAll
in interface Set<E>
containsAll
in class PAbstractCollection<E>
public boolean removeAll(Collection<?> collection)
removeAll
in interface Collection<E>
removeAll
in interface Set<E>
removeAll
in class PAbstractSet<E>
public boolean retainAll(Collection<?> collection)
retainAll
in interface Collection<E>
retainAll
in interface Set<E>
retainAll
in class PAbstractCollection<E>
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.