@Test public void asMap() { OrderedProperties pairs = createTestKeyValues(); pairs.asMap().put("fifth", "5"); assertKeyOrder(pairs, "first", "second", "third", "FOURTH", "fifth"); }
public Map<String, String> asMap() { return pairs; }
OrderedProperties { public Map<String, String> asMap() { return pairs; } }
OrderedProperties { public Map<String, String> asMap() { return pairs; }  }
OrderedProperties { public Map<String, String> asMap() { return pairs; }  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 Map<String, String> asMap() { return pairs; }  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();  }