public class GenericSplit extends Object implements Split, SplitLocation
GenericSplit is simple implementation of
 Split and SplitLocation storing needed
 information as it is.| Constructor and Description | 
|---|
| GenericSplit()Instantiates a new generic split. | 
| GenericSplit(long start,
            long length,
            String[] locations)Instantiates a new generic split. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object obj) | 
| long | getEnd()Gets the split end position. | 
| long | getLength()Gets the split length. | 
| String[] | getLocations()Gets the locations of a split. | 
| long | getStart()Gets the split start position. | 
| int | hashCode() | 
| void | setLength(long length) | 
| void | setStart(long start) | 
public GenericSplit()
public GenericSplit(long start,
            long length,
            String[] locations)
start - the split startlength - the split lengthlocations - the split locationspublic long getStart()
Splitpublic long getLength()
Splitpublic long getEnd()
Splitpublic void setStart(long start)
public void setLength(long length)
public String[] getLocations()
SplitLocationgetLocations in interface SplitLocation