Skip to content

Commit

Permalink
Override II default methods where it makes sense
Browse files Browse the repository at this point in the history
  • Loading branch information
tpietzsch committed May 8, 2024
1 parent eb63e8c commit 0075192
Showing 1 changed file with 25 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
package net.imglib2.python;

import net.imglib2.AbstractWrappedInterval;
import net.imglib2.Cursor;
import net.imglib2.Interval;
import net.imglib2.RandomAccess;
import net.imglib2.RandomAccessibleInterval;
Expand Down Expand Up @@ -74,4 +75,28 @@ public T getType()
{
return sourceInterval.getType();
}

@Override
public Cursor< T > cursor()
{
return sourceInterval.cursor();
}

@Override
public Cursor< T > localizingCursor()
{
return sourceInterval.localizingCursor();
}

@Override
public Object iterationOrder()
{
return sourceInterval.iterationOrder();
}

@Override
public long size()
{
return sourceInterval.size();
}
}

0 comments on commit 0075192

Please sign in to comment.