Class ConfigurationNodeFactoryExtensionsKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static <N extends ConfigurationNode> N invoke(ConfigurationNodeFactory<N> $self, ConfigurationOptions options) Use the receiver factory to create a new node.
      final static <T extends ConfigurationNode> T node(ConfigurationNodeFactory<T> $self, ConfigurationOptions options, Function1<T, Unit> init) Given a node factory, create and configure an empty node.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • invoke

         final static <N extends ConfigurationNode> N invoke(ConfigurationNodeFactory<N> $self, ConfigurationOptions options)

        Use the receiver factory to create a new node.

      • node

         final static <T extends ConfigurationNode> T node(ConfigurationNodeFactory<T> $self, ConfigurationOptions options, Function1<T, Unit> init)

        Given a node factory, create and configure an empty node. Options may be provided, but otherwise the factory's defaults will be used.