@Test public void testSet() { Properties properties = Properties.create(); properties.set(Property.create(KEY_1, BOOL_VAL_1)); assertEquals(BOOL_VAL_1, properties.get(KEY_1).getObject()); properties.set(Property.create(KEY_1, INT_VAL_2)); assertEquals(INT_VAL_2, properties.get(KEY_1).getObject()); }
public void set(Property property) { set(property.getKey(), property.getValue()); }
Properties implements Iterable<Property>, Value, Serializable { public void set(Property property) { set(property.getKey(), property.getValue()); } }
Properties implements Iterable<Property>, Value, Serializable { public void set(Property property) { set(property.getKey(), property.getValue()); } Properties(); private  Properties(int capacity); }
Properties implements Iterable<Property>, Value, Serializable { public void set(Property property) { set(property.getKey(), property.getValue()); } Properties(); private  Properties(int capacity); static Properties create(); static Properties createWithCapacity(int capacity); static Properties createFromMap(Map<String, Object> map); Iterable<String> getKeys(); boolean containsKey(String key); PropertyValue get(String key); void set(Property property); void set(String key, PropertyValue value); void set(String key, Object value); PropertyValue remove(String key); PropertyValue remove(Property property); void clear(); int size(); boolean isEmpty(); @Override boolean equals(Object o); @Override int hashCode(); @Override Iterator<Property> iterator(); List<Property> toList(); @Override void write(DataOutputView outputView); @Override void read(DataInputView inputView); @Override String toString(); }
Properties implements Iterable<Property>, Value, Serializable { public void set(Property property) { set(property.getKey(), property.getValue()); } Properties(); private  Properties(int capacity); static Properties create(); static Properties createWithCapacity(int capacity); static Properties createFromMap(Map<String, Object> map); Iterable<String> getKeys(); boolean containsKey(String key); PropertyValue get(String key); void set(Property property); void set(String key, PropertyValue value); void set(String key, Object value); PropertyValue remove(String key); PropertyValue remove(Property property); void clear(); int size(); boolean isEmpty(); @Override boolean equals(Object o); @Override int hashCode(); @Override Iterator<Property> iterator(); List<Property> toList(); @Override void write(DataOutputView outputView); @Override void read(DataInputView inputView); @Override String toString();  }