public class BytesInOut extends Object implements Comparable<BytesInOut>
| Constructor and Description | 
|---|
BytesInOut()  | 
BytesInOut(long bytesIn,
          long bytesOut)  | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
compareTo(BytesInOut other)  | 
boolean | 
equals(Object o)  | 
long | 
getBytesIn()  | 
long | 
getBytesOut()  | 
BytesInOut | 
minus(BytesInOut other)  | 
static BytesInOut | 
sum(BytesInOut a,
   BytesInOut b)  | 
static <T> BytesInOut | 
sum(com.google.common.collect.ImmutableSet<Map.Entry<Directional<T>,Double>> entrySet)  | 
static <T> BytesInOut | 
sum(List<TrafficSummary<T>> summaries)  | 
String | 
toString()  | 
public BytesInOut()
public BytesInOut(long bytesIn,
                  long bytesOut)
public static BytesInOut sum(BytesInOut a, BytesInOut b)
public static <T> BytesInOut sum(List<TrafficSummary<T>> summaries)
public BytesInOut minus(BytesInOut other)
public static <T> BytesInOut sum(com.google.common.collect.ImmutableSet<Map.Entry<Directional<T>,Double>> entrySet)
public long getBytesIn()
public long getBytesOut()
public int compareTo(BytesInOut other)
compareTo in interface Comparable<BytesInOut>Copyright © 2021. All rights reserved.