flattree.process
Class Range

java.lang.Object
  extended by flattree.process.Range

public class Range
extends Object

A range in a Line.

See Also:
Position.getIndex()

Constructor Summary
Range(int from, int to)
          Create a range for the given from and to indices.
 
Method Summary
 int getFrom()
          Get the index this range starts from.
 int getTo()
          Get the index this range reaches to.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Range

public Range(int from,
             int to)
Create a range for the given from and to indices.

Parameters:
from - from index
to - to index
Method Detail

getFrom

public int getFrom()
Get the index this range starts from.

Returns:
index

getTo

public int getTo()
Get the index this range reaches to.

Returns:
index


Copyright © 2011. All Rights Reserved.