org.apache.clerezza.rdf.core.impl.graphmatching.collections
Class IntHashSet
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
java.util.HashSet<Integer>
org.apache.clerezza.rdf.core.impl.graphmatching.collections.IntHashSet
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable<Integer>, Collection<Integer>, Set<Integer>, IntSet
public class IntHashSet
- extends HashSet<Integer>
- implements IntSet
This is currently just a placeholder implementation based onm HashSet
an efficient implementation is to store the primitives directly.
- Author:
- reto
- See Also:
- Serialized Form
| Methods inherited from interface java.util.Set |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
IntHashSet
public IntHashSet()
intIterator
public IntIterator intIterator()
- Specified by:
intIterator in interface IntSet
- Returns:
- an iterator over the primitive int
add
public void add(int i)
- Specified by:
add in interface IntSet
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.