public static interface MapWriter.EntryWriter
put
more than once
for the same key.Modifier and Type | Method and Description |
---|---|
default MapWriter.EntryWriter |
put(String k,
boolean v) |
default MapWriter.EntryWriter |
put(String k,
double v) |
default MapWriter.EntryWriter |
put(String k,
float v) |
default MapWriter.EntryWriter |
put(String k,
int v) |
default MapWriter.EntryWriter |
put(String k,
long v) |
MapWriter.EntryWriter |
put(String k,
Object v)
Writes a key value into the map
|
default MapWriter.EntryWriter |
putIfNotNull(String k,
Object v) |
default MapWriter.EntryWriter |
putNoEx(String k,
Object v) |
MapWriter.EntryWriter put(String k, Object v) throws IOException
k
- The keyv
- The value can be any supported objectIOException
default MapWriter.EntryWriter putNoEx(String k, Object v)
default MapWriter.EntryWriter putIfNotNull(String k, Object v) throws IOException
IOException
default MapWriter.EntryWriter put(String k, int v) throws IOException
IOException
default MapWriter.EntryWriter put(String k, long v) throws IOException
IOException
default MapWriter.EntryWriter put(String k, float v) throws IOException
IOException
default MapWriter.EntryWriter put(String k, double v) throws IOException
IOException
default MapWriter.EntryWriter put(String k, boolean v) throws IOException
IOException
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.