Package-level declarations
Types
Link copied to clipboard
class TransformingObjectSet<O, M>(fromSet: ObjectSet<O>, toTransformer: (O) -> M?, fromTransformer: (M) -> O?) : ObjectSet<M>
A specialized implementation of ObjectSet that transforms elements between two types, O
and M
, using the provided transformation functions. This enables a dynamic view of a set where elements are transformed on-the-fly during iteration or when performing operations.