Top Description Constructors Methods
org.hsqldb.lib

public Class OrderedIntHashSet

extends IntHashSet
Class Inheritance

A list which is also a set of int primitives which maintains the insertion order of the elements and allows access by index. Iterators return the keys in the index order.
Author
Fred Toussi (fredt@users dot sourceforge.net)
Since
1.9.0
Version
2.7.3

Constructor Summary

AccessConstructor and Description
public
public
OrderedIntHashSet(int initialCapacity)

public
OrderedIntHashSet(int[] elements)

public
OrderedIntHashSet(int[] elementsA, int[] elementsB)

public
OrderedIntHashSet(int[] elementsA, int[] elementsB, int[] elementsC)

Method Summary

Modifier and TypeMethod and Description
public boolean
private void
checkRange(int i)

public int
get(int index)

public int
getIndex(int value)

public int
public boolean
insert(int index, int key)

public boolean
public void
removeEntry(int index)

Inherited from org.hsqldb.lib.IntHashSet:
addaddaddAlladdAlladdAllcontainscontainscontainsAllgetStartMatchCountiteratorremoveAllretainAlltoArraytoArray

Constructor Detail

OrderedIntHashSetback to summary
public OrderedIntHashSet()
OrderedIntHashSetback to summary
public OrderedIntHashSet(int initialCapacity) throws IllegalArgumentException
OrderedIntHashSetback to summary
public OrderedIntHashSet(int[] elements)
OrderedIntHashSetback to summary
public OrderedIntHashSet(int[] elementsA, int[] elementsB)
OrderedIntHashSetback to summary
public OrderedIntHashSet(int[] elementsA, int[] elementsB, int[] elementsC)

Method Detail

addAllback to summary
public boolean addAll(OrderedIntHashSet set)
checkRangeback to summary
private void checkRange(int i)
getback to summary
public int get(int index)
getIndexback to summary
public int getIndex(int value)
getOrderedStartMatchCountback to summary
public int getOrderedStartMatchCount(int[] array)
insertback to summary
public boolean insert(int index, int key) throws IndexOutOfBoundsException
removeback to summary
public boolean remove(int key)

Overrides org.hsqldb.lib.IntHashSet.remove.

removeEntryback to summary
public void removeEntry(int index) throws IndexOutOfBoundsException