YamlArray

Yaml array.

Functions

Link copied to clipboard
@NotNull
open fun asArray(): @NotNull YamlArray
Gets this element as an array
Link copied to clipboard
open fun asBoolean(): Boolean
Gets this element as a boolean
Link copied to clipboard
open fun asDouble(): Double
Gets this element as a double
Link copied to clipboard
open fun asFloat(): Float
Gets this element as a float
Link copied to clipboard
open fun asInt(): Int
Gets this element as an int
Link copied to clipboard
open fun asLong(): Long
Gets this element as along
Link copied to clipboard
@NotNull
open fun asObject(): @NotNull YamlObject
Gets this element as an object
Link copied to clipboard
@NotNull
open fun asString(): @NotNull String
Gets this element as a string
Link copied to clipboard
abstract fun compareTo(p: T): Int
open fun compareTo(@NotNull o: @NotNull YamlConfiguration): Int
Link copied to clipboard
open fun forEach(action: Consumer<in T>)
Link copied to clipboard
@NotNull
abstract fun get(): @NotNull List<Any>
Gets an array as a list.
Link copied to clipboard
abstract fun iterator(): Iterator<T>
Link copied to clipboard
@NotNull
abstract fun path(): @NotNull String
Gets this configuration's path
Link copied to clipboard