| Package | Description |
|---|---|
| com.alibaba.fastjson2.introspect |
Provides reflection-based property access functionality for fastjson2.
|
| com.alibaba.fastjson2.reader |
| Modifier and Type | Field and Description |
|---|---|
private ObjFloatConsumer |
PropertyAccessorFactory.PropertyAccessorWrapperFloatValue.getterConsumer |
private ObjFloatConsumer |
PropertyAccessorFactory.PropertyAccessorWrapperFloatValue.setterConsumer |
private ObjFloatConsumer<T> |
PropertyAccessorFactory.FunctionAccessorFloatValue.setterFunc |
| Modifier and Type | Method and Description |
|---|---|
ObjFloatConsumer |
PropertyAccessorFactoryLambda.setFloat(java.lang.reflect.Method method) |
| Modifier and Type | Method and Description |
|---|---|
PropertyAccessor |
PropertyAccessorFactory.create(PropertyAccessor impl,
ObjFloatConsumer getterConsumer,
ObjFloatConsumer setterConsumer) |
PropertyAccessor |
PropertyAccessorFactory.create(PropertyAccessor impl,
ObjFloatConsumer getterConsumer,
ObjFloatConsumer setterConsumer) |
<T> PropertyAccessor |
PropertyAccessorFactory.create(java.lang.String name,
ToFloatFunction<T> getterFunc,
ObjFloatConsumer<T> setterFunc)
Creates a property accessor using functional interfaces for float property access.
|
| Constructor and Description |
|---|
FunctionAccessorFloatValue(java.lang.String name,
ToFloatFunction<T> getterFunc,
ObjFloatConsumer<T> setterFunc) |
PropertyAccessorWrapperFloatValue(PropertyAccessor impl,
ObjFloatConsumer getterConsumer,
ObjFloatConsumer setterConsumer) |
PropertyAccessorWrapperFloatValue(PropertyAccessor impl,
ObjFloatConsumer getterConsumer,
ObjFloatConsumer setterConsumer) |
| Modifier and Type | Method and Description |
|---|---|
static <T> FieldReader |
ObjectReaders.fieldReaderFloat(java.lang.String fieldName,
ObjFloatConsumer<T> function) |
| Constructor and Description |
|---|
FieldReaderFloatValue(java.lang.String fieldName,
int ordinal,
long features,
java.lang.String format,
java.util.Locale locale,
java.lang.Float defaultValue,
JSONSchema schema,
java.lang.reflect.Method method,
java.lang.reflect.Field field,
ObjFloatConsumer<T> function,
java.lang.String paramName,
java.lang.reflect.Parameter parameter) |