Skip to content

Glossary: Software Design Patterns in Java

Repository

Also written: repo

An object that stores and finds things for the rest of the code, so nothing else knows how they're stored. `MemoryRepo` keeps orders in a list.

Where the book teaches it

Related terms

Dependency injectionFake