Class PersonRegistryImpl2b
- java.lang.Object
-
- it.tidalwave.thesefoolishthings.examples.extendedfinderexample.PersonRegistryImpl2b
-
- All Implemented Interfaces:
PersonRegistry2
,PersonRegistry
public class PersonRegistryImpl2b extends java.lang.Object implements PersonRegistry2
A variant ofPersonRegistryImpl2a
that usesPersonRegistryImpl2b
.- Author:
- Fabrizio Giudici
-
-
Constructor Summary
Constructors Constructor Description PersonRegistryImpl2b()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(Person person)
PersonFinder
findPerson()
-
-
-
Method Detail
-
add
public void add(@Nonnull Person person)
- Specified by:
add
in interfacePersonRegistry
-
findPerson
@Nonnull public PersonFinder findPerson()
- Specified by:
findPerson
in interfacePersonRegistry
- Specified by:
findPerson
in interfacePersonRegistry2
-
-