com.hammurapi.eventbus.tests.familyties.rules
Class ParentRules
java.lang.Object
com.hammurapi.eventbus.tests.familyties.rules.FamilyTiesRules
com.hammurapi.eventbus.tests.familyties.rules.ParentRules
public class ParentRules
- extends FamilyTiesRules
|
Method Summary |
Parent |
infer(Parent parent)
Male parent is father, female parent is mother. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParentRules
public ParentRules()
infer
public Parent infer(Parent parent)
- Male parent is father, female parent is mother.
- Parameters:
parent -
- Returns:
- Brother or Sister.