NameableOps

interface NameableOps<T : Nameable, S : SimpleStream<T, S>> : WrappedStream<T, S>

Functions

allMatch
Link copied to clipboard
abstract fun allMatch(predicate: Predicate<in T>): Boolean

{@inheritDoc}

anyMatch
Link copied to clipboard
abstract fun anyMatch(predicate: Predicate<in T>): Boolean

{@inheritDoc}

count
Link copied to clipboard
abstract fun count(): Long

{@inheritDoc}

filter
Link copied to clipboard
abstract fun filter(predicate: Predicate<in T>): S
abstract fun filter(predicate: Predicate<in T>, difficulty: FilterDifficulty): S
filtered
Link copied to clipboard
abstract fun filtered(predicate: (T) -> Boolean): S
abstract fun filtered(predicate: (T) -> Boolean, difficulty: FilterDifficulty): S
findAny
Link copied to clipboard
abstract fun findAny(): Optional<T>

{@inheritDoc}

findFirst
Link copied to clipboard
abstract fun findFirst(): Optional<T>

{@inheritDoc}

forEach
Link copied to clipboard
abstract fun forEach(action: Consumer<in T>)

{@inheritDoc}

max
Link copied to clipboard
abstract fun max(comparator: Comparator<in T>): Optional<T>

{@inheritDoc}

min
Link copied to clipboard
abstract fun min(comparator: Comparator<in T>): Optional<T>

{@inheritDoc}

name
Link copied to clipboard
open fun name(vararg names: Pattern?): S
open fun name(vararg names: String?): S
noneMatch
Link copied to clipboard
abstract fun noneMatch(predicate: Predicate<in T>): Boolean

{@inheritDoc}

setNearestTo
Link copied to clipboard
abstract fun setNearestTo(nearestTo: Locatable): S
sorted
Link copied to clipboard
abstract fun sorted(comparator: Comparator<in T>): S

{@inheritDoc}

Inheritors

ItemStream
Link copied to clipboard
ActorStream
Link copied to clipboard
GameObjectStream
Link copied to clipboard
GroundItemStream
Link copied to clipboard