T
- generic type parameterpublic interface DataStructure<T>
Modifier and Type | Interface and Description |
---|---|
static class |
DataStructure.Type |
Modifier and Type | Field and Description |
---|---|
static java.util.Collection<DataStructure.Type> |
FINITE_ITERABLE_DATA_STRUCTURES |
static java.util.Collection<DataStructure.Type> |
FINITE_ITERABLE_POINTER_DATA_STRUCTURES |
static java.util.Collection<DataStructure.Type> |
FINITE_POINTER_DATA_STRUCTURES |
static java.util.Collection<DataStructure.Type> |
INFIITE_DATA_STRUCTURES |
static java.util.Collection<DataStructure.Type> |
ITERABLE_DATA_STRUCTURES |
static java.util.Collection<DataStructure.Type> |
POINTER_DATA_STRUCTURES |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<T> |
add(T t)
add elements to a stream based data structure may lead to removal of
other elements in the data structure If possible, the implementing
algorithm will return a collection of elements.
|
void |
clear() |
boolean |
contains(java.lang.Object o) |
int |
getCapacity() |
long |
getFrequencyOf(T e) |
<P extends DSParameterDefinition> |
getParameters() |
long |
getSize() |
DataStructure.Type |
getType() |
long |
getUsedMemoryInBytes() |
boolean |
isEmpty() |
static final java.util.Collection<DataStructure.Type> INFIITE_DATA_STRUCTURES
static final java.util.Collection<DataStructure.Type> ITERABLE_DATA_STRUCTURES
static final java.util.Collection<DataStructure.Type> FINITE_ITERABLE_DATA_STRUCTURES
static final java.util.Collection<DataStructure.Type> POINTER_DATA_STRUCTURES
static final java.util.Collection<DataStructure.Type> FINITE_POINTER_DATA_STRUCTURES
static final java.util.Collection<DataStructure.Type> FINITE_ITERABLE_POINTER_DATA_STRUCTURES
java.util.Collection<T> add(T t)
t
- void clear()
boolean contains(java.lang.Object o)
int getCapacity()
long getFrequencyOf(T e)
<P extends DSParameterDefinition> java.util.Map<P,DSParameter<?>> getParameters()
long getSize()
DataStructure.Type getType()
boolean isEmpty()
long getUsedMemoryInBytes()