ChatOptionStream

Functions

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

{@inheritDoc}

any
Link copied to clipboard
fun any(): ChatOption

Get any entity from the stream

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

{@inheritDoc}

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

{@inheritDoc}

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

{@inheritDoc}

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

{@inheritDoc}

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

{@inheritDoc}

first
Link copied to clipboard
fun first(): ChatOption

Get the first entity from the stream

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

Get the first entity from the stream

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

{@inheritDoc}

hashCode
Link copied to clipboard
fun hashCode(vararg hashCodes: Int): ChatOptionStream
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<ChatOption>
last
Link copied to clipboard
fun last(): ChatOption

Get the last entity from the stream

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

Get the last entity from the stream

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

{@inheritDoc}

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

{@inheritDoc}

nil
Link copied to clipboard
open override fun nil(): ChatOption

nil value of the entity

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

{@inheritDoc}

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

{@inheritDoc}

spliterator
Link copied to clipboard
open override fun spliterator(): Spliterator<ChatOption>
text
Link copied to clipboard
open fun text(pattern: Pattern): ChatOptionStream
open fun text(vararg texts: String): ChatOptionStream
textContains
Link copied to clipboard
open fun textContains(vararg texts: String): ChatOptionStream

Properties

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