Class RevisionRange
java.lang.Object
org.apache.subversion.javahl.types.RevisionRange
- All Implemented Interfaces:
Serializable
,Comparable<RevisionRange>
Object that describes a revision range
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
RevisionRange
(long from, long to) Creates a new instance.RevisionRange
(String revisionElement) Accepts a string in one of these forms: n m-n Parses the results into a from and to revisionRevisionRange
(Revision from, Revision to) -
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(RevisionRange range) boolean
static Long
int
hashCode()
toString()
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
from
-
to
-
-
Constructor Details
-
RevisionRange
private RevisionRange(long from, long to) Creates a new instance. Called by native library. -
RevisionRange
-
RevisionRange
Accepts a string in one of these forms: n m-n Parses the results into a from and to revision- Parameters:
revisionElement
- revision range or single revision
-
-
Method Details
-
getFromRevision
-
getToRevision
-
toString
-
getRevisionAsLong
-
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareTo
in interfaceComparable<RevisionRange>
- Parameters:
range
- The RevisionRange to compare this object to.
-