java.lang.Object
net.i2p.router.transport.GeoIPv6.V6Entry
- All Implemented Interfaces:
Comparable<GeoIPv6.V6Entry>
- Enclosing class:
GeoIPv6
Used to temporarily hold, sort, and merge entries before compressing.
Field Summary
Constructor Summary
Method Summary
All Methods
Field Details
from
public final long fromFirst address of the range, as a long.to
public final long toLast address of the range, as a long.cc
Two letter country code of the range.
Constructor Details
V6Entry
Builds one range from address bytes.- Parameters:
f- the first address of the ranget- the last address of the rangec- the two letter country code
V6Entry
Builds one range from long addresses.- Parameters:
f- the first address as a longt- the last address as a longc- the two letter country code
Method Details
compareTo
Two's complement.- Specified by:
compareToin interfaceComparable<GeoIPv6.V6Entry>
hashCode
equals
toString