- java.lang.Object
-
- com.github.fracpete.javautils.struct.MapStruct<K,V>
-
- All Implemented Interfaces:
- java.io.Serializable
public class MapStruct<K,V>
extends java.lang.Object
implements java.io.Serializable
Simple container class for key/value pairs of maps.
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields
| Modifier and Type |
Field and Description |
K |
key
the key.
|
V |
value
the value.
|
-
Constructor Summary
Constructors
| Constructor and Description |
MapStruct(K key,
V value)
Initializes the container.
|
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
Field Detail
-
key
public K key
the key.
-
value
public V value
the value.
Copyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.