public static class ConditionalMapWriter.EntryWriterWrapper extends Object implements MapWriter.EntryWriter
Constructor and Description |
---|
EntryWriterWrapper(MapWriter.EntryWriter delegate,
BiPredicate<CharSequence,Object> predicate) |
Modifier and Type | Method and Description |
---|---|
MapWriter.EntryWriter |
put(CharSequence k,
boolean v) |
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, wait
getBiConsumer, put, put, putIfNotNull, putNoEx, putStringIfNotNull
public EntryWriterWrapper(MapWriter.EntryWriter delegate, BiPredicate<CharSequence,Object> predicate)
public MapWriter.EntryWriter put(CharSequence k, Object v) throws IOException
MapWriter.EntryWriter
put
in interface MapWriter.EntryWriter
k
- The keyv
- The value can be any supported objectIOException
public MapWriter.EntryWriter put(CharSequence k, int v) throws IOException
put
in interface MapWriter.EntryWriter
IOException
public MapWriter.EntryWriter put(CharSequence k, long v) throws IOException
put
in interface MapWriter.EntryWriter
IOException
public MapWriter.EntryWriter put(CharSequence k, float v) throws IOException
put
in interface MapWriter.EntryWriter
IOException
public MapWriter.EntryWriter put(CharSequence k, double v) throws IOException
put
in interface MapWriter.EntryWriter
IOException
public MapWriter.EntryWriter put(CharSequence k, boolean v) throws IOException
put
in interface MapWriter.EntryWriter
IOException
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.