net.innig.collect
Interface MultiMap.Entry<EK,EV>

All Known Implementing Classes:
CompositeMultiMap.Entry
Enclosing interface:
MultiMap<K,V>

public static interface MultiMap.Entry<EK,EV>

Represents a single key/value pair in the multi-map.


Method Summary
 boolean equals(java.lang.Object o)
          Two entries are equal if their keys and values are equal.
 EK getKey()
          The key this entry maps from.
 EV getValue()
          The value this entry maps to.
 int hashCode()
           
 

Method Detail

getKey

EK getKey()
The key this entry maps from.


getValue

EV getValue()
The value this entry maps to.


equals

boolean equals(java.lang.Object o)
Two entries are equal if their keys and values are equal. They need not be entries in the same multi-map.

Overrides:
equals in class java.lang.Object

hashCode

int hashCode()
Overrides:
hashCode in class java.lang.Object