@Test public void testEqualLSN() throws Exception { LogSequenceNumber first = LogSequenceNumber.valueOf("0/15D690F8"); LogSequenceNumber second = LogSequenceNumber.valueOf("0/15D690F8"); assertThat(first, equalTo(second)); }
public static LogSequenceNumber valueOf(long value) { return new LogSequenceNumber(value); }
LogSequenceNumber implements Comparable<LogSequenceNumber> { public static LogSequenceNumber valueOf(long value) { return new LogSequenceNumber(value); } }
LogSequenceNumber implements Comparable<LogSequenceNumber> { public static LogSequenceNumber valueOf(long value) { return new LogSequenceNumber(value); } private  LogSequenceNumber(long value); }
LogSequenceNumber implements Comparable<LogSequenceNumber> { public static LogSequenceNumber valueOf(long value) { return new LogSequenceNumber(value); } private  LogSequenceNumber(long value); static LogSequenceNumber valueOf(long value); static LogSequenceNumber valueOf(String strValue); long asLong(); String asString(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); @Override int compareTo(LogSequenceNumber o); }
LogSequenceNumber implements Comparable<LogSequenceNumber> { public static LogSequenceNumber valueOf(long value) { return new LogSequenceNumber(value); } private  LogSequenceNumber(long value); static LogSequenceNumber valueOf(long value); static LogSequenceNumber valueOf(String strValue); long asLong(); String asString(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); @Override int compareTo(LogSequenceNumber o); static final LogSequenceNumber INVALID_LSN; }