public final class RevisionsKey extends java.lang.Object implements CacheValue, java.lang.Comparable<RevisionsKey>
Revision
s.Constructor and Description |
---|
RevisionsKey(RevisionVector r1,
RevisionVector r2) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
asString() |
int |
compareTo(@NotNull RevisionsKey k) |
boolean |
equals(java.lang.Object obj) |
static RevisionsKey |
fromString(java.lang.String s) |
int |
getMemory()
The estimated amount of memory used by this object, in bytes.
|
RevisionVector |
getRev1() |
RevisionVector |
getRev2() |
int |
hashCode() |
java.lang.String |
toString() |
public RevisionsKey(RevisionVector r1, RevisionVector r2)
public RevisionVector getRev1()
public RevisionVector getRev2()
public int getMemory()
CacheValue
getMemory
in interface CacheValue
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String asString()
public int compareTo(@NotNull @NotNull RevisionsKey k)
compareTo
in interface java.lang.Comparable<RevisionsKey>
public static RevisionsKey fromString(java.lang.String s)
Copyright © 2012–2022 The Apache Software Foundation. All rights reserved.