public class Pair<T1,T2> extends Object implements Serializable, MapWriter
MapWriter.EntryWriter
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object that) |
T1 |
first() |
int |
hashCode() |
static Pair |
parse(Map m) |
T2 |
second() |
String |
toString() |
void |
writeMap(MapWriter.EntryWriter ew) |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr
public T1 first()
public T2 second()
public void writeMap(MapWriter.EntryWriter ew) throws IOException
writeMap
in interface MapWriter
IOException
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.