Package dev.siroshun.configapi.core.node
Interface ValueNode<T>
- Type Parameters:
T- a type of value
- All Superinterfaces:
Node<T>
- All Known Subinterfaces:
NumberValue
- All Known Implementing Classes:
BooleanValue,ByteValue,CharValue,DoubleValue,EnumValue,FloatValue,IntValue,LongValue,ShortValue,StringValue
@NotNullByDefault
public sealed interface ValueNode<T>
extends Node<T>
permits BooleanValue, CharValue, EnumValue<E>, NumberValue, StringValue
An interface to represents that
Node holds a value or value-based object.
The implementations of this interface should always be immutable and non-null.
-
Method Summary
Methods inherited from interface dev.siroshun.configapi.core.node.Node
accept, asOptional, hasValue