@Test public void addStringPairs() { OrderedProperties pairs = new OrderedProperties() .addStringPairs("first=1\nsecond=2\nthird=3\nFOURTH=4"); assertValueOrder(pairs, "1", "2", "3", "4"); }
public OrderedProperties addStringPairs(String keyValuePairs) { PropertiesReader reader = new PropertiesReader(pairs); reader.read(keyValuePairs); return this; }
OrderedProperties { public OrderedProperties addStringPairs(String keyValuePairs) { PropertiesReader reader = new PropertiesReader(pairs); reader.read(keyValuePairs); return this; } }
OrderedProperties { public OrderedProperties addStringPairs(String keyValuePairs) { PropertiesReader reader = new PropertiesReader(pairs); reader.read(keyValuePairs); return this; }  }
OrderedProperties { public OrderedProperties addStringPairs(String keyValuePairs) { PropertiesReader reader = new PropertiesReader(pairs); reader.read(keyValuePairs); return this; }  OrderedProperties filter(Predicate<String> filter); OrderedProperties addMapPairs(Map<String, String> additionalPairs); OrderedProperties addIterablePairs(Iterable<? extends Map.Entry<String, ?>> iterable); OrderedProperties addStringPairs(String keyValuePairs); OrderedProperties addStringPairs(InputStream is); OrderedProperties addPair(String key, String value); String asPairs(); String asPairsWithComment(String comment); Map<String, String> asMap(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); }
OrderedProperties { public OrderedProperties addStringPairs(String keyValuePairs) { PropertiesReader reader = new PropertiesReader(pairs); reader.read(keyValuePairs); return this; }  OrderedProperties filter(Predicate<String> filter); OrderedProperties addMapPairs(Map<String, String> additionalPairs); OrderedProperties addIterablePairs(Iterable<? extends Map.Entry<String, ?>> iterable); OrderedProperties addStringPairs(String keyValuePairs); OrderedProperties addStringPairs(InputStream is); OrderedProperties addPair(String key, String value); String asPairs(); String asPairsWithComment(String comment); Map<String, String> asMap(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }