Modifier and Type | Field and Description |
---|---|
static java.util.function.Function<String,Integer> |
TO_INTEGER
Deprecated.
Use
Integer::valueOf directly. |
static java.util.function.UnaryOperator<String> |
TO_LOWER_CASE
|
static java.util.function.UnaryOperator<String> |
TO_UPPER_CASE
|
Modifier and Type | Method and Description |
---|---|
static <F,T> java.util.function.Function<F,T> |
constant(T v)
Deprecated.
Use
from -> to directly. |
static <T> java.util.function.UnaryOperator<T> |
identity()
Deprecated.
Use
Function.identity() instead. |
static <K,V> java.util.function.Function<K,V> |
map(Map<K,V> m)
Deprecated.
Use
Map::get instead. |
static <T> Map<T,String> |
mapToString()
Deprecated.
Use
String::valueOf directly. |
static <E extends Enum<E>> |
toEnum(Class<E> enumType)
Returns a
Map that maps the string representation of an enum
to the corresponding enum value by calling Enum.valueOf(Class, String) . |
static java.util.function.UnaryOperator<String> |
toLowerCase(Locale locale)
|
static <A,B> Map2<A,B,Pair<A,B>> |
toPair()
|
static <A,B,C> Map3<A,B,C,Tuple3<A,B,C>> |
toTuple3()
Deprecated.
|
static <A,B,C,D> Map4<A,B,C,D,Tuple4<A,B,C,D>> |
toTuple4()
Deprecated.
|
static <A,B,C,D,E> |
toTuple5()
Deprecated.
|
static java.util.function.UnaryOperator<String> |
toUpperCase(Locale locale)
|
@Deprecated public static final java.util.function.Function<String,Integer> TO_INTEGER
Integer::valueOf
directly.public static java.util.function.UnaryOperator<String> TO_LOWER_CASE
public static java.util.function.UnaryOperator<String> TO_UPPER_CASE
public static java.util.function.UnaryOperator<String> toLowerCase(Locale locale)
public static java.util.function.UnaryOperator<String> toUpperCase(Locale locale)
@Deprecated public static <T> Map<T,String> mapToString()
String::valueOf
directly.public static <E extends Enum<E>> java.util.function.Function<String,E> toEnum(Class<E> enumType)
Map
that maps the string representation of an enum
to the corresponding enum value by calling Enum.valueOf(Class, String)
.@Deprecated public static <T> java.util.function.UnaryOperator<T> identity()
Function.identity()
instead.@Deprecated public static <F,T> java.util.function.Function<F,T> constant(T v)
from -> to
directly.Map
that always maps any object to v
.@Deprecated public static <K,V> java.util.function.Function<K,V> map(Map<K,V> m)
Map::get
instead.@Deprecated public static <A,B,C> Map3<A,B,C,Tuple3<A,B,C>> toTuple3()
@Deprecated public static <A,B,C,D> Map4<A,B,C,D,Tuple4<A,B,C,D>> toTuple4()
@Deprecated public static <A,B,C,D,E> Map5<A,B,C,D,E,Tuple5<A,B,C,D,E>> toTuple5()
Copyright © 2013–2016 jparsec. All rights reserved.