public class DefaultObjectStorage<T> extends Object implements ObjectStorage<T>
Constructor and Description |
---|
DefaultObjectStorage() |
@Nonnull public String[] getKeys()
getKeys
in interface ObjectStorage<T>
@Nonnull public Collection<T> getValues()
getValues
in interface ObjectStorage<T>
@Nullable public T remove(@Nonnull String key)
remove
in interface ObjectStorage<T>
public void set(@Nonnull String key, @Nonnull T instance)
set
in interface ObjectStorage<T>
public boolean contains(@Nonnull String key)
contains
in interface ObjectStorage<T>