Class SimpleEntry<T>
- java.lang.Object
-
- org.opennms.features.vaadin.jmxconfiggenerator.data.SimpleEntry<T>
-
- All Implemented Interfaces:
java.util.Map.Entry<T,T>
public class SimpleEntry<T> extends java.lang.Object implements java.util.Map.Entry<T,T>
Straight forward implementation ofMap.Entry
.
Note: Does not support null keys.- Author:
- Markus von RĂ¼den
-
-
Constructor Summary
Constructors Constructor Description SimpleEntry(T key)
SimpleEntry(T key, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Returns the result ofthis.key.equals(that.key) && this.value.equals(that.value)
.T
getKey()
T
getValue()
int
hashCode()
T
setValue(T value)
java.lang.String
toString()
-