public abstract class DataTypeUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static <P> P |
getFeatureOrProperty(DataType type,
Object value,
String propertyName,
Supplier<P> orElse) |
static Set<String> |
getRegisteredTypeNames(DataType type) |
static void |
traverseDataType(QualifiedDataType qualifiedType,
Consumer<QualifiedDataType> onType,
boolean namedOnly)
Traverses the data type but only through record types.
|
public static void traverseDataType(QualifiedDataType qualifiedType, Consumer<QualifiedDataType> onType, boolean namedOnly)
qualifiedType - the qualified type.onType - the qualified type callback.namedOnly - traverse only through named types.public static <P> P getFeatureOrProperty(DataType type, Object value, String propertyName, Supplier<P> orElse)
Copyright © 2016–2019 Softelnet. All rights reserved.