Record Class Applicative.Map3<F extends Kind<F,?>,A,B,C>
java.lang.Object
java.lang.Record
com.github.tonivade.purefun.typeclasses.Applicative.Map3<F,A,B,C>
- Enclosing interface:
Applicative<F extends Kind<F,?>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe field for thefarecord component.The field for thefbrecord component.The field for thefcrecord component.private final Applicative<F> The field for theinstancerecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.fa()Returns the value of thefarecord component.fb()Returns the value of thefbrecord component.fc()Returns the value of thefcrecord component.final inthashCode()Returns a hash code value for this object.instance()Returns the value of theinstancerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
instance
The field for theinstancerecord component. -
fa
The field for thefarecord component. -
fb
The field for thefbrecord component. -
fc
The field for thefcrecord component.
-
-
Constructor Details
-
Map3
public Map3(Applicative<F> instance, Kind<F, ? extends A> fa, Kind<F, ? extends B> fb, Kind<F, ? extends C> fc) Creates an instance of aMap3record class.- Parameters:
instance- the value for theinstancerecord componentfa- the value for thefarecord componentfb- the value for thefbrecord componentfc- the value for thefcrecord component
-
-
Method Details
-
apply
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
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). -
instance
Returns the value of theinstancerecord component.- Returns:
- the value of the
instancerecord component
-
fa
Returns the value of thefarecord component.- Returns:
- the value of the
farecord component
-
fb
Returns the value of thefbrecord component.- Returns:
- the value of the
fbrecord component
-
fc
Returns the value of thefcrecord component.- Returns:
- the value of the
fcrecord component
-