Class DefaultPersonRegistry
- java.lang.Object
-
- it.tidalwave.thesefoolishthings.examples.person.DefaultPersonRegistry
-
- All Implemented Interfaces:
PersonRegistry
public class DefaultPersonRegistry extends java.lang.Object implements PersonRegistry
- Author:
- Fabrizio Giudici
-
-
Constructor Summary
Constructors Constructor Description DefaultPersonRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(Person person)
Finder<Person>
findPerson()
-
-
-
Method Detail
-
findPerson
@Nonnull public Finder<Person> findPerson()
- Specified by:
findPerson
in interfacePersonRegistry
-
add
public void add(@Nonnull Person person)
- Specified by:
add
in interfacePersonRegistry
-
-