public void putTypedProperties(final TypedProperties otherProps) { if (otherProps == null || otherProps.properties == null) { return; } checkCreateProperties(); Set<Entry<SimpleString, PropertyValue>> otherEntries = otherProps.properties.entrySet(); for (Entry<SimpleString, PropertyValue> otherEntry : otherEntries) { doPutValue(otherEntry.getKey(), otherEntry.getValue()); } }
public void putBooleanProperty(final SimpleString key, final boolean value) { checkCreateProperties(); doPutValue(key, BooleanValue.of(value)); }
public void putNullValue(final SimpleString key) { checkCreateProperties(); doPutValue(key, NullValue.INSTANCE); }
public void putByteProperty(final SimpleString key, final byte value) { checkCreateProperties(); doPutValue(key, ByteValue.valueOf(value)); }
public void putShortProperty(final SimpleString key, final short value) { checkCreateProperties(); doPutValue(key, new ShortValue(value)); }
public void putLongProperty(final SimpleString key, final long value) { checkCreateProperties(); doPutValue(key, new LongValue(value)); }
public void putFloatProperty(final SimpleString key, final float value) { checkCreateProperties(); doPutValue(key, new FloatValue(value)); }
public void putSimpleStringProperty(final SimpleString key, final SimpleString value) { checkCreateProperties(); doPutValue(key, value == null ? NullValue.INSTANCE : new StringValue(value)); }
public void putBytesProperty(final SimpleString key, final byte[] value) { checkCreateProperties(); doPutValue(key, value == null ? NullValue.INSTANCE : new BytesValue(value)); }
public void putIntProperty(final SimpleString key, final int value) { checkCreateProperties(); doPutValue(key, new IntValue(value)); }
public void putDoubleProperty(final SimpleString key, final double value) { checkCreateProperties(); doPutValue(key, new DoubleValue(value)); }
public void putCharProperty(final SimpleString key, final char value) { checkCreateProperties(); doPutValue(key, new CharValue(value)); }
public void putTypedProperties(final TypedProperties otherProps) { if (otherProps == null || otherProps.properties == null) { return; } checkCreateProperties(); Set<Entry<SimpleString, PropertyValue>> otherEntries = otherProps.properties.entrySet(); for (Entry<SimpleString, PropertyValue> otherEntry : otherEntries) { doPutValue(otherEntry.getKey(), otherEntry.getValue()); } }
public void putByteProperty(final SimpleString key, final byte value) { checkCreateProperties(); doPutValue(key, ByteValue.valueOf(value)); }
public void putFloatProperty(final SimpleString key, final float value) { checkCreateProperties(); doPutValue(key, new FloatValue(value)); }
public void putBytesProperty(final SimpleString key, final byte[] value) { checkCreateProperties(); doPutValue(key, value == null ? NullValue.INSTANCE : new BytesValue(value)); }
public void putCharProperty(final SimpleString key, final char value) { checkCreateProperties(); doPutValue(key, new CharValue(value)); }
public void putShortProperty(final SimpleString key, final short value) { checkCreateProperties(); doPutValue(key, new ShortValue(value)); }
public void putIntProperty(final SimpleString key, final int value) { checkCreateProperties(); doPutValue(key, new IntValue(value)); }
public void putLongProperty(final SimpleString key, final long value) { checkCreateProperties(); doPutValue(key, new LongValue(value)); }