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 ofPersonRegistryImpl2athat usesPersonRegistryImpl2b.- Author:
- Fabrizio Giudici
-
-
Constructor Summary
Constructors Constructor Description PersonRegistryImpl2b()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(Person person)PersonFinderfindPerson()
-
-
-
Method Detail
-
add
public void add(@Nonnull Person person)- Specified by:
addin interfacePersonRegistry
-
findPerson
@Nonnull public PersonFinder findPerson()
- Specified by:
findPersonin interfacePersonRegistry- Specified by:
findPersonin interfacePersonRegistry2
-
-