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