Skip to content

Commit 3d824d1

Browse files
committed
Improve generic parameters JavaDoc
1 parent 6a4f6b8 commit 3d824d1

File tree

1 file changed

+12
-16
lines changed

1 file changed

+12
-16
lines changed

src/main/java/net/imglib2/algorithm/fill/FloodFill.java

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ public class FloodFill
8787
* components, e.g.
8888
* {@link net.imglib2.algorithm.neighborhood.DiamondShape}
8989
* @param <T>
90-
* T implements {@code Type<U>}.
90+
* input pixel type
9191
* @param <U>
92-
* U implements {@code Type<U>}.
92+
* fill label type
9393
*/
9494
public static < T extends Type< T >, U extends Type< U > > void fill(
9595
final RandomAccessible< T > source,
@@ -135,9 +135,9 @@ public static < T extends Type< T >, U extends Type< U > > void fill(
135135
* written into. Returns false if target pixel has been visited
136136
* or source pixel is not part of the same connected component.
137137
* @param <T>
138-
* No restrictions on {@link T}.
138+
* input pixel type
139139
* @param <U>
140-
* {@link U} implements {@code Type<U>}.
140+
* fill label type
141141
*/
142142
public static < T, U extends Type< U > > void fill(
143143
final RandomAccessible< T > source,
@@ -177,11 +177,9 @@ public static < T, U extends Type< U > > void fill(
177177
* Defines how fill label is written into target at current
178178
* location.
179179
* @param <T>
180-
* No restrictions on T. Appropriate filter is the only
181-
* requirement.
180+
* input pixel type
182181
* @param <U>
183-
* No restrictions on U. Appropriate filter and writer is the
184-
* only requirement.
182+
* fill label type
185183
*/
186184
public static < T, U > void fill(
187185
final RandomAccessible< T > source,
@@ -265,9 +263,9 @@ public static < T, U > void fill(
265263
* written into. Returns false if target pixel has been visited
266264
* or source pixel is not part of the same connected component.
267265
* @param <T>
268-
* T implements {@code Type<U>}.
266+
* input pixel type
269267
* @param <U>
270-
* U implements {@code Type<U>}.
268+
* fill label type
271269
*/
272270
@Deprecated
273271
public static < T extends Type< T >, U extends Type< U > > void fill( final RandomAccessible< T > source, final RandomAccessible< U > target, final Localizable seed, final U fillLabel, final Shape shape, final Filter< Pair< T, U >, Pair< T, U > > filter )
@@ -305,9 +303,9 @@ public static < T extends Type< T >, U extends Type< U > > void fill( final Rand
305303
* written into. Returns false if target pixel has been visited
306304
* or source pixel is not part of the same connected component.
307305
* @param <T>
308-
* No restrictions on {@link T}.
306+
* input pixel type
309307
* @param <U>
310-
* {@link U} implements {@code Type<U>}.
308+
* fill label type
311309
*/
312310
@Deprecated
313311
public static < T, U extends Type< U > > void fill( final RandomAccessible< T > source, final RandomAccessible< U > target, final Localizable seed, final T seedLabel, final U fillLabel, final Shape shape, final Filter< Pair< T, U >, Pair< T, U > > filter )
@@ -347,11 +345,9 @@ public static < T, U extends Type< U > > void fill( final RandomAccessible< T >
347345
* Defines how fillLabel is written into target at current
348346
* location.
349347
* @param <T>
350-
* No restrictions on T. Appropriate comparator is the only
351-
* requirement.
348+
* input pixel type
352349
* @param <U>
353-
* No restrictions on U. Appropriate comparator and writer is the
354-
* only requirement.
350+
* fill label type
355351
*/
356352
@Deprecated
357353
public static < T, U > void fill( final RandomAccessible< T > source, final RandomAccessible< U > target, final Localizable seed, final T seedLabel, final U fillLabel, final Shape shape, final Filter< Pair< T, U >, Pair< T, U > > filter, final Writer< U > writer )

0 commit comments

Comments
 (0)