Class DoubleSet

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

public class DoubleSet
extends AnchorBean<DoubleSet>
implements PrimitiveBeanCollection<Double>
A bean defining a set of Doubles.

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

An example:


  <datasets config-class="org.anchoranalysis.bean.primitive.DoubleSet" config-factory="doubleSet">
    <item>1.2</item>
    <item>-0.34354</item>
    <item>7.2e5</item>
 </datasets>
 
Author:
Owen Feehan