public class Streams extends Object
| Constructor and Description |
|---|
Streams() |
| Modifier and Type | Method and Description |
|---|---|
static <T> Stream<LocalizableSampler<T>> |
localizable(IterableInterval<T> interval)
Create a sequential
Stream of the elements (value and location)
of the given interval. |
static <T> Stream<RealLocalizableSampler<T>> |
localizable(IterableRealInterval<T> interval)
Create a sequential
Stream of the elements (value and location)
of the given interval. |
static <T> Stream<LocalizableSampler<T>> |
localizing(IterableInterval<T> interval)
Create a sequential
Stream of the elements (value and location)
of the given interval. |
static <T> Stream<RealLocalizableSampler<T>> |
localizing(IterableRealInterval<T> interval)
Create a sequential
Stream of the elements (value and location)
of the given interval. |
public static <T> Stream<RealLocalizableSampler<T>> localizable(IterableRealInterval<T> interval)
Stream of the elements (value and location)
of the given interval.
Element locations are computed on demand only, which is suited for usages
where location is only needed for a few elements.
(Also see localizing(IterableRealInterval)).
T - pixel typeinterval - interval over which to provide a Stream.Stream<RealLocalizableSampler<T>> over the elements of
the given interval.public static <T> Stream<RealLocalizableSampler<T>> localizing(IterableRealInterval<T> interval)
Stream of the elements (value and location)
of the given interval.
Element location is tracked preemptively on every step, which is suited for usages
where location is needed for all elements.
(Also see localizable(IterableRealInterval)).
T - pixel typeinterval - interval over which to provide a Stream.Stream<RealLocalizableSampler<T>> over the elements of
the given interval.public static <T> Stream<LocalizableSampler<T>> localizable(IterableInterval<T> interval)
Stream of the elements (value and location)
of the given interval.
Element locations are computed on demand only, which is suited for usages
where location is only needed for a few elements.
(Also see localizing(IterableInterval)).
T - pixel typeinterval - interval over which to provide a Stream.Stream<LocalizableSampler<T>> over the elements of the
given interval.public static <T> Stream<LocalizableSampler<T>> localizing(IterableInterval<T> interval)
Stream of the elements (value and location)
of the given interval.
Element location is tracked preemptively on every step, which is suited for usages
where location is needed for all elements.
(Also see localizable(IterableInterval)).
T - pixel typeinterval - interval over which to provide a Stream.Stream<LocalizableSampler<T>> over the elements of the
given interval.Copyright © 2009–2025 ImgLib2. All rights reserved.