public static class RegisteredContribution.AbstractRegistry<C extends RegisteredContribution<C>> extends java.lang.Object implements RegisteredContribution.Registry<C>
Constructor and Description |
---|
AbstractRegistry() |
Modifier and Type | Method and Description |
---|---|
C |
get(java.lang.String key) |
C |
put(java.lang.String key,
C contribution) |
C |
remove(java.lang.String key) |
int |
size() |
@Nullable public C get(@NonNull java.lang.String key)
get
in interface RegisteredContribution.Registry<C extends RegisteredContribution<C>>
@Nullable public C put(@NonNull java.lang.String key, @NonNull C contribution)
put
in interface RegisteredContribution.Registry<C extends RegisteredContribution<C>>
@Nullable public C remove(@NonNull java.lang.String key)
remove
in interface RegisteredContribution.Registry<C extends RegisteredContribution<C>>
public int size()
size
in interface RegisteredContribution.Registry<C extends RegisteredContribution<C>>