Class VariantSet
- java.lang.Object
-
- io.heraldprox.herald.sensor.analysis.sampling.VariantSet
-
public class VariantSet extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description VariantSet(int defaultListSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends DoubleValue>
ListManager<T>add(java.lang.Class<T> variant, int listSize)
void
clear()
<T extends DoubleValue>
ListManager<T>listManager(java.lang.Class<T> variant)
<T extends DoubleValue>
SampleList<T>listManager(java.lang.Class<T> variant, SampledID listFor)
<T extends DoubleValue>
voidpush(SampledID sampledID, Sample<T> sample)
void
remove(SampledID sampledID)
<T extends DoubleValue>
voidremove(java.lang.Class<T> variant)
java.util.Set<SampledID>
sampledIDs()
int
size()
java.util.Set<java.lang.Class<? extends DoubleValue>>
variants()
-
-
-
Method Detail
-
variants
@NonNull public java.util.Set<java.lang.Class<? extends DoubleValue>> variants()
-
sampledIDs
@NonNull public java.util.Set<SampledID> sampledIDs()
-
add
@NonNull public <T extends DoubleValue> ListManager<T> add(@NonNull java.lang.Class<T> variant, int listSize)
-
remove
public <T extends DoubleValue> void remove(@NonNull java.lang.Class<T> variant)
-
remove
public void remove(@NonNull SampledID sampledID)
-
clear
public void clear()
-
listManager
@NonNull public <T extends DoubleValue> ListManager<T> listManager(@NonNull java.lang.Class<T> variant)
-
listManager
public <T extends DoubleValue> SampleList<T> listManager(@NonNull java.lang.Class<T> variant, @NonNull SampledID listFor)
-
size
public int size()
-
push
public <T extends DoubleValue> void push(@NonNull SampledID sampledID, @NonNull Sample<T> sample)
-
-