Interface Functor<T>
- Type Parameters:
T- The type of value
- All Known Subinterfaces:
AnimatedPropertyBase<T>,BooleanProperty,ColorProperty,ConfigOption<T>,FixedProperty<T>,FloatProperty,IntProperty,MutableBooleanProperty,MutableFloatProperty,MutableIntProperty,MutableObjectProperty<T>,MutableProperty<T>,MutableStringProperty,NonNullProperty<T>,ObservableBooleanProperty,ObservableFloatProperty,ObservableIntProperty,ObservableObjectProperty<T>,ObservableProperty<T>,ObservableStringProperty,Property<T>,SimpleObservableProperty<T>,StringProperty,TransitionedProperty<T>,Vector2fProperty,Vector2fPropertyBase<T>,Vector3fProperty,Vector3fPropertyBase<T>,Vector4fProperty,Vector4fPropertyBase<T>
- All Known Implementing Classes:
AdaptiveColorProperty,AdaptiveFloatProperty,AdaptiveIntProperty,AdaptiveObjectProperty,AdaptiveProperty,AdaptiveStringProperty,AnalogInputProperty,AnimatedColorProperty,AnimatedColorProperty.AnimatedAlpha,AnimatedDimensionProperty,AnimatedDualDimensionProperty,AnimatedFloatProperty,AnimatedIntProperty,AnimatedObjectProperty,AnimatedProperty,BooleanConfigOption,ConditionalProperty,DelegatedVector2fProperty,DelegatedVector2fPropertyBase,DelegatedVector3fProperty,DelegatedVector3fPropertyBase,DelegatedVector4fProperty,DelegatedVector4fPropertyBase,DeserializedBooleanProperty,DeserializedFloatProperty,DeserializedIntProperty,DeserializedObjectProperty,DeserializedStringProperty,FileDeserializer,FixedBooleanProperty,FixedColorProperty,FixedFloatProperty,FixedIntProperty,FixedObjectProperty,FixedStringProperty,FloatConfigOption,GamepadAxesProperty,GamepadAxisProperty,GamepadButtonProperty,GamepadButtonsProperty,HotFileDeserializer,IntConfigOption,JoinedStringProperty,KeyboardKeyProperty,KeyboardKeysProperty,LazyProperty,LocalRandomBooleanProperty,LocalRandomFloatProperty,LocalRandomIntProperty,LocalRandomObjectProperty,MouseButtonProperty,MouseButtonsProperty,NullProperty,ObjectConfigOption,ParsedProperty,RandomBooleanProperty,RandomFloatProperty,RandomIntProperty,RandomObjectProperty,RandomProperty,RandomVector2fProperty,RangedMutableIntProperty,SelectionProperty,SimpleMutableBooleanProperty,SimpleMutableFloatProperty,SimpleMutableIntProperty,SimpleMutableObjectProperty,SimpleMutableStringProperty,SimpleObservableBooleanProperty,SimpleObservableFloatProperty,SimpleObservableIntProperty,SimpleObservableObjectProperty,SimpleObservableStringProperty,SingleSelectionProperty,StoredBooleanProperty,StoredFloatProperty,StoredIntProperty,StoredProperty,StoredStringProperty,StringConfigOption,StyledColorProperty,StyledDimensionProperty,StyledDirectionProperty,StyledDistributionProperty,StyledDualDimensionProperty,StyledEdgeAlignmentProperty,StyledGridAlignmentProperty,StyledIntProperty,StyledObjectProperty,StyledProperty,SystemProperty,TransitionedColorProperty,TransitionedDimensionProperty,TransitionedDualDimensionProperty,TransitionedFloatProperty,TransitionedIntProperty,TransitionedObjectProperty,VariableAnimatedColorProperty,VariableAnimatedFloatProperty,VariableAnimatedProperty,VariableColorProperty
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Represents a container that supports applying a function to its value while preserving its structure.
-
Method Summary
-
Method Details
-
map
Applies a function to the value of this functor.- Type Parameters:
S- The output type of the mapper- Parameters:
mapper- The function to apply- Returns:
- The functor containing the mapped value
-