- java.lang.Object
-
- io.annot8.defaultimpl.stores.DefaultGroupStore
-
- All Implemented Interfaces:
io.annot8.core.stores.GroupStore
public class DefaultGroupStore extends java.lang.Object implements io.annot8.core.stores.GroupStoreIn memory implementation, backed by a HashMap, of GroupStore
-
-
Constructor Summary
Constructors Constructor Description DefaultGroupStore(io.annot8.core.data.BaseItem 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(java.lang.Object obj)java.util.stream.Stream<io.annot8.core.annotations.Group>getAll()io.annot8.core.annotations.Group.BuildergetBuilder()java.util.Optional<io.annot8.core.annotations.Group>getById(java.lang.String s)inthashCode()java.lang.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 java.util.stream.Stream<io.annot8.core.annotations.Group> getAll()
- Specified by:
getAllin interfaceio.annot8.core.stores.GroupStore
-
getById
public java.util.Optional<io.annot8.core.annotations.Group> getById(java.lang.String s)
- Specified by:
getByIdin interfaceio.annot8.core.stores.GroupStore
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-