org.apache.mina.util
Class IdentityHashSet
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet
org.apache.mina.util.IdentityHashSet
- All Implemented Interfaces:
- Iterable, Collection, Set
public class IdentityHashSet
- extends AbstractSet
An IdentityHashMap-backed Set.
- Version:
- $Rev: 436993 $, $Date: 2006-08-26 00:36:56 +0200 (Sat, 26 Aug 2006) $
- Author:
- The Apache Directory Project (mina-dev@directory.apache.org)
IdentityHashSet
public IdentityHashSet()
IdentityHashSet
public IdentityHashSet(Collection c)
size
public int size()
- Specified by:
size in interface Collection- Specified by:
size in interface Set- Specified by:
size in class AbstractCollection
contains
public boolean contains(Object o)
- Specified by:
contains in interface Collection- Specified by:
contains in interface Set- Overrides:
contains in class AbstractCollection
iterator
public Iterator iterator()
- Specified by:
iterator in interface Iterable- Specified by:
iterator in interface Collection- Specified by:
iterator in interface Set- Specified by:
iterator in class AbstractCollection
add
public boolean add(Object arg0)
- Specified by:
add in interface Collection- Specified by:
add in interface Set- Overrides:
add in class AbstractCollection
remove
public boolean remove(Object o)
- Specified by:
remove in interface Collection- Specified by:
remove in interface Set- Overrides:
remove in class AbstractCollection
clear
public void clear()
- Specified by:
clear in interface Collection- Specified by:
clear in interface Set- Overrides:
clear in class AbstractCollection
Copyright © 2004-2010 Apache MINA Project. All Rights Reserved.