Class EqualToBean
- All Implemented Interfaces:
GenerateUniqueParameterization
A relation
double1 == double2
.- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
create()
Creates aDoubleBiPredicate
that implements the relation.boolean
int
hashCode()
toString()
By default, we useAnchorBean.describeBean()
as the string representation of the bean.Methods inherited from class org.anchoranalysis.bean.shared.relation.RelationBean
uniqueName
Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise
-
Constructor Details
-
EqualToBean
public EqualToBean()
-
-
Method Details
-
create
Description copied from class:RelationBean
Creates aDoubleBiPredicate
that implements the relation.- Specified by:
create
in classRelationBean
- Returns:
- the relation as a predicate.
-
toString
Description copied from class:AnchorBean
By default, we useAnchorBean.describeBean()
as the string representation of the bean.- Specified by:
toString
in classRelationBean
- Returns:
- the string representation
-
equals
- Specified by:
equals
in interfaceGenerateUniqueParameterization
- Overrides:
equals
in classRelationBean
-
canEqual
- Overrides:
canEqual
in classRelationBean
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceGenerateUniqueParameterization
- Overrides:
hashCode
in classRelationBean
-