Class RawDedicatedNode<V,N extends org.core.config.ConfigurationNode.KnownParser<?,V>>

java.lang.Object
org.ships.config.node.RawDedicatedNode<V,N>
All Implemented Interfaces:
DedicatedNode<V,V,N>

public class RawDedicatedNode<V,N extends org.core.config.ConfigurationNode.KnownParser<?,V>> extends Object implements DedicatedNode<V,V,N>
  • Constructor Details

    • RawDedicatedNode

      public RawDedicatedNode(N node, String keyName, BiConsumer<? super org.core.config.ConfigurationStream,? super Map.Entry<N,V>> consumer)
  • Method Details

    • getNode

      public N getNode()
      Specified by:
      getNode in interface DedicatedNode<V,V,N extends org.core.config.ConfigurationNode.KnownParser<?,V>>
    • getKeyName

      public String getKeyName()
      Specified by:
      getKeyName in interface DedicatedNode<V,V,N extends org.core.config.ConfigurationNode.KnownParser<?,V>>
    • apply

      public void apply(org.core.config.ConfigurationStream stream, V value)
      Specified by:
      apply in interface DedicatedNode<V,V,N extends org.core.config.ConfigurationNode.KnownParser<?,V>>
    • integer

      @NotNull public static <N extends org.core.config.ConfigurationNode.KnownParser<?, Integer>> @NotNull RawDedicatedNode<Integer,N> integer(N node, String keyName)