public class PDSItem
extends java.lang.Object
PDSLabel
of one or more elements.Modifier and Type | Field and Description |
---|---|
int |
mEnd
The index of the end element of the item
|
int |
mStart
The index of the first element of the item
|
Constructor and Description |
---|
PDSItem()
Creates an instance of a PDSItem
|
Modifier and Type | Method and Description |
---|---|
void |
empty()
Clears all settings of the item.
|
boolean |
isValid()
Determines if a PDSItem is valid.
|
java.lang.String |
toString()
Outputs validity, and if valid the start index and end index
|
boolean |
valid()
Determines if a PDSItem is valid.
|
public int mStart
public int mEnd
public boolean valid()
PDSLabel
.true
if a range is set.
false
is no range is set.public boolean isValid()
PDSLabel
.true
if a range is set.
false
is no range is set.public void empty()
public java.lang.String toString()
toString
in class java.lang.Object