public class DefaultMutableTuple extends DefaultTuple implements MutableTuple
DefaultTuple that also allows tuple mutation.
Note that this implementation is not threadsafe.
configurableConversionService, names, tupleToStringConverter, values| Constructor and Description |
|---|
DefaultMutableTuple(List<String> names,
List<Object> values,
org.springframework.core.convert.support.ConfigurableConversionService configurableConversionService)
Construct a new DefaultMutableTuple, given a list of names and object values along
with a conversion service.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setValue(int index,
Object value)
Sets the value of an already existing property, given its index.
|
void |
setValue(String name,
Object value)
Sets the value of a property, by name.
|
equals, getBigDecimal, getBigDecimal, getBigDecimal, getBigDecimal, getBoolean, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getByte, getChar, getChar, getConversionService, getDate, getDate, getDate, getDate, getDateWithPattern, getDateWithPattern, getDateWithPattern, getDateWithPattern, getDouble, getDouble, getDouble, getDouble, getFieldCount, getFieldNames, getFieldTypes, getFloat, getFloat, getFloat, getFloat, getInt, getInt, getInt, getInt, getLong, getLong, getLong, getLong, getRawString, getRawString, getShort, getShort, getShort, getShort, getString, getString, getTuple, getTuple, getValue, getValue, getValue, getValue, getValues, hasFieldName, hashCode, indexOf, select, setTupleToStringConverter, size, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetBigDecimal, getBigDecimal, getBigDecimal, getBigDecimal, getBoolean, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getByte, getChar, getChar, getDate, getDate, getDate, getDate, getDateWithPattern, getDateWithPattern, getDateWithPattern, getDateWithPattern, getDouble, getDouble, getDouble, getDouble, getFieldCount, getFieldNames, getFieldTypes, getFloat, getFloat, getFloat, getFloat, getInt, getInt, getInt, getInt, getLong, getLong, getLong, getLong, getRawString, getRawString, getShort, getShort, getShort, getShort, getString, getString, getTuple, getTuple, getValue, getValue, getValue, getValue, getValues, hasFieldName, select, sizepublic DefaultMutableTuple(List<String> names, List<Object> values, org.springframework.core.convert.support.ConfigurableConversionService configurableConversionService)
names - The list of String names to associate with the list of Object valuesvalues - The list of Object values to associate with the list of String namesconfigurableConversionService - A conversion service instance that can Converting strings to Java types.public void setValue(int index,
Object value)
MutableTuplesetValue in interface MutableTuplepublic void setValue(String name, Object value)
MutableTuplesetValue in interface MutableTupleCopyright © 2016 Pivotal Software, Inc.. All rights reserved.