@FunctionalInterface public interface Cardinality extends DataSource<Integer>, Typed<Integer>
Generator.
Default implementations can be obtained from the Fetchers class.
Fetchers,
LazyValues,
EagerValues| Modifier and Type | Interface and Description |
|---|---|
static interface |
Cardinality.Fetcher
Retrieves elements from a generator.
|
| Modifier and Type | Method and Description |
|---|---|
default FlCardinality |
fluentCardinality()
Provides access to the fluent cardinality interface.
|
default Class<Integer> |
getValueType()
Type is always integer.
|
Cardinality.Fetcher |
toFetcher()
Returns a
Cardinality.Fetcher for this cardinality. |
default Generator<Integer> |
toGenerator()
Alias for
toFetcher(). |
fluentData, toGenerators, toGeneratorsCardinality.Fetcher toFetcher()
Cardinality.Fetcher for this cardinality.default FlCardinality fluentCardinality()
default Class<Integer> getValueType()
getValueType in interface Typed<Integer>Integer.classdefault Generator<Integer> toGenerator()
toFetcher().toGenerator in interface DataSource<Integer>Copyright © 2019. All rights reserved.