PlatformDataValues.Builder


public final class PlatformDataValues.Builder


Builder for PlatformDataValues.

Summary

Public constructors

Public constructors

Builder

Added in 1.0.0
public Builder()

Public methods

build

Added in 1.0.0
public @NonNull PlatformDataValues build()

Builds the PlatformDataValues.

put

Added in 1.0.0
public @NonNull PlatformDataValues.Builder <T extends DynamicBuilders.DynamicType> put(
    @NonNull PlatformDataKey<T> key,
    @NonNull DynamicDataBuilders.DynamicDataValue<T> value
)

Puts a key/value pair.

putAll

Added in 1.2.0
public @NonNull PlatformDataValues.Builder putAll(@NonNull PlatformDataValues other)

Puts all values from another PlatformDataValues.

Values not in other are not removed from this Builder.