public interface AbstractStorage<T>
Modifier and Type | Method and Description |
---|---|
void |
clear()
This method purges everything from storage
|
boolean |
containsKey(T key)
This method checks, if storage contains specified key
|
void |
drop(T key)
This method removes value by specified key
|
INDArray |
get(T key)
Get object from the storage, by key
|
long |
size()
This method returns number of entries available in storage
|
void |
store(T key,
double[] array)
Store object into storage
|
void |
store(T key,
float[] array)
Store object into storage
|
void |
store(T key,
INDArray object)
Store object into storage
|
boolean |
storeIfAbsent(T key,
INDArray object)
Store object into storage, if it doesn't exist
|
void store(T key, float[] array)
key
- array
- void store(T key, double[] array)
key
- array
- boolean storeIfAbsent(T key, INDArray object)
key
- object
- boolean containsKey(T key)
key
- void clear()
void drop(T key)
long size()
Copyright © 2021. All rights reserved.