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) |
public T1 first()
public T2 second()
public void writeMap(MapWriter.EntryWriter ew) throws IOException
writeMap
in interface MapWriter
IOException
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.