Functions

allMatch
Link copied to clipboard
open override fun allMatch(predicate: Predicate<in Projectile>): Boolean

{@inheritDoc}

any
Link copied to clipboard
fun any(): Projectile

Get any entity from the stream

anyMatch
Link copied to clipboard
open override fun anyMatch(predicate: Predicate<in Projectile>): Boolean

{@inheritDoc}

at
Link copied to clipboard
open fun at(l: Locatable): ProjectileStream
contains
Link copied to clipboard
fun contains(vararg t: Projectile): Boolean
fun contains(t: Collection<Projectile>): Boolean

Check if the stream contains any of the provided entities

count
Link copied to clipboard
open override fun count(): Long

{@inheritDoc}

filter
Link copied to clipboard
open override fun filter(predicate: Predicate<in Projectile>): ProjectileStream
open override fun filter(predicate: Predicate<in Projectile>, difficulty: FilterDifficulty): ProjectileStream

{@inheritDoc}

filtered
Link copied to clipboard
open override fun filtered(predicate: (Projectile) -> Boolean): ProjectileStream
open override fun filtered(predicate: (Projectile) -> Boolean, difficulty: FilterDifficulty): ProjectileStream

{@inheritDoc}

findAny
Link copied to clipboard
open override fun findAny(): Optional<Projectile>

{@inheritDoc}

findFirst
Link copied to clipboard
open override fun findFirst(): Optional<Projectile>

{@inheritDoc}

first
Link copied to clipboard
fun first(): Projectile

Get the first entity from the stream

firstOrNull
Link copied to clipboard
fun firstOrNull(): Projectile?

Get the first entity from the stream

forEach
Link copied to clipboard
open override fun forEach(action: Consumer<in Projectile>)

{@inheritDoc}

hashCode
Link copied to clipboard
fun hashCode(vararg hashCodes: Int): ProjectileStream
id
Link copied to clipboard
open fun id(vararg ids: Int): ProjectileStream
isEmpty
Link copied to clipboard
fun isEmpty(): Boolean

Check if the stream is empty or not

isNotEmpty
Link copied to clipboard
fun isNotEmpty(): Boolean

Check if the stream is NOT empty or not

iterator
Link copied to clipboard
open operator override fun iterator(): Iterator<Projectile>
last
Link copied to clipboard
fun last(): Projectile

Get the last entity from the stream

lastOrNull
Link copied to clipboard
fun lastOrNull(): Projectile?

Get the last entity from the stream

list
Link copied to clipboard
fun list(): List<Projectile>
max
Link copied to clipboard
open override fun max(comparator: Comparator<in Projectile>): Optional<Projectile>

{@inheritDoc}

min
Link copied to clipboard
open override fun min(comparator: Comparator<in Projectile>): Optional<Projectile>

{@inheritDoc}

nearest
Link copied to clipboard
open fun nearest(): ProjectileStream
open fun nearest(locatable: Locatable): ProjectileStream
nil
Link copied to clipboard
open override fun nil(): Projectile

nil value of the entity

noneMatch
Link copied to clipboard
open override fun noneMatch(predicate: Predicate<in Projectile>): Boolean

{@inheritDoc}

reachable
Link copied to clipboard
open fun reachable(): ProjectileStream
reversed
Link copied to clipboard
fun reversed(): List<Projectile>
setNearestTo
Link copied to clipboard
open override fun setNearestTo(nearestTo: Locatable): ProjectileStream
shuffled
Link copied to clipboard
fun shuffled(): List<Projectile>
sorted
Link copied to clipboard
open override fun sorted(comparator: Comparator<in Projectile>): ProjectileStream

{@inheritDoc}

spliterator
Link copied to clipboard
open override fun spliterator(): Spliterator<Projectile>
within
Link copied to clipboard
open fun within(radius: Double): ProjectileStream
open fun within(area: Area): ProjectileStream
open fun within(locatable: Locatable, radius: Double): ProjectileStream

Properties

backingDataSource
Link copied to clipboard
val backingDataSource: BackingDataSource<Projectile>
nearestTo
Link copied to clipboard
var nearestTo: Locatable?
pendingFilters
Link copied to clipboard
val pendingFilters: MutableList<PendingFilter<Projectile>>
sorters
Link copied to clipboard
var sorters: MutableList<Comparator<in Projectile>>