Skip to content

Commit

Permalink
Add missing getType() implementations
Browse files Browse the repository at this point in the history
  • Loading branch information
tpietzsch committed Apr 5, 2024
1 parent 0659a63 commit baa4da3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,10 @@ public RandomAccess<Neighborhood<T>> randomAccess() {
public RandomAccess<Neighborhood<T>> randomAccess(final Interval interval) {
return new NeighborhoodRandomAccess<T>(source, factory, interval);
}

@Override
public Neighborhood< T > getType()
{
return randomAccess().getType();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,10 @@ public RandomAccess<T> randomAccess(Interval interval) {
public int numDimensions() {
return blueprint.numDimensions();
}

@Override
public T getType()
{
return blueprint.getType();
}
}

0 comments on commit baa4da3

Please sign in to comment.