public static class ConditionalMapWriter.EntryWriterWrapper extends Object implements MapWriter.EntryWriter
| 构造器和说明 |
|---|
EntryWriterWrapper(MapWriter.EntryWriter delegate,
BiPredicate<CharSequence,Object> predicate) |
| 限定符和类型 | 方法和说明 |
|---|---|
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, waitgetBiConsumer, put, put, putIfNotNull, putNoEx, putStringIfNotNullpublic EntryWriterWrapper(MapWriter.EntryWriter delegate, BiPredicate<CharSequence,Object> predicate)
public MapWriter.EntryWriter put(CharSequence k, Object v) throws IOException
MapWriter.EntryWriterput 在接口中 MapWriter.EntryWriterk - The keyv - The value can be any supported objectIOExceptionpublic MapWriter.EntryWriter put(CharSequence k, int v) throws IOException
put 在接口中 MapWriter.EntryWriterIOExceptionpublic MapWriter.EntryWriter put(CharSequence k, long v) throws IOException
put 在接口中 MapWriter.EntryWriterIOExceptionpublic MapWriter.EntryWriter put(CharSequence k, float v) throws IOException
put 在接口中 MapWriter.EntryWriterIOExceptionpublic MapWriter.EntryWriter put(CharSequence k, double v) throws IOException
put 在接口中 MapWriter.EntryWriterIOExceptionpublic MapWriter.EntryWriter put(CharSequence k, boolean v) throws IOException
put 在接口中 MapWriter.EntryWriterIOExceptionCopyright © 2006–2022 The Apache Software Foundation. All rights reserved.