@Test void distanceShouldReturnPositiveDistanceWhenGreaterArgument() { assertThat(_1.distance(_4)).isEqualTo(3); }
public long distance(MessageUid other) { Preconditions.checkNotNull(other); return other.uid - this.uid; }
MessageUid implements Comparable<MessageUid> { public long distance(MessageUid other) { Preconditions.checkNotNull(other); return other.uid - this.uid; } }
MessageUid implements Comparable<MessageUid> { public long distance(MessageUid other) { Preconditions.checkNotNull(other); return other.uid - this.uid; } private  MessageUid(long uid); }
MessageUid implements Comparable<MessageUid> { public long distance(MessageUid other) { Preconditions.checkNotNull(other); return other.uid - this.uid; } private  MessageUid(long uid); static MessageUid of(long uid); MessageRange toRange(); @Override int compareTo(MessageUid o); long asLong(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); MessageUid next(); boolean isFirst(); MessageUid previous(); long distance(MessageUid other); }
MessageUid implements Comparable<MessageUid> { public long distance(MessageUid other) { Preconditions.checkNotNull(other); return other.uid - this.uid; } private  MessageUid(long uid); static MessageUid of(long uid); MessageRange toRange(); @Override int compareTo(MessageUid o); long asLong(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); MessageUid next(); boolean isFirst(); MessageUid previous(); long distance(MessageUid other); static final MessageUid MAX_VALUE; static final MessageUid MIN_VALUE; }