java.lang.Object
net.i2p.addressbook.HostTxtIterator.MapEntry
- All Implemented Interfaces:
Map.Entry<String, HostTxtEntry>
- Enclosing class:
HostTxtIterator
private static class HostTxtIterator.MapEntryextends Object implements Map.Entry<String, HostTxtEntry>
The object returned by the iterator.
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final StringThe entry's subscription key.private final HostTxtEntryThe entry's address and timing.Constructor Summary
ConstructorsMethod Summary
Field Details
key
The entry's subscription key.value
The entry's address and timing.
Constructor Details
MapEntry
Creates an immutable map entry.- Parameters:
k- the keyv- the value
Method Details
getKey
- Specified by:
getKeyin interfaceMap.Entry<String, HostTxtEntry>
getValue
- Specified by:
getValuein interfaceMap.Entry<String, HostTxtEntry>
setValue
- Specified by:
setValuein interfaceMap.Entry<String, HostTxtEntry>
hashCode
equals