private static final class WeightedFairQueueByteDistributor.StatePseudoTimeComparator extends java.lang.Object implements java.util.Comparator<WeightedFairQueueByteDistributor.State>
Modifier and Type | Field and Description |
---|---|
(package private) static WeightedFairQueueByteDistributor.StatePseudoTimeComparator |
INSTANCE |
Modifier | Constructor and Description |
---|---|
private |
StatePseudoTimeComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(WeightedFairQueueByteDistributor.State o1,
WeightedFairQueueByteDistributor.State o2) |
static final WeightedFairQueueByteDistributor.StatePseudoTimeComparator INSTANCE
public int compare(WeightedFairQueueByteDistributor.State o1, WeightedFairQueueByteDistributor.State o2)
compare
in interface java.util.Comparator<WeightedFairQueueByteDistributor.State>