Skip to content

Commit

Permalink
Implement spliterator() in IntervalView
Browse files Browse the repository at this point in the history
  • Loading branch information
tpietzsch committed May 7, 2024
1 parent e0bf853 commit c6773da
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/main/java/net/imglib2/view/IntervalView.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
import net.imglib2.RandomAccessible;
import net.imglib2.RandomAccessibleInterval;
import net.imglib2.View;
import net.imglib2.stream.LocalizableSpliterator;
import net.imglib2.view.iteration.IterableTransformBuilder;

/**
Expand Down Expand Up @@ -174,6 +175,18 @@ public Cursor< T > localizingCursor()
return getFullViewIterableInterval().localizingCursor();
}

@Override
public LocalizableSpliterator< T > spliterator()
{
return getFullViewIterableInterval().spliterator();
}

@Override
public LocalizableSpliterator< T > localizingSpliterator()
{
return getFullViewIterableInterval().localizingSpliterator();
}

@Override
public T getType()
{
Expand Down

0 comments on commit c6773da

Please sign in to comment.