Class StrLookup.MapStrLookup<V>
java.lang.Object
org.apache.commons.text.StrLookup<V>
org.apache.commons.text.StrLookup.MapStrLookup<V>
- Type Parameters:
V- the type of the values supported by the lookup
- All Implemented Interfaces:
Function<String,String>, UnaryOperator<String>, StringLookup
Lookup implementation that uses a Map.
- Since:
- 1.0
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateMapStrLookup(Map<String, V> map) Creates a new instance backed by a Map. -
Method Summary
Methods inherited from class StrLookup
mapLookup, noneLookup, resourceBundleLookup, systemPropertiesLookupMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface StringLookup
apply
-
Field Details
-
map
-
-
Constructor Details
-
MapStrLookup
-
-
Method Details
-
lookup
-
toString
-