public class Seqno
extends java.lang.Object
构造器和说明 |
---|
Seqno(long low) |
Seqno(long num,
boolean dummy)
Only used to compare a long against a range in a TreeSet / TreeMap.
|
限定符和类型 | 方法和说明 |
---|---|
void |
clear(long num) |
boolean |
contains(long num) |
boolean |
equals(java.lang.Object obj) |
boolean |
get(long num) |
long |
getLow() |
java.util.Collection<Range> |
getMessagesToRetransmit() |
int |
getNumberOfMissingMessages() |
int |
getNumberOfReceivedMessages() |
int |
hashCode() |
boolean |
isDummy() |
java.lang.String |
print() |
protected boolean |
received() |
void |
set(long num) |
int |
size() |
java.lang.String |
toString() |
public static final byte DUMMY
public static final byte RECEIVED
public Seqno(long low)
public Seqno(long num, boolean dummy)
num
- dummy
- public boolean isDummy()
public long getLow()
public boolean contains(long num)
public boolean get(long num)
public void set(long num)
public void clear(long num)
public int getNumberOfReceivedMessages()
public int getNumberOfMissingMessages()
public int size()
public java.util.Collection<Range> getMessagesToRetransmit()
public int hashCode()
hashCode
在类中 java.lang.Object
public boolean equals(java.lang.Object obj)
equals
在类中 java.lang.Object
public java.lang.String toString()
toString
在类中 java.lang.Object
public java.lang.String print()
protected boolean received()