public final class Attributes extends Object
Modifier and Type | Method and Description |
---|---|
static <T,R> Attribute.AttributeSupplier<T> |
attribute(String attributeName,
TypeToken<R> attributeType,
Function<T,R> getAttributeMethod,
BiConsumer<T,R> updateItemMethod) |
static <T,R> Attribute.AttributeSupplier<T> |
attribute(String attributeName,
TypeToken<R> attributeType,
Function<T,R> getAttributeMethod,
BiConsumer<T,R> updateItemMethod,
AttributeConverterProvider converterProvider) |
public static <T,R> Attribute.AttributeSupplier<T> attribute(String attributeName, TypeToken<R> attributeType, Function<T,R> getAttributeMethod, BiConsumer<T,R> updateItemMethod)
public static <T,R> Attribute.AttributeSupplier<T> attribute(String attributeName, TypeToken<R> attributeType, Function<T,R> getAttributeMethod, BiConsumer<T,R> updateItemMethod, AttributeConverterProvider converterProvider)
Copyright © 2020. All rights reserved.