SpatialAnnotationId


@ExperimentalSpatialAnnotationsApi
public final class SpatialAnnotationId


A strongly-typed identifier mapped to a requested SpatialAnnotation.

Summary

Public methods

boolean
equals(Object other)
static final @NonNull SpatialAnnotationId

Creates a SpatialAnnotationId from a string.

int
@NonNull String

Public methods

equals

public boolean equals(Object other)

fromString

Added in 1.1.0-alpha01
public static final @NonNull SpatialAnnotationId fromString(@NonNull String value)

Creates a SpatialAnnotationId from a string.

Parameters
@NonNull String value

the string value of the SpatialAnnotationId

Returns
@NonNull SpatialAnnotationId

a SpatialAnnotationId with the given value

Throws
IllegalArgumentException

if the value is empty

hashCode

public int hashCode()

toString

public @NonNull String toString()