List of usage examples for org.apache.commons.collections4.map PredicatedMap PredicatedMap
protected PredicatedMap(final Map<K, V> map, final Predicate<? super K> keyPredicate, final Predicate<? super V> valuePredicate)
From source file:com.joyent.manta.client.MantaMetadata.java
/** * Create a new instance backed with a new empty map. *//*from ww w . ja va2s. com*/ public MantaMetadata() { final Map<String, String> map = new CaseInsensitiveMap<>(); final Predicate<String> keyPredicate = new HttpHeaderNameKeyPredicate(); this.innerMap = PredicatedMap.predicatedMap(map, keyPredicate, null); }