public class StepAndPage extends Object implements Comparable<StepAndPage>
| Constructor and Description |
|---|
StepAndPage()
Default constructor returns an unset instance
|
StepAndPage(int step,
int page)
Initialize a new StepAndPage from given step and page numbers
|
StepAndPage(String asString)
Initialize a new StepAndPage by parsing a string of the form "step.page".
|
public StepAndPage()
public StepAndPage(int step,
int page)
step - page - public StepAndPage(String asString)
asString - decimal step and page numbers separated by a period.public int getStep()
public int getPage()
public boolean isSet()
public boolean equals(Object other)
public int compareTo(StepAndPage o)
compareTo in interface Comparable<StepAndPage>Copyright © 2016 DuraSpace. All Rights Reserved.