intarsys runtime library

de.intarsys.tools.range
Class DefinedRange

java.lang.Object
  extended by de.intarsys.tools.range.DefinedRange
All Implemented Interfaces:
IRange

public class DefinedRange
extends Object
implements IRange


Constructor Summary
DefinedRange(NumberWrapper value)
           
 
Method Summary
static DefinedRange create(int index)
           
static DefinedRange create(List<Integer> indices)
           
static DefinedRange create(String stringValue)
           
 List<Integer> getIndices(int current, int count)
           
 NumberWrapper getValue()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefinedRange

public DefinedRange(NumberWrapper value)
Method Detail

create

public static DefinedRange create(int index)

create

public static DefinedRange create(List<Integer> indices)

create

public static DefinedRange create(String stringValue)
                           throws IOException
Throws:
IOException

getIndices

public List<Integer> getIndices(int current,
                                int count)
Specified by:
getIndices in interface IRange

getValue

public NumberWrapper getValue()

intarsys runtime library

Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.