public class SmartPairSerializer<U,V> extends AbstractSmartSerializer<com.indeed.util.core.Pair<U,V>>
| Constructor and Description |
|---|
SmartPairSerializer(SmartSerializer<U> serializer1,
SmartSerializer<V> serializer2) |
| Modifier and Type | Method and Description |
|---|---|
com.indeed.util.core.Pair<U,V> |
read(java.io.DataInput in) |
LinearDiophantineEquation |
size() |
void |
write(com.indeed.util.core.Pair<U,V> pair,
java.io.DataOutput out) |
sizeOf, skipparseFromString, print, printToStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitparseFromString, print, printToStringpublic SmartPairSerializer(SmartSerializer<U> serializer1, SmartSerializer<V> serializer2)
public void write(@Nonnull
com.indeed.util.core.Pair<U,V> pair,
java.io.DataOutput out)
throws java.io.IOException
java.io.IOExceptionpublic com.indeed.util.core.Pair<U,V> read(java.io.DataInput in) throws java.io.IOException
java.io.IOExceptionpublic LinearDiophantineEquation size()
size in interface SmartSerializer<com.indeed.util.core.Pair<U,V>>size in class AbstractSmartSerializer<com.indeed.util.core.Pair<U,V>>Copyright © 2018. All Rights Reserved.