public class Seqno
extends java.lang.Object
Constructor and Description |
---|
Seqno(long low) |
Seqno(long num,
boolean dummy)
Only used to compare a long against a range in a TreeSet / TreeMap.
|
Modifier and Type | Method and Description |
---|---|
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
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String print()
protected boolean received()
Copyright © 1998-2020 Red Hat. All Rights Reserved.