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