IdentifiableOps

interface IdentifiableOps<T : Identifiable, 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}

id
Link copied to clipboard
open fun id(vararg ids: Int): S
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}

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
ProjectileStream
Link copied to clipboard
GameObjectStream
Link copied to clipboard
GroundItemStream
Link copied to clipboard
NpcStream
Link copied to clipboard
ComponentStream
Link copied to clipboard
WidgetStream
Link copied to clipboard
WorldStream
Link copied to clipboard