|Modifier and Type||Method and Description|
Extracts the value (excluding null) of a given class from an expression assuming it is a
public static <V> Optional<V> extractValue(Expression expression, Class<V> targetClass)
V- type of extracted value
expression- literal to extract the value from
targetClass- expected class to extract from the literal
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.