Skip to content

Commit

Permalink
Javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Oct 13, 2024
1 parent a6e112c commit 981744d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/main/java/org/apache/commons/lang3/ArrayFill.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
public final class ArrayFill {

/**
* Fills and returns the given array.
* Fills and returns the given array, assigning the given {@code byte} value to each element of the array.
*
* @param a the array to be filled (may be null).
* @param val the value to be stored in all elements of the array.
Expand All @@ -42,7 +42,7 @@ public static byte[] fill(final byte[] a, final byte val) {
}

/**
* Fills and returns the given array.
* Fills and returns the given array, assigning the given {@code char} value to each element of the array.
*
* @param a the array to be filled (may be null).
* @param val the value to be stored in all elements of the array.
Expand All @@ -57,7 +57,7 @@ public static char[] fill(final char[] a, final char val) {
}

/**
* Fills and returns the given array.
* Fills and returns the given array, assigning the given {@code double} value to each element of the array.
*
* @param a the array to be filled (may be null).
* @param val the value to be stored in all elements of the array.
Expand All @@ -72,7 +72,7 @@ public static double[] fill(final double[] a, final double val) {
}

/**
* Fills and returns the given array.
* Fills and returns the given array, assigning the given {@code float} value to each element of the array.
*
* @param a the array to be filled (may be null).
* @param val the value to be stored in all elements of the array.
Expand All @@ -87,7 +87,7 @@ public static float[] fill(final float[] a, final float val) {
}

/**
* Fills and returns the given array.
* Fills and returns the given array, assigning the given {@code int} value to each element of the array.
*
* @param a the array to be filled (may be null).
* @param val the value to be stored in all elements of the array.
Expand All @@ -102,7 +102,7 @@ public static int[] fill(final int[] a, final int val) {
}

/**
* Fills and returns the given array.
* Fills and returns the given array, assigning the given {@code long} value to each element of the array.
*
* @param a the array to be filled (may be null).
* @param val the value to be stored in all elements of the array.
Expand All @@ -117,7 +117,7 @@ public static long[] fill(final long[] a, final long val) {
}

/**
* Fills and returns the given array.
* Fills and returns the given array, assigning the given {@code short} value to each element of the array.
*
* @param a the array to be filled (may be null).
* @param val the value to be stored in all elements of the array.
Expand All @@ -132,7 +132,7 @@ public static short[] fill(final short[] a, final short val) {
}

/**
* Fills and returns the given array.
* Fills and returns the given array, assigning the given {@code T} value to each element of the array.
*
* @param <T> the array type.
* @param a the array to be filled (may be null).
Expand Down

0 comments on commit 981744d

Please sign in to comment.