public static final class StaticTableSchema.Builder<T> extends Object
Modifier and Type | Method and Description |
---|---|
StaticTableSchema.Builder<T> |
attributes(Attribute.AttributeSupplier<T>... mappedAttributes) |
StaticTableSchema.Builder<T> |
attributes(Collection<Attribute.AttributeSupplier<T>> mappedAttributes) |
StaticTableSchema<T> |
build() |
StaticTableSchema.Builder<T> |
extend(StaticTableSchema<? super T> superTableSchema) |
<R> StaticTableSchema.Builder<T> |
flatten(StaticTableSchema<R> otherTableSchema,
Function<T,R> otherItemGetter,
BiConsumer<T,R> otherItemSetter) |
StaticTableSchema.Builder<T> |
newItemSupplier(Supplier<T> newItemSupplier) |
StaticTableSchema.Builder<T> |
tagWith(TableTag... tableTags) |
public StaticTableSchema.Builder<T> newItemSupplier(Supplier<T> newItemSupplier)
@SafeVarargs public final StaticTableSchema.Builder<T> attributes(Attribute.AttributeSupplier<T>... mappedAttributes)
public StaticTableSchema.Builder<T> attributes(Collection<Attribute.AttributeSupplier<T>> mappedAttributes)
public <R> StaticTableSchema.Builder<T> flatten(StaticTableSchema<R> otherTableSchema, Function<T,R> otherItemGetter, BiConsumer<T,R> otherItemSetter)
public StaticTableSchema.Builder<T> extend(StaticTableSchema<? super T> superTableSchema)
public StaticTableSchema.Builder<T> tagWith(TableTag... tableTags)
public StaticTableSchema<T> build()
Copyright © 2019. All rights reserved.