Package 

Class ConfigurationNodeExtensionsKt

    • Method Summary

      Modifier and Type Method Description
      final Boolean contains(ConfigurationNode $self, Array<Object> path) An implementation of contains that can traverse multiple levels in path.
      final Boolean contains(ConfigurationNode $self, NodePath path) An implementation of contains that can traverse multiple levels in path.
      final Boolean contains(ConfigurationNode $self, Object path) Contains for a single level.
      final <V extends Any> V get(ConfigurationNode $self) Get a value from the receiver using the type parameter.
      final <V extends Any> V get(ConfigurationNode $self, V default) Get a value from the receiver using the type parameter.
      final <T extends Any> T get(ConfigurationNode $self, KClass<T> type) Get a value from the receiver using the type parameter.
      final <T extends Any> T get(ConfigurationNode $self, KClass<T> type, T default) Get a value from the receiver using the type parameter.
      final <V extends Any> Unit typedSet(ConfigurationNode $self, V value) Set a value from the receiver using the type parameter to resolve a serializer.
      final <T extends Any> List<T> getList(ConfigurationNode $self, KClass<T> type) Get a list value from the receiver using a Kotlin type.
      final <T extends Any> List<T> getList(ConfigurationNode $self, KClass<T> type, List<T> default) Get a list value from the receiver using a Kotlin type.
      final <T extends Any> ConfigurationNode set(ConfigurationNode $self, KClass<T> type, T value) Set a value on the receiver described by a kotlin class.
      final <T extends Any, N extends ScopedConfigurationNode<N>> N set(N $self, KClass<T> type, T value) Set a value on the receiver described by a kotlin class.
      • Methods inherited from class java.lang.Object

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

      • contains

         final Boolean contains(ConfigurationNode $self, Array<Object> path)

        An implementation of contains that can traverse multiple levels in path.

      • contains

         final Boolean contains(ConfigurationNode $self, NodePath path)

        An implementation of contains that can traverse multiple levels in path.

      • contains

         final Boolean contains(ConfigurationNode $self, Object path)

        Contains for a single level.

        Parameters:
        path - a single path element
      • get

         final <V extends Any> V get(ConfigurationNode $self)

        Get a value from the receiver using the type parameter.

      • get

         final <V extends Any> V get(ConfigurationNode $self, V default)

        Get a value from the receiver using the type parameter.

      • get

         final <T extends Any> T get(ConfigurationNode $self, KClass<T> type)

        Get a value from the receiver using the type parameter.

      • get

         final <T extends Any> T get(ConfigurationNode $self, KClass<T> type, T default)

        Get a value from the receiver using the type parameter.

      • typedSet

         final <V extends Any> Unit typedSet(ConfigurationNode $self, V value)

        Set a value from the receiver using the type parameter to resolve a serializer.

      • getList

         final <T extends Any> List<T> getList(ConfigurationNode $self, KClass<T> type)

        Get a list value from the receiver using a Kotlin type.

      • getList

         final <T extends Any> List<T> getList(ConfigurationNode $self, KClass<T> type, List<T> default)

        Get a list value from the receiver using a Kotlin type.

      • set

         final <T extends Any> ConfigurationNode set(ConfigurationNode $self, KClass<T> type, T value)

        Set a value on the receiver described by a kotlin class.

      • set

         final <T extends Any, N extends ScopedConfigurationNode<N>> N set(N $self, KClass<T> type, T value)

        Set a value on the receiver described by a kotlin class.