S - T - public abstract static class Domains.Adaptor<S,T> extends Object implements Domain<T>
| Modifier and Type | Method and Description |
|---|---|
T |
get(long index)
Get a given value from the domain determined by its index.
|
protected abstract T |
get(S item)
Convert an arbitrary item in the source domain into its corresponding item in
the target domain.
|
long |
size()
Determine how many objects this generator can produce
|
Domain<T> |
slice(long start,
long end)
Return a subdomain of this domain which includes all elements between the
start (inclusive) and end index (exlusive).
|
public long size()
Domainpublic T get(long index)
Domainprotected abstract T get(S item)
item - Copyright © 2019. All rights reserved.