org.writersforge.catalan.process.workers.partition
Class PartitionRange

java.lang.Object
  extended byorg.writersforge.catalan.process.workers.partition.PartitionRange

public class PartitionRange
extends java.lang.Object

Index and partition type info for a single partition.

Author:
jsheets

Constructor Summary
PartitionRange(java.lang.String type, int startIndex, int endIndex)
          Creates a new instance of PartitionRange.
 
Method Summary
 int getEndIndex()
          Retrieves the ending index of this partition.
 int getStartIndex()
          Retrieves the starting index of this partition.
 java.lang.String getType()
          Retrieves the partition type name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PartitionRange

public PartitionRange(java.lang.String type,
                      int startIndex,
                      int endIndex)
Creates a new instance of PartitionRange.

Parameters:
type - partition type
startIndex - start index
endIndex - end index
Method Detail

getType

public final java.lang.String getType()
Retrieves the partition type name.

Returns:
partition type

getStartIndex

public final int getStartIndex()
Retrieves the starting index of this partition.

Returns:
start index

getEndIndex

public final int getEndIndex()
Retrieves the ending index of this partition.

Returns:
end index