MutablePathSet

Mutable set of object names.

Implementations of this interface should be thread safe.

Author

Elizabeth Paige Harper https://github.com/Foxcapades

Since

v0.1.0

See also

Functions

Link copied to clipboard
abstract fun add(vararg paths: String)

Adds the given paths to this MutablePathSet.

abstract fun add(path: String)

abstract fun add(paths: Iterable<String>)

Adds the paths from the Iterable value to this MutablePathSet.

Link copied to clipboard
abstract operator fun contains(path: String): Boolean
Link copied to clipboard
open fun forEach(p0: Consumer<in String>)
Link copied to clipboard
abstract operator fun iterator(): Iterator<String>
Link copied to clipboard
abstract operator fun plusAssign(path: String)

Adds the given path to this MutablePathSet.

Link copied to clipboard
Link copied to clipboard
abstract fun stream(): Stream<String>
Link copied to clipboard
abstract fun toImmutable(): PathSet

Returns an immutable PathSet copy of this MutablePathSet instance.

Link copied to clipboard
abstract fun toList(): List<String>
Link copied to clipboard
abstract fun toSet(): Set<String>

Returns a read only set containing the paths in this PathSet.

Properties

Link copied to clipboard
abstract val isEmpty: Boolean

Whether this PathSet is empty.

Link copied to clipboard
abstract val isNotEmpty: Boolean

Whether this PathSet is not empty.

Link copied to clipboard
abstract val size: Int

Number of paths currently in this PathSet