@Test public void testGetKeys() { Properties properties = Properties.createFromMap(SUPPORTED_PROPERTIES); List<String> keyList = Lists.newArrayList(properties.getKeys()); assertEquals(SUPPORTED_PROPERTIES.size(), keyList.size()); for (String expectedKey : SUPPORTED_PROPERTIES.keySet()) { assertTrue("key was not in key list", keyList.contains(expectedKey)); } }
public Iterable<String> getKeys() { return properties.keySet(); }
Properties implements Iterable<Property>, Value, Serializable { public Iterable<String> getKeys() { return properties.keySet(); } }
Properties implements Iterable<Property>, Value, Serializable { public Iterable<String> getKeys() { return properties.keySet(); } Properties(); private  Properties(int capacity); }
Properties implements Iterable<Property>, Value, Serializable { public Iterable<String> getKeys() { return properties.keySet(); } 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 Iterable<String> getKeys() { return properties.keySet(); } 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();  }