public final class PlatformDataValues


Typed mapping of PlatformDataKey to DynamicDataValue.

Summary

Nested types

public final class PlatformDataValues.Builder

Builder for PlatformDataValues.

Public methods

@NonNull Map<PlatformDataKey<Object>, DynamicDataBuilders.DynamicDataValue<Object>>

Returns the key-value mapping.

static @NonNull PlatformDataValues

Creates a PlatformDataValues from a single key/value pair.

@NonNull String

Public methods

getAll

Added in 1.0.0
public @NonNull Map<PlatformDataKey<Object>, DynamicDataBuilders.DynamicDataValue<Object>> getAll()

Returns the key-value mapping.

of

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

Creates a PlatformDataValues from a single key/value pair.

toString

public @NonNull String toString()