TextOps

interface TextOps<T : Textable, 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}

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}

text
Link copied to clipboard
open fun text(pattern: Pattern): S
open fun text(vararg texts: String): S
textContains
Link copied to clipboard
open fun textContains(vararg texts: String): S

Inheritors

MessageStream
Link copied to clipboard
ChatOptionStream
Link copied to clipboard
ComponentStream
Link copied to clipboard