Record Class BeanReduction<I>
java.lang.Object
java.lang.Record
org.microbean.bean.BeanReduction<I>
- Type Parameters:
I
- the type of contextual instances the suppliedBean
is capable of creating- Record Components:
attributedType
- anAttributedType
bean
- aBean
deemed suitable for theattributedType
@Deprecated(since="0.0.18")
public record BeanReduction<I>(AttributedType attributedType, Bean<I> bean)
extends Record
Deprecated.
This class seems not to be needed so is tentatively deprecated.
A pairing of an
AttributedType
and a Bean
resulting from a reduction.- Author:
- Laird Nelson
-
Constructor Summary
ConstructorsConstructorDescriptionBeanReduction
(AttributedType attributedType, Bean<I> bean) Deprecated.Creates a newBeanReduction
. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns the value of theattributedType
record component.bean()
Deprecated.Returns the value of thebean
record component.final boolean
Deprecated.Indicates whether some other object is "equal to" this one.final int
hashCode()
Deprecated.Returns a hash code value for this object.final String
toString()
Deprecated.Returns a string representation of this record class.
-
Constructor Details
-
BeanReduction
Deprecated.Creates a newBeanReduction
.- Parameters:
attributedType
- anAttributedType
; must not benull
bean
- aBean
deemed suitable for theattributedType
; must not benull
-
-
Method Details
-
toString
-
hashCode
-
equals
Deprecated.Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
attributedType
Deprecated.Returns the value of theattributedType
record component.- Returns:
- the value of the
attributedType
record component
-
bean
-