Functions

action
Link copied to clipboard
open fun action(vararg actions: Pattern?): GroundItemStream
open fun action(vararg actions: String?): GroundItemStream
open fun action(actions: Collection<String>): GroundItemStream
allMatch
Link copied to clipboard
open override fun allMatch(predicate: Predicate<in GroundItem>): Boolean

{@inheritDoc}

any
Link copied to clipboard
fun any(): GroundItem

Get any entity from the stream

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

{@inheritDoc}

at
Link copied to clipboard
open fun at(l: Locatable): GroundItemStream
contains
Link copied to clipboard
fun contains(vararg t: GroundItem): Boolean
fun contains(t: Collection<GroundItem>): 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 GroundItem>): GroundItemStream
open override fun filter(predicate: Predicate<in GroundItem>, difficulty: FilterDifficulty): GroundItemStream

{@inheritDoc}

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

{@inheritDoc}

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

{@inheritDoc}

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

{@inheritDoc}

first
Link copied to clipboard
fun first(): GroundItem

Get the first entity from the stream

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

Get the first entity from the stream

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

{@inheritDoc}

hashCode
Link copied to clipboard
fun hashCode(vararg hashCodes: Int): GroundItemStream
id
Link copied to clipboard
open fun id(vararg ids: Int): GroundItemStream
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<GroundItem>
last
Link copied to clipboard
fun last(): GroundItem

Get the last entity from the stream

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

Get the last entity from the stream

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

{@inheritDoc}

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

{@inheritDoc}

name
Link copied to clipboard
open fun name(vararg names: Pattern?): GroundItemStream
open fun name(vararg names: String?): GroundItemStream
nearest
Link copied to clipboard
open fun nearest(): GroundItemStream
open fun nearest(locatable: Locatable): GroundItemStream
nil
Link copied to clipboard
open override fun nil(): GroundItem

nil value of the entity

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

{@inheritDoc}

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

{@inheritDoc}

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

Properties

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