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
ConstructorsModifierConstructorDescriptionprivateRevisionRange(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 TypeMethodDescriptionintcompareTo(RevisionRange range) booleanstatic LonginthashCode()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:
compareToin interfaceComparable<RevisionRange>- Parameters:
range- The RevisionRange to compare this object to.
-