net.innig.collect
Class CompositeMultiMap.Entry<EK,EV>
java.lang.Object
net.innig.collect.CompositeMultiMap.Entry<EK,EV>
- All Implemented Interfaces:
- MultiMap.Entry<EK,EV>
- Enclosing class:
- CompositeMultiMap<K,V>
public class CompositeMultiMap.Entry<EK,EV>
- extends java.lang.Object
- implements MultiMap.Entry<EK,EV>
|
Method Summary |
boolean |
equals(java.lang.Object other)
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()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
CompositeMultiMap.Entry
public CompositeMultiMap.Entry(EK key,
EV value)
getKey
public EK getKey()
- Description copied from interface:
MultiMap.Entry
- The key this entry maps from.
- Specified by:
getKey in interface MultiMap.Entry<EK,EV>
getValue
public EV getValue()
- Description copied from interface:
MultiMap.Entry
- The value this entry maps to.
- Specified by:
getValue in interface MultiMap.Entry<EK,EV>
equals
public boolean equals(java.lang.Object other)
- Description copied from interface:
MultiMap.Entry
- Two entries are equal if their keys and values are equal. They
need not be entries in the same multi-map.
- Specified by:
equals in interface MultiMap.Entry<EK,EV>- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Specified by:
hashCode in interface MultiMap.Entry<EK,EV>- Overrides:
hashCode in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object