FeatureSet

A container for a set of features

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
inline fun <T : F> getFeature(): T?
open override fun <T : F> getFeature(type: FeatureKey<T>): T?
Link copied to clipboard
operator fun iterator(): Iterator<F>
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
fun with(vararg otherFeatures: F): FeatureSet<F>
fun with(otherFeatures: Iterable<F>): FeatureSet<F>
fun with(other: FeatureSet<F>): FeatureSet<F>
fun <T : F> with(feature: T, type: FeatureKey<F> = feature.key): FeatureSet<F>

Properties

Link copied to clipboard