Class IntegerSet

Object
org.anchoranalysis.bean.AnchorBean<IntegerSet>
org.anchoranalysis.bean.primitive.IntegerSet
All Implemented Interfaces:
Iterable<Integer>, PrimitiveBeanCollection<Integer>

public class IntegerSet
extends AnchorBean<IntegerSet>
implements PrimitiveBeanCollection<Integer>
A bean defining a set of Integers.

The elements are stored internally in a consistent ordering, according to their natural comparator.

An example:


  <datasets config-class="org.anchoranalysis.bean.primitive.IntegerSet" config-factory="integerSet">
    <item>1</item>
    <item>-4</item>
    <item>8</item>
 </datasets>
 
Author:
Owen Feehan