- java.lang.Object
-
- io.annot8.defaultimpl.stores.DefaultGroupStore
-
- All Implemented Interfaces:
io.annot8.core.stores.GroupStore
public class DefaultGroupStore extends Object implements io.annot8.core.stores.GroupStore
In memory implementation, backed by a HashMap, of GroupStore
-
-
Constructor Summary
Constructors Constructor Description DefaultGroupStore(io.annot8.core.data.Item item)Construct a new instance of this class for the provided item
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(io.annot8.core.annotations.Group group)booleanequals(Object obj)Stream<io.annot8.core.annotations.Group>getAll()io.annot8.core.annotations.Group.BuildergetBuilder()Optional<io.annot8.core.annotations.Group>getById(String s)inthashCode()StringtoString()
-
-
-
Method Detail
-
getBuilder
public io.annot8.core.annotations.Group.Builder getBuilder()
- Specified by:
getBuilderin interfaceio.annot8.core.stores.GroupStore
-
delete
public void delete(io.annot8.core.annotations.Group group)
- Specified by:
deletein interfaceio.annot8.core.stores.GroupStore
-
getAll
public Stream<io.annot8.core.annotations.Group> getAll()
- Specified by:
getAllin interfaceio.annot8.core.stores.GroupStore
-
getById
public Optional<io.annot8.core.annotations.Group> getById(String s)
- Specified by:
getByIdin interfaceio.annot8.core.stores.GroupStore
-
-