Class EqualToBean
Object
org.anchoranalysis.bean.AnchorBean<RelationBean>
org.anchoranalysis.bean.shared.relation.RelationBean
org.anchoranalysis.bean.shared.relation.EqualToBean
- All Implemented Interfaces:
GenerateUniqueParameterization
public class EqualToBean extends RelationBean
A relation
double1 == double2.- Author:
- Owen Feehan
-
Constructor Summary
Constructors Constructor Description EqualToBean() -
Method Summary
Modifier and Type Method Description protected booleancanEqual(Object other)DoubleBiPredicatecreate()Creates aDoubleBiPredicatethat implements the relation.booleanequals(Object o)inthashCode()StringtoString()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:RelationBeanCreates aDoubleBiPredicatethat implements the relation.- Specified by:
createin classRelationBean- Returns:
- the relation as a predicate.
-
toString
- Specified by:
toStringin classRelationBean
-
equals
- Specified by:
equalsin interfaceGenerateUniqueParameterization- Overrides:
equalsin classRelationBean
-
canEqual
- Overrides:
canEqualin classRelationBean
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceGenerateUniqueParameterization- Overrides:
hashCodein classRelationBean
-