Package org.jparsec.functors
Class Maps
java.lang.Object
org.jparsec.functors.Maps
Provides common implementations of
Map interface and the variants.-
Field Summary
FieldsModifier and TypeFieldDescriptionDeprecated.static UnaryOperator<String> static UnaryOperator<String> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <F,T> Function <F, T> constant(T v) Deprecated.Usefrom -> todirectly.static <T> UnaryOperator<T> identity()Deprecated.UseFunction.identity()instead.static <K,V> Function <K, V> Deprecated.UseMap::getinstead.Deprecated.UseString::valueOfdirectly.Returns aMapthat maps the string representation of an enum to the corresponding enum value by callingEnum.valueOf(Class, String).static UnaryOperator<String> toLowerCase(Locale locale) toPair()toTuple3()Deprecated.toTuple4()Deprecated.toTuple5()Deprecated.static UnaryOperator<String> toUpperCase(Locale locale)
-
Field Details
-
TO_INTEGER
Deprecated.UseInteger::valueOfdirectly. -
TO_LOWER_CASE
-
TO_UPPER_CASE
-
-
Constructor Details
-
Maps
private Maps()
-
-
Method Details
-
toLowerCase
-
toUpperCase
-
mapToString
Deprecated.UseString::valueOfdirectly. -
toEnum
Returns aMapthat maps the string representation of an enum to the corresponding enum value by callingEnum.valueOf(Class, String). -
identity
Deprecated.UseFunction.identity()instead.Returns an identity map that maps parameter to itself. -
constant
Deprecated.Usefrom -> todirectly.Returns aMapthat always maps any object tov. -
map
Deprecated.UseMap::getinstead. -
toPair
-
toTuple3
Deprecated. -
toTuple4
Deprecated. -
toTuple5
Deprecated.
-
Integer::valueOfdirectly.