Interface StringRepresentable

All Known Implementing Classes:
BooleanValue, ByteValue, CharValue, DoubleValue, EnumValue, FloatValue, IntValue, LongValue, ShortValue, StringValue

public sealed interface StringRepresentable permits BooleanValue, ByteValue, CharValue, DoubleValue, EnumValue<E>, FloatValue, IntValue, LongValue, ShortValue, StringValue
An interface that indicates the Node can be represented as a String.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull String
    Represents as a String.
  • Method Details

    • asString

      @NotNull @NotNull String asString()
      Represents as a String.
      Returns:
      a String representation of this node