Class IntegerList

All Implemented Interfaces:
Iterable<Integer>, PrimitiveBeanCollection<Integer>

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

An example:


    <datasets config-class="org.anchoranalysis.bean.primitive.IntegerList" config-factory="integerList">
 	    <item>1</item>
 	    <item>-4</item>
 	    <item>8</item>
   </datasets>
 
Author:
Owen Feehan
  • Constructor Details

    • IntegerList

      public IntegerList(Integer... values)
      Constructs with one or more values added to the list.
      Parameters:
      values - the values
  • Method Details