Package org.apache.calcite.runtime
Class MapEntry<T,U>
java.lang.Object
org.apache.calcite.runtime.MapEntry<T,U>
- Type Parameters:
T
- Key typeU
- Value type
- All Implemented Interfaces:
Map.Entry<T,
U>
Simple implementation of
Map.Entry
.
It is immutable.
Key and value may be null if their types allow.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MapEntry
Creates a MapEntry.
-
-
Method Details
-
toString
-
equals
Compares equal to any
Map.Entry
with the equal key and value. -
hashCode
public int hashCode()Computes hash code consistent with
Map.Entry.hashCode()
. -
getKey
-
getValue
-
setValue
-