Package org.apache.solr.common.util
Class Pair<T1,T2>
- java.lang.Object
- 
- org.apache.solr.common.util.Pair<T1,T2>
 
- 
- All Implemented Interfaces:
- Serializable,- MapSerializable,- MapWriter,- NavigableObject
 
 public class Pair<T1,T2> extends Object implements Serializable, MapWriter - See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface org.apache.solr.common.MapWriterMapWriter.EntryWriter
 
- 
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object that)T1first()inthashCode()static Pairparse(Map<String,?> m)T2second()StringtoString()voidwriteMap(MapWriter.EntryWriter ew)- 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface org.apache.solr.common.NavigableObject_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr, _size
 
- 
 
- 
- 
- 
Method Detail- 
firstpublic T1 first() 
 - 
secondpublic T2 second() 
 - 
writeMappublic void writeMap(MapWriter.EntryWriter ew) throws IOException - Specified by:
- writeMapin interface- MapWriter
- Throws:
- IOException
 
 
- 
 
-