Open tpietzsch opened 7 years ago
How about
pad( final RandomAccessibleInterval<T> source, final long padding );
pad( final RandomAccessibleInterval<T> source, final long... padding );
?
expandBorder
, expandMirrorSingle
etc are already there.
Do you mean that you would like to deprecate them and introduce padBorder
, padMirrorSingle
, etc?
not worth it, just liked the word pad more for a second
I also like it more. Not per se, but because it is less easy to confuse with "extend"
It can be annoying with autocomplete, so we could consider replacing "expand" with "pad" (deprecating the expand methods).
We should add
(etc) to accompany
(etc). meaning expand by
int border
on every side.--> Just like it is done in the
Intervals.expand
methods...