Interface SODataWrapper
- All Superinterfaces:
AbstractData<String,,Object> ContentOnlyData<String,,Object> Datable,DataWrapper<String,,Object> Iterable<Entry<String,,Object>> SAOData<Object>,SAODatable,SAODataWrapper<Object>,SOData,SODatable
- All Known Implementing Classes:
SODataWrapperImpl
-
Field Summary
Fields inherited from interface de.linusdev.data.AbstractData
PARSER -
Method Summary
Methods inherited from interface de.linusdev.data.AbstractData
addAndGet, addIfNotNull, addIfOptionalExists, addOrReplace, clear, computeIfAbsent, computeIfAbsentOrNull, convertAndProcessIfContained, convertAndProcessIfContainedAndRequireNotNull, convertAndProcessListIfContained, convertWithExceptionAndProcessIfContained, convertWithExceptionAndProcessIfContainedAndRequireNotNull, convertWithExceptionAndProcessListIfContained, get, get, get, getAndConvert, getAndConvert, getAndConvertOrDefault, getAndConvertOrDefaultBoth, getAndConvertWithException, getAndConvertWithException, getAndRequireNotNull, getAndRequireNotNullAndConvert, getAndRequireNotNullAndConvertWithException, getAs, getAs, getAs, getAsAndRequireNotNull, getContainer, getList, getList, getListAndConvert, getListAndConvertAndFreeMemory, getListAndConvertWithException, getListAndConvertWithExceptionAndFreeMemory, getNumberAsByte, getNumberAsDouble, getNumberAsFloat, getNumberAsInt, getNumberAsLong, getNumberAsShort, getOptionalValue, getOptionalValueAndConvert, getOptionalValueAndConvertWithException, getOrDefault, getOrDefault, getOrDefaultBoth, processIfContained, processIfContainedAndRequireNotNull, processIfNotNull, processListIfContained, toJsonString, toRecordMethods inherited from interface de.linusdev.data.ContentOnlyData
getParseTypeMethods inherited from interface de.linusdev.data.DataWrapper
addEntry, get, getEntry, getKey, isEmpty, iterator, remove, set, sizeMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
add
@NotNull default @NotNull SOData add(@NotNull @NotNull String key, @Nullable @Nullable Object value) Description copied from interface:AbstractDataAdds a newEntry.
This method might not check, if a
Entrywith given key already exits. Depending on the implementation, this might even override existing mappings (for ExampleSODataMapImpl).- Specified by:
addin interfaceAbstractData<String,Object> - Specified by:
addin interfaceDataWrapper<String,Object> - Specified by:
addin interfaceSAOData<Object>- Specified by:
addin interfaceSAODataWrapper<Object>- Specified by:
addin interfaceSOData- Parameters:
key- keyvalue- value- Returns:
- this
-