public class FirstNStreamFilter extends AbstractStreamFilter
Modifier and Type | Class and Description |
---|---|
static class |
FirstNStreamFilter.Parameterizer
Parameterization class
|
BundleStreamSource.Event
Modifier and Type | Field and Description |
---|---|
protected int |
n
Remaining entries to keep
|
source
Constructor and Description |
---|
FirstNStreamFilter(int n)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
data(int rnum)
Access a particular object and representation.
|
BundleMeta |
getMeta()
Get the current meta data.
|
BundleStreamSource.Event |
nextEvent()
Get the next event
|
asMultipleObjectsBundle, assignDBID, filter, hasDBIDs, init, toString
public FirstNStreamFilter(int n)
n
- number of entries to keeppublic BundleMeta getMeta()
BundleStreamSource
public java.lang.Object data(int rnum)
BundleStreamSource
rnum
- Representation numberpublic BundleStreamSource.Event nextEvent()
BundleStreamSource
Copyright © 2019 ELKI Development Team. License information.