public class JavaBinCodec.BinEntryWriter extends Object implements MapWriter.EntryWriter
| Constructor and Description |
|---|
BinEntryWriter() |
| Modifier and Type | Method and Description |
|---|---|
BiConsumer<CharSequence,Object> |
getBiConsumer() |
MapWriter.EntryWriter |
put(CharSequence k,
boolean v) |
MapWriter.EntryWriter |
put(CharSequence k,
CharSequence v)
This is an optimization to avoid the instanceof checks.
|
MapWriter.EntryWriter |
put(CharSequence k,
double v) |
MapWriter.EntryWriter |
put(CharSequence k,
float v) |
MapWriter.EntryWriter |
put(CharSequence k,
int v) |
MapWriter.EntryWriter |
put(CharSequence k,
long v) |
MapWriter.EntryWriter |
put(CharSequence k,
Object v)
Writes a key value into the map
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitput, putIfNotNull, putNoEx, putStringIfNotNullpublic MapWriter.EntryWriter put(CharSequence k, Object v) throws IOException
MapWriter.EntryWriterput in interface MapWriter.EntryWriterk - The keyv - The value can be any supported objectIOExceptionpublic MapWriter.EntryWriter put(CharSequence k, int v) throws IOException
put in interface MapWriter.EntryWriterIOExceptionpublic MapWriter.EntryWriter put(CharSequence k, long v) throws IOException
put in interface MapWriter.EntryWriterIOExceptionpublic MapWriter.EntryWriter put(CharSequence k, float v) throws IOException
put in interface MapWriter.EntryWriterIOExceptionpublic MapWriter.EntryWriter put(CharSequence k, double v) throws IOException
put in interface MapWriter.EntryWriterIOExceptionpublic MapWriter.EntryWriter put(CharSequence k, boolean v) throws IOException
put in interface MapWriter.EntryWriterIOExceptionpublic MapWriter.EntryWriter put(CharSequence k, CharSequence v) throws IOException
MapWriter.EntryWriterput in interface MapWriter.EntryWriterIOExceptionpublic BiConsumer<CharSequence,Object> getBiConsumer()
getBiConsumer in interface MapWriter.EntryWriterCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.