Class Index
-
Method Summary
Modifier and TypeMethodDescriptionstatic BitSet
allOf
(boolean[] a, boolean valueToFind) Finds the indices of the given value in the array.static BitSet
allOf
(boolean[] a, int startIndex, boolean valueToFind) Finds the indices of the given value in the a starting at the given index.static BitSet
allOf
(byte[] a, byte valueToFind) Finds the indices of the given value in the array.static BitSet
allOf
(byte[] a, int startIndex, byte valueToFind) Finds the indices of the given value in the a starting at the given index.static BitSet
allOf
(char[] a, char valueToFind) Finds the indices of the given value in the array.static BitSet
allOf
(char[] a, int startIndex, char valueToFind) Finds the indices of the given value in the a starting at the given index.static BitSet
allOf
(double[] a, double valueToFind) Finds the indices of the given value in the array.static BitSet
allOf
(double[] a, double valueToFind, double tolerance) Finds the indices of the given value within a given tolerance in the array.static BitSet
allOf
(double[] a, int startIndex, double valueToFind) Finds the indices of the given value in the a starting at the given index.static BitSet
allOf
(double[] a, int startIndex, double valueToFind, double tolerance) Finds the indices of the given value in the a starting at the given index.static BitSet
allOf
(float[] a, float valueToFind) Finds the indices of the given value in the array.static BitSet
allOf
(float[] a, int startIndex, float valueToFind) Finds the indices of the given value in the a starting at the given index.static BitSet
allOf
(int[] a, int valueToFind) Finds the indices of the given value in the array.static BitSet
allOf
(int[] a, int startIndex, int valueToFind) Finds the indices of the given value in the a starting at the given index.static BitSet
allOf
(long[] a, int startIndex, long valueToFind) Finds the indices of the given value in the a starting at the given index.static BitSet
allOf
(long[] a, long valueToFind) Finds the indices of the given value in the array.static BitSet
allOf
(short[] a, int startIndex, short valueToFind) Finds the indices of the given value in the a starting at the given index.static BitSet
allOf
(short[] a, short valueToFind) Finds the indices of the given value in the array.static BitSet
Finds the indices of the given object in the a starting at the given index.static BitSet
Finds the indices of the given object in the array.static BitSet
allOf
(Collection<?> c, int startIndex, Object valueToFind) Finds the indices of the given object in the a starting at the given index.static BitSet
allOf
(Collection<?> c, Object valueToFind) Finds the indices of the given object in the array.static u.OptionalInt
last
(boolean[] a, boolean valueToFind) static u.OptionalInt
last
(boolean[] a, int startIndexFromBack, boolean valueToFind) static u.OptionalInt
last
(byte[] a, byte valueToFind) static u.OptionalInt
last
(byte[] a, int startIndexFromBack, byte valueToFind) static u.OptionalInt
last
(char[] a, char valueToFind) static u.OptionalInt
last
(char[] a, int startIndexFromBack, char valueToFind) static u.OptionalInt
last
(double[] a, double valueToFind) static u.OptionalInt
last
(double[] a, double valueToFind, double tolerance) static u.OptionalInt
last
(double[] a, int startIndexFromBack, double valueToFind) static u.OptionalInt
last
(double[] a, int startIndexFromBack, double valueToFind, double tolerance) static u.OptionalInt
last
(float[] a, float valueToFind) static u.OptionalInt
last
(float[] a, int startIndexFromBack, float valueToFind) static u.OptionalInt
last
(int[] a, int valueToFind) static u.OptionalInt
last
(int[] a, int startIndexFromBack, int valueToFind) static u.OptionalInt
last
(long[] a, int startIndexFromBack, long valueToFind) static u.OptionalInt
last
(long[] a, long valueToFind) static u.OptionalInt
last
(short[] a, int startIndexFromBack, short valueToFind) static u.OptionalInt
last
(short[] a, short valueToFind) static u.OptionalInt
static u.OptionalInt
static u.OptionalInt
static u.OptionalInt
static u.OptionalInt
static u.OptionalInt
static u.OptionalInt
last
(Collection<?> c, int startIndexFromBack, Object valueToFind) static u.OptionalInt
last
(Collection<?> c, Object valueToFind) static u.OptionalInt
lastOfIgnoreCase
(String str, int startIndexFromBack, String valueToFind) static u.OptionalInt
lastOfIgnoreCase
(String str, String valueToFind) static u.OptionalInt
lastOfSubArray
(boolean[] sourceArray, boolean[] subArrayToFind) static u.OptionalInt
lastOfSubArray
(boolean[] sourceArray, int startIndexFromBack, boolean[] subArrayToFind) static u.OptionalInt
lastOfSubArray
(boolean[] sourceArray, int startIndexFromBack, boolean[] subArrayToFind, int beginIndexOfTargetSubArray, int size) Last of sub array.static u.OptionalInt
lastOfSubArray
(byte[] sourceArray, byte[] subArrayToFind) static u.OptionalInt
lastOfSubArray
(byte[] sourceArray, int startIndexFromBack, byte[] subArrayToFind) static u.OptionalInt
lastOfSubArray
(byte[] sourceArray, int startIndexFromBack, byte[] subArrayToFind, int beginIndexOfTargetSubArray, int size) Last of sub array.static u.OptionalInt
lastOfSubArray
(char[] sourceArray, char[] subArrayToFind) static u.OptionalInt
lastOfSubArray
(char[] sourceArray, int startIndexFromBack, char[] subArrayToFind) static u.OptionalInt
lastOfSubArray
(char[] sourceArray, int startIndexFromBack, char[] subArrayToFind, int beginIndexOfTargetSubArray, int size) Last of sub array.static u.OptionalInt
lastOfSubArray
(double[] sourceArray, double[] subArrayToFind) static u.OptionalInt
lastOfSubArray
(double[] sourceArray, int startIndexFromBack, double[] subArrayToFind) static u.OptionalInt
lastOfSubArray
(double[] sourceArray, int startIndexFromBack, double[] subArrayToFind, int beginIndexOfTargetSubArray, int size) Last of sub array.static u.OptionalInt
lastOfSubArray
(float[] sourceArray, float[] subArrayToFind) static u.OptionalInt
lastOfSubArray
(float[] sourceArray, int startIndexFromBack, float[] subArrayToFind) static u.OptionalInt
lastOfSubArray
(float[] sourceArray, int startIndexFromBack, float[] subArrayToFind, int beginIndexOfTargetSubArray, int size) Last of sub array.static u.OptionalInt
lastOfSubArray
(int[] sourceArray, int[] subArrayToFind) static u.OptionalInt
lastOfSubArray
(int[] sourceArray, int startIndexFromBack, int[] subArrayToFind) static u.OptionalInt
lastOfSubArray
(int[] sourceArray, int startIndexFromBack, int[] subArrayToFind, int beginIndexOfTargetSubArray, int size) Last of sub array.static u.OptionalInt
lastOfSubArray
(long[] sourceArray, int startIndexFromBack, long[] subArrayToFind) static u.OptionalInt
lastOfSubArray
(long[] sourceArray, int startIndexFromBack, long[] subArrayToFind, int beginIndexOfTargetSubArray, int size) Last of sub array.static u.OptionalInt
lastOfSubArray
(long[] sourceArray, long[] subArrayToFind) static u.OptionalInt
lastOfSubArray
(short[] sourceArray, int startIndexFromBack, short[] subArrayToFind) static u.OptionalInt
lastOfSubArray
(short[] sourceArray, int startIndexFromBack, short[] subArrayToFind, int beginIndexOfTargetSubArray, int size) Last of sub array.static u.OptionalInt
lastOfSubArray
(short[] sourceArray, short[] subArrayToFind) static u.OptionalInt
lastOfSubArray
(Object[] sourceArray, int startIndexFromBack, Object[] subArrayToFind) static u.OptionalInt
lastOfSubArray
(Object[] sourceArray, int startIndexFromBack, Object[] subArrayToFind, int beginIndexOfTargetSubArray, int size) Last of sub array.static u.OptionalInt
lastOfSubArray
(Object[] sourceArray, Object[] subArrayToFind) static u.OptionalInt
lastOfSubList
(List<?> sourceList, int startIndexFromBack, List<?> subListToFind) static u.OptionalInt
lastOfSubList
(List<?> sourceList, int startIndexFromBack, List<?> subArrayToFind, int beginIndexOfTargetSubList, int size) Last of sub list.static u.OptionalInt
lastOfSubList
(List<?> sourceList, List<?> subListToFind) static u.OptionalInt
of
(boolean[] a, boolean valueToFind) static u.OptionalInt
of
(boolean[] a, int startIndex, boolean valueToFind) static u.OptionalInt
of
(byte[] a, byte valueToFind) static u.OptionalInt
of
(byte[] a, int startIndex, byte valueToFind) static u.OptionalInt
of
(char[] a, char valueToFind) static u.OptionalInt
of
(char[] a, int startIndex, char valueToFind) static u.OptionalInt
of
(double[] a, double valueToFind) static u.OptionalInt
of
(double[] a, double valueToFind, double tolerance) static u.OptionalInt
of
(double[] a, int startIndex, double valueToFind) static u.OptionalInt
of
(double[] a, int startIndex, double valueToFind, double tolerance) static u.OptionalInt
of
(float[] a, float valueToFind) static u.OptionalInt
of
(float[] a, int startIndex, float valueToFind) static u.OptionalInt
of
(int[] a, int valueToFind) static u.OptionalInt
of
(int[] a, int startIndex, int valueToFind) static u.OptionalInt
of
(long[] a, int startIndex, long valueToFind) static u.OptionalInt
of
(long[] a, long valueToFind) static u.OptionalInt
of
(short[] a, int startIndex, short valueToFind) static u.OptionalInt
of
(short[] a, short valueToFind) static u.OptionalInt
static u.OptionalInt
static u.OptionalInt
static u.OptionalInt
static u.OptionalInt
static u.OptionalInt
static u.OptionalInt
of
(Collection<?> c, int startIndex, Object valueToFind) static u.OptionalInt
of
(Collection<?> c, Object valueToFind) static u.OptionalInt
static u.OptionalInt
static u.OptionalInt
ofIgnoreCase
(String str, int startIndex, String valueToFind) static u.OptionalInt
ofIgnoreCase
(String str, String valueToFind) static u.OptionalInt
ofSubArray
(boolean[] sourceArray, boolean[] subArrayToFind) static u.OptionalInt
ofSubArray
(boolean[] sourceArray, int startIndex, boolean[] subArrayToFind) static u.OptionalInt
ofSubArray
(boolean[] sourceArray, int startIndex, boolean[] subArrayToFind, int beginIndexOfTargetSubArray, int size) Of sub array.static u.OptionalInt
ofSubArray
(byte[] sourceArray, byte[] subArrayToFind) static u.OptionalInt
ofSubArray
(byte[] sourceArray, int startIndex, byte[] subArrayToFind) static u.OptionalInt
ofSubArray
(byte[] sourceArray, int startIndex, byte[] subArrayToFind, int beginIndexOfTargetSubArray, int size) Of sub array.static u.OptionalInt
ofSubArray
(char[] sourceArray, char[] subArrayToFind) static u.OptionalInt
ofSubArray
(char[] sourceArray, int startIndex, char[] subArrayToFind) static u.OptionalInt
ofSubArray
(char[] sourceArray, int startIndex, char[] subArrayToFind, int beginIndexOfTargetSubArray, int size) Of sub array.static u.OptionalInt
ofSubArray
(double[] sourceArray, double[] subArrayToFind) static u.OptionalInt
ofSubArray
(double[] sourceArray, int startIndex, double[] subArrayToFind) static u.OptionalInt
ofSubArray
(double[] sourceArray, int startIndex, double[] subArrayToFind, int beginIndexOfTargetSubArray, int size) Of sub array.static u.OptionalInt
ofSubArray
(float[] sourceArray, float[] subArrayToFind) static u.OptionalInt
ofSubArray
(float[] sourceArray, int startIndex, float[] subArrayToFind) static u.OptionalInt
ofSubArray
(float[] sourceArray, int startIndex, float[] subArrayToFind, int beginIndexOfTargetSubArray, int size) Of sub array.static u.OptionalInt
ofSubArray
(int[] sourceArray, int[] subArrayToFind) static u.OptionalInt
ofSubArray
(int[] sourceArray, int startIndex, int[] subArrayToFind) static u.OptionalInt
ofSubArray
(int[] sourceArray, int startIndex, int[] subArrayToFind, int beginIndexOfTargetSubArray, int size) Of sub array.static u.OptionalInt
ofSubArray
(long[] sourceArray, int startIndex, long[] subArrayToFind) static u.OptionalInt
ofSubArray
(long[] sourceArray, int startIndex, long[] subArrayToFind, int beginIndexOfTargetSubArray, int size) Of sub array.static u.OptionalInt
ofSubArray
(long[] sourceArray, long[] subArrayToFind) static u.OptionalInt
ofSubArray
(short[] sourceArray, int startIndex, short[] subArrayToFind) static u.OptionalInt
ofSubArray
(short[] sourceArray, int startIndex, short[] subArrayToFind, int beginIndexOfTargetSubArray, int size) Of sub array.static u.OptionalInt
ofSubArray
(short[] sourceArray, short[] subArrayToFind) static u.OptionalInt
ofSubArray
(Object[] sourceArray, int startIndex, Object[] subArrayToFind) static u.OptionalInt
ofSubArray
(Object[] sourceArray, int startIndex, Object[] subArrayToFind, int beginIndexOfTargetSubArray, int size) Of sub array.static u.OptionalInt
ofSubArray
(Object[] sourceArray, Object[] subArrayToFind) static u.OptionalInt
static u.OptionalInt
ofSubList
(List<?> sourceList, int startIndex, List<?> subListToFind, int beginIndexOfTargetSubList, int size) Of sub list.static u.OptionalInt
-
Method Details
-
of
- Parameters:
a
-valueToFind
-- Returns:
-
of
- Parameters:
a
-startIndex
-valueToFind
-- Returns:
-
of
- Parameters:
a
-valueToFind
-- Returns:
-
of
- Parameters:
a
-startIndex
-valueToFind
-- Returns:
-
of
- Parameters:
a
-valueToFind
-- Returns:
-
of
- Parameters:
a
-startIndex
-valueToFind
-- Returns:
-
of
- Parameters:
a
-valueToFind
-- Returns:
-
of
- Parameters:
a
-startIndex
-valueToFind
-- Returns:
-
of
- Parameters:
a
-valueToFind
-- Returns:
-
of
- Parameters:
a
-startIndex
-valueToFind
-- Returns:
-
of
- Parameters:
a
-valueToFind
-- Returns:
-
of
- Parameters:
a
-startIndex
-valueToFind
-- Returns:
-
of
- Parameters:
a
-valueToFind
-- Returns:
-
of
- Parameters:
a
-startIndex
-valueToFind
-- Returns:
-
of
- Parameters:
a
-valueToFind
-- Returns:
-
of
- Parameters:
a
-startIndex
-valueToFind
-- Returns:
-
of
- Parameters:
a
-valueToFind
-tolerance
-- Returns:
- See Also:
-
CommonUtil.indexOf(double[], double, double)
-
of
- Parameters:
a
-startIndex
-valueToFind
-tolerance
-- Returns:
- See Also:
-
CommonUtil.indexOf(double[], int, double, double)
-
of
- Parameters:
a
-valueToFind
-- Returns:
-
of
- Parameters:
a
-startIndex
-valueToFind
-- Returns:
-
of
- Parameters:
c
-valueToFind
-- Returns:
-
of
- Parameters:
c
-startIndex
-valueToFind
-- Returns:
-
of
- Parameters:
iter
-valueToFind
-- Returns:
-
of
- Parameters:
iter
-startIndex
-valueToFind
-- Returns:
-
of
- Parameters:
str
-valueToFind
-- Returns:
-
of
- Parameters:
str
-startIndex
-valueToFind
-- Returns:
-
of
- Parameters:
str
-valueToFind
-- Returns:
-
of
- Parameters:
str
-startIndex
-valueToFind
-- Returns:
-
ofIgnoreCase
- Parameters:
str
-valueToFind
-- Returns:
-
ofIgnoreCase
- Parameters:
str
-startIndex
-valueToFind
-- Returns:
-
ofSubArray
- Parameters:
sourceArray
-subArrayToFind
-- Returns:
-
ofSubArray
public static u.OptionalInt ofSubArray(boolean[] sourceArray, int startIndex, boolean[] subArrayToFind) - Parameters:
sourceArray
-startIndex
-subArrayToFind
-- Returns:
-
ofSubArray
public static u.OptionalInt ofSubArray(boolean[] sourceArray, int startIndex, boolean[] subArrayToFind, int beginIndexOfTargetSubArray, int size) Of sub array.- Parameters:
sourceArray
-startIndex
-subArrayToFind
-beginIndexOfTargetSubArray
-size
-- Returns:
-
ofSubArray
- Parameters:
sourceArray
-subArrayToFind
-- Returns:
-
ofSubArray
- Parameters:
sourceArray
-startIndex
-subArrayToFind
-- Returns:
-
ofSubArray
public static u.OptionalInt ofSubArray(char[] sourceArray, int startIndex, char[] subArrayToFind, int beginIndexOfTargetSubArray, int size) Of sub array.- Parameters:
sourceArray
-startIndex
-subArrayToFind
-beginIndexOfTargetSubArray
-size
-- Returns:
-
ofSubArray
- Parameters:
sourceArray
-subArrayToFind
-- Returns:
-
ofSubArray
- Parameters:
sourceArray
-startIndex
-subArrayToFind
-- Returns:
-
ofSubArray
public static u.OptionalInt ofSubArray(byte[] sourceArray, int startIndex, byte[] subArrayToFind, int beginIndexOfTargetSubArray, int size) Of sub array.- Parameters:
sourceArray
-startIndex
-subArrayToFind
-beginIndexOfTargetSubArray
-size
-- Returns:
-
ofSubArray
- Parameters:
sourceArray
-subArrayToFind
-- Returns:
-
ofSubArray
- Parameters:
sourceArray
-startIndex
-subArrayToFind
-- Returns:
-
ofSubArray
public static u.OptionalInt ofSubArray(short[] sourceArray, int startIndex, short[] subArrayToFind, int beginIndexOfTargetSubArray, int size) Of sub array.- Parameters:
sourceArray
-startIndex
-subArrayToFind
-beginIndexOfTargetSubArray
-size
-- Returns:
-
ofSubArray
- Parameters:
sourceArray
-subArrayToFind
-- Returns:
-
ofSubArray
- Parameters:
sourceArray
-startIndex
-subArrayToFind
-- Returns:
-
ofSubArray
public static u.OptionalInt ofSubArray(int[] sourceArray, int startIndex, int[] subArrayToFind, int beginIndexOfTargetSubArray, int size) Of sub array.- Parameters:
sourceArray
-startIndex
-subArrayToFind
-beginIndexOfTargetSubArray
-size
-- Returns:
-
ofSubArray
- Parameters:
sourceArray
-subArrayToFind
-- Returns:
-
ofSubArray
- Parameters:
sourceArray
-startIndex
-subArrayToFind
-- Returns:
-
ofSubArray
public static u.OptionalInt ofSubArray(long[] sourceArray, int startIndex, long[] subArrayToFind, int beginIndexOfTargetSubArray, int size) Of sub array.- Parameters:
sourceArray
-startIndex
-subArrayToFind
-beginIndexOfTargetSubArray
-size
-- Returns:
-
ofSubArray
- Parameters:
sourceArray
-subArrayToFind
-- Returns:
-
ofSubArray
- Parameters:
sourceArray
-startIndex
-subArrayToFind
-- Returns:
-
ofSubArray
public static u.OptionalInt ofSubArray(float[] sourceArray, int startIndex, float[] subArrayToFind, int beginIndexOfTargetSubArray, int size) Of sub array.- Parameters:
sourceArray
-startIndex
-subArrayToFind
-beginIndexOfTargetSubArray
-size
-- Returns:
-
ofSubArray
- Parameters:
sourceArray
-subArrayToFind
-- Returns:
-
ofSubArray
public static u.OptionalInt ofSubArray(double[] sourceArray, int startIndex, double[] subArrayToFind) - Parameters:
sourceArray
-startIndex
-subArrayToFind
-- Returns:
-
ofSubArray
public static u.OptionalInt ofSubArray(double[] sourceArray, int startIndex, double[] subArrayToFind, int beginIndexOfTargetSubArray, int size) Of sub array.- Parameters:
sourceArray
-startIndex
-subArrayToFind
-beginIndexOfTargetSubArray
-size
-- Returns:
-
ofSubArray
- Parameters:
sourceArray
-subArrayToFind
-- Returns:
-
ofSubArray
public static u.OptionalInt ofSubArray(Object[] sourceArray, int startIndex, Object[] subArrayToFind) - Parameters:
sourceArray
-startIndex
-subArrayToFind
-- Returns:
-
ofSubArray
public static u.OptionalInt ofSubArray(Object[] sourceArray, int startIndex, Object[] subArrayToFind, int beginIndexOfTargetSubArray, int size) Of sub array.- Parameters:
sourceArray
-startIndex
-subArrayToFind
-beginIndexOfTargetSubArray
-size
-- Returns:
-
ofSubList
- Parameters:
sourceList
-subListToFind
-- Returns:
-
ofSubList
- Parameters:
sourceList
-startIndex
-subListToFind
-- Returns:
-
ofSubList
public static u.OptionalInt ofSubList(List<?> sourceList, int startIndex, List<?> subListToFind, int beginIndexOfTargetSubList, int size) Of sub list.- Parameters:
sourceList
-startIndex
-subListToFind
-beginIndexOfTargetSubList
-size
-- Returns:
-
last
- Parameters:
a
-valueToFind
-- Returns:
-
last
- Parameters:
a
-startIndexFromBack
-valueToFind
-- Returns:
-
last
- Parameters:
a
-valueToFind
-- Returns:
-
last
- Parameters:
a
-startIndexFromBack
-valueToFind
-- Returns:
-
last
- Parameters:
a
-valueToFind
-- Returns:
-
last
- Parameters:
a
-startIndexFromBack
-valueToFind
-- Returns:
-
last
- Parameters:
a
-valueToFind
-- Returns:
-
last
- Parameters:
a
-startIndexFromBack
-valueToFind
-- Returns:
-
last
- Parameters:
a
-valueToFind
-- Returns:
-
last
- Parameters:
a
-startIndexFromBack
-valueToFind
-- Returns:
-
last
- Parameters:
a
-valueToFind
-- Returns:
-
last
- Parameters:
a
-startIndexFromBack
-valueToFind
-- Returns:
-
last
- Parameters:
a
-valueToFind
-- Returns:
-
last
- Parameters:
a
-startIndexFromBack
-valueToFind
-- Returns:
-
last
- Parameters:
a
-valueToFind
-- Returns:
-
last
- Parameters:
a
-startIndexFromBack
-valueToFind
-- Returns:
-
last
- Parameters:
a
-valueToFind
-tolerance
-- Returns:
- See Also:
-
CommonUtil.lastIndexOf(double[], double, double)
-
last
public static u.OptionalInt last(double[] a, int startIndexFromBack, double valueToFind, double tolerance) - Parameters:
a
-startIndexFromBack
-valueToFind
-tolerance
-- Returns:
- See Also:
-
CommonUtil.lastIndexOf(double[], int, double, double)
-
last
- Parameters:
a
-valueToFind
-- Returns:
-
last
- Parameters:
a
-startIndexFromBack
-valueToFind
-- Returns:
-
last
- Parameters:
c
-valueToFind
-- Returns:
-
last
- Parameters:
c
-startIndexFromBack
-valueToFind
-- Returns:
-
last
- Parameters:
str
-valueToFind
-- Returns:
-
last
- Parameters:
str
-startIndexFromBack
-valueToFind
-- Returns:
-
last
- Parameters:
str
-valueToFind
-- Returns:
-
last
- Parameters:
str
-startIndexFromBack
-valueToFind
-- Returns:
-
lastOfIgnoreCase
- Parameters:
str
-valueToFind
-- Returns:
-
lastOfIgnoreCase
public static u.OptionalInt lastOfIgnoreCase(String str, int startIndexFromBack, String valueToFind) - Parameters:
str
-startIndexFromBack
-valueToFind
-- Returns:
-
lastOfSubArray
- Parameters:
sourceArray
-subArrayToFind
-- Returns:
-
lastOfSubArray
public static u.OptionalInt lastOfSubArray(boolean[] sourceArray, int startIndexFromBack, boolean[] subArrayToFind) - Parameters:
sourceArray
-startIndexFromBack
-subArrayToFind
-- Returns:
-
lastOfSubArray
public static u.OptionalInt lastOfSubArray(boolean[] sourceArray, int startIndexFromBack, boolean[] subArrayToFind, int beginIndexOfTargetSubArray, int size) Last of sub array.- Parameters:
sourceArray
-startIndexFromBack
-subArrayToFind
-beginIndexOfTargetSubArray
-size
-- Returns:
-
lastOfSubArray
- Parameters:
sourceArray
-subArrayToFind
-- Returns:
-
lastOfSubArray
public static u.OptionalInt lastOfSubArray(char[] sourceArray, int startIndexFromBack, char[] subArrayToFind) - Parameters:
sourceArray
-startIndexFromBack
-subArrayToFind
-- Returns:
-
lastOfSubArray
public static u.OptionalInt lastOfSubArray(char[] sourceArray, int startIndexFromBack, char[] subArrayToFind, int beginIndexOfTargetSubArray, int size) Last of sub array.- Parameters:
sourceArray
-startIndexFromBack
-subArrayToFind
-beginIndexOfTargetSubArray
-size
-- Returns:
-
lastOfSubArray
- Parameters:
sourceArray
-subArrayToFind
-- Returns:
-
lastOfSubArray
public static u.OptionalInt lastOfSubArray(byte[] sourceArray, int startIndexFromBack, byte[] subArrayToFind) - Parameters:
sourceArray
-startIndexFromBack
-subArrayToFind
-- Returns:
-
lastOfSubArray
public static u.OptionalInt lastOfSubArray(byte[] sourceArray, int startIndexFromBack, byte[] subArrayToFind, int beginIndexOfTargetSubArray, int size) Last of sub array.- Parameters:
sourceArray
-startIndexFromBack
-subArrayToFind
-beginIndexOfTargetSubArray
-size
-- Returns:
-
lastOfSubArray
- Parameters:
sourceArray
-subArrayToFind
-- Returns:
-
lastOfSubArray
public static u.OptionalInt lastOfSubArray(short[] sourceArray, int startIndexFromBack, short[] subArrayToFind) - Parameters:
sourceArray
-startIndexFromBack
-subArrayToFind
-- Returns:
-
lastOfSubArray
public static u.OptionalInt lastOfSubArray(short[] sourceArray, int startIndexFromBack, short[] subArrayToFind, int beginIndexOfTargetSubArray, int size) Last of sub array.- Parameters:
sourceArray
-startIndexFromBack
-subArrayToFind
-beginIndexOfTargetSubArray
-size
-- Returns:
-
lastOfSubArray
- Parameters:
sourceArray
-subArrayToFind
-- Returns:
-
lastOfSubArray
public static u.OptionalInt lastOfSubArray(int[] sourceArray, int startIndexFromBack, int[] subArrayToFind) - Parameters:
sourceArray
-startIndexFromBack
-subArrayToFind
-- Returns:
-
lastOfSubArray
public static u.OptionalInt lastOfSubArray(int[] sourceArray, int startIndexFromBack, int[] subArrayToFind, int beginIndexOfTargetSubArray, int size) Last of sub array.- Parameters:
sourceArray
-startIndexFromBack
-subArrayToFind
-beginIndexOfTargetSubArray
-size
-- Returns:
-
lastOfSubArray
- Parameters:
sourceArray
-subArrayToFind
-- Returns:
-
lastOfSubArray
public static u.OptionalInt lastOfSubArray(long[] sourceArray, int startIndexFromBack, long[] subArrayToFind) - Parameters:
sourceArray
-startIndexFromBack
-subArrayToFind
-- Returns:
-
lastOfSubArray
public static u.OptionalInt lastOfSubArray(long[] sourceArray, int startIndexFromBack, long[] subArrayToFind, int beginIndexOfTargetSubArray, int size) Last of sub array.- Parameters:
sourceArray
-startIndexFromBack
-subArrayToFind
-beginIndexOfTargetSubArray
-size
-- Returns:
-
lastOfSubArray
- Parameters:
sourceArray
-subArrayToFind
-- Returns:
-
lastOfSubArray
public static u.OptionalInt lastOfSubArray(float[] sourceArray, int startIndexFromBack, float[] subArrayToFind) - Parameters:
sourceArray
-startIndexFromBack
-subArrayToFind
-- Returns:
-
lastOfSubArray
public static u.OptionalInt lastOfSubArray(float[] sourceArray, int startIndexFromBack, float[] subArrayToFind, int beginIndexOfTargetSubArray, int size) Last of sub array.- Parameters:
sourceArray
-startIndexFromBack
-subArrayToFind
-beginIndexOfTargetSubArray
-size
-- Returns:
-
lastOfSubArray
- Parameters:
sourceArray
-subArrayToFind
-- Returns:
-
lastOfSubArray
public static u.OptionalInt lastOfSubArray(double[] sourceArray, int startIndexFromBack, double[] subArrayToFind) - Parameters:
sourceArray
-startIndexFromBack
-subArrayToFind
-- Returns:
-
lastOfSubArray
public static u.OptionalInt lastOfSubArray(double[] sourceArray, int startIndexFromBack, double[] subArrayToFind, int beginIndexOfTargetSubArray, int size) Last of sub array.- Parameters:
sourceArray
-startIndexFromBack
-subArrayToFind
-beginIndexOfTargetSubArray
-size
-- Returns:
-
lastOfSubArray
- Parameters:
sourceArray
-subArrayToFind
-- Returns:
-
lastOfSubArray
public static u.OptionalInt lastOfSubArray(Object[] sourceArray, int startIndexFromBack, Object[] subArrayToFind) - Parameters:
sourceArray
-startIndexFromBack
-subArrayToFind
-- Returns:
-
lastOfSubArray
public static u.OptionalInt lastOfSubArray(Object[] sourceArray, int startIndexFromBack, Object[] subArrayToFind, int beginIndexOfTargetSubArray, int size) Last of sub array.- Parameters:
sourceArray
-startIndexFromBack
-subArrayToFind
-beginIndexOfTargetSubArray
-size
-- Returns:
-
lastOfSubList
- Parameters:
sourceList
-subListToFind
-- Returns:
-
lastOfSubList
public static u.OptionalInt lastOfSubList(List<?> sourceList, int startIndexFromBack, List<?> subListToFind) - Parameters:
sourceList
-startIndexFromBack
-subListToFind
-- Returns:
-
lastOfSubList
public static u.OptionalInt lastOfSubList(List<?> sourceList, int startIndexFromBack, List<?> subArrayToFind, int beginIndexOfTargetSubList, int size) Last of sub list.- Parameters:
sourceList
-startIndexFromBack
-subArrayToFind
-beginIndexOfTargetSubList
-size
-- Returns:
-
allOf
Finds the indices of the given value in the array.This method returns an empty BitSet for a
null
input array.- Parameters:
a
- the a to search through for the object, may benull
valueToFind
-- Returns:
- a BitSet of all the the indices of the value within the a,
an empty BitSet if not found or
null
a input - Since:
- 3.10
-
allOf
Finds the indices of the given value in the a starting at the given index.This method returns an empty BitSet for a
null
input array.A negative startIndex is treated as zero. A startIndex larger than the a length will return an empty BitSet (
-1
).- Parameters:
a
- the a to search through for the object, may benull
startIndex
- the index to start searching atvalueToFind
-- Returns:
- a BitSet of all the indices of the value within the a,
an empty BitSet if not found or
null
a input - Since:
- 3.10
-
allOf
Finds the indices of the given value in the array.This method returns an empty BitSet for a
null
input array.- Parameters:
a
- the a to search through for the object, may benull
valueToFind
-- Returns:
- a BitSet of all the indices of the value within the a,
an empty BitSet if not found or
null
a input - Since:
- 3.10
-
allOf
Finds the indices of the given value in the a starting at the given index.This method returns an empty BitSet for a
null
input array.A negative startIndex is treated as zero. A startIndex larger than the a length will return an empty BitSet.
- Parameters:
a
- the a to search through for the object, may benull
startIndex
- the index to start searching atvalueToFind
-- Returns:
- a BitSet of all the indices of the value within the a,
an empty BitSet if not found or
null
a input - Since:
- 3.10
-
allOf
Finds the indices of the given value in the array.This method returns an empty BitSet for a
null
input array.- Parameters:
a
- the a to search through for the object, may benull
valueToFind
-- Returns:
- a BitSet of all the indices of the value within the a,
an empty BitSet if not found or
null
a input - Since:
- 3.10
-
allOf
Finds the indices of the given value in the a starting at the given index.This method returns an empty BitSet for a
null
input array.A negative startIndex is treated as zero. A startIndex larger than the a length will return an empty BitSet.
- Parameters:
a
- the a to search through for the object, may benull
startIndex
- the index to start searching atvalueToFind
-- Returns:
- a BitSet of all the indices of the value within the a,
an empty BitSet if not found or
null
a input - Since:
- 3.10
-
allOf
Finds the indices of the given value in the array.This method returns an empty BitSet for a
null
input array.- Parameters:
a
- the a to search through for the object, may benull
valueToFind
-- Returns:
- a BitSet of all the indices of the value within the a,
an empty BitSet if not found or
null
a input - Since:
- 3.10
-
allOf
Finds the indices of the given value in the a starting at the given index.This method returns an empty BitSet for a
null
input array.A negative startIndex is treated as zero. A startIndex larger than the a length will return an empty BitSet.
- Parameters:
a
- the a to search through for the object, may benull
startIndex
- the index to start searching atvalueToFind
-- Returns:
- a BitSet of all the indices of the value within the a,
an empty BitSet if not found or
null
a input - Since:
- 3.10
-
allOf
Finds the indices of the given value in the array.This method returns an empty BitSet for a
null
input array.- Parameters:
a
- the a to search through for the object, may benull
valueToFind
-- Returns:
- a BitSet of all the indices of the value within the a,
an empty BitSet if not found or
null
a input - Since:
- 3.10
-
allOf
Finds the indices of the given value in the a starting at the given index.This method returns an empty BitSet for a
null
input array.A negative startIndex is treated as zero. A startIndex larger than the a length will return an empty BitSet.
- Parameters:
a
- the a to search through for the object, may benull
startIndex
- the index to start searching atvalueToFind
-- Returns:
- a BitSet of all the indices of the value within the a,
an empty BitSet if not found or
null
a input - Since:
- 3.10
-
allOf
Finds the indices of the given value in the array.This method returns an empty BitSet for a
null
input array.- Parameters:
a
- the a to search through for the object, may benull
valueToFind
-- Returns:
- a BitSet of all the indices of the value within the a,
an empty BitSet if not found or
null
a input - Since:
- 3.10
-
allOf
Finds the indices of the given value in the a starting at the given index.This method returns an empty BitSet for a
null
input array.A negative startIndex is treated as zero. A startIndex larger than the a length will return an empty BitSet.
- Parameters:
a
- the a to search through for the object, may benull
startIndex
- the index to start searching atvalueToFind
-- Returns:
- a BitSet of all the indices of the value within the a,
an empty BitSet if not found or
null
a input - Since:
- 3.10
-
allOf
Finds the indices of the given value in the array.This method returns an empty BitSet for a
null
input array.- Parameters:
a
- the a to search through for the object, may benull
valueToFind
-- Returns:
- a BitSet of all the indices of the value within the a,
an empty BitSet if not found or
null
a input - Since:
- 3.10
-
allOf
Finds the indices of the given value in the a starting at the given index.This method returns an empty BitSet for a
null
input array.A negative startIndex is treated as zero. A startIndex larger than the a length will return empty BitSet.
- Parameters:
a
- the a to search through for the object, may benull
startIndex
- the index to start searching atvalueToFind
-- Returns:
- a BitSet of all the indices of the value within the a,
an empty BitSet if not found or
null
a input - Since:
- 3.10
-
allOf
Finds the indices of the given value in the array.This method returns empty BitSet for a
null
input array.- Parameters:
a
- the a to search through for the object, may benull
valueToFind
-- Returns:
- a BitSet of all the indices of the value within the a,
an empty BitSet if not found or
null
a input - Since:
- 3.10
-
allOf
Finds the indices of the given value in the a starting at the given index.This method returns an empty BitSet for a
null
input array.A negative startIndex is treated as zero. A startIndex larger than the a length will return an empty BitSet.
- Parameters:
a
- the a to search through for the object, may benull
startIndex
- the index to start searching atvalueToFind
-- Returns:
- a BitSet of the indices of the value within the a,
an empty BitSet if not found or
null
a input - Since:
- 3.10
-
allOf
Finds the indices of the given value within a given tolerance in the array.This method will return all the indices of the value which fall between the region defined by valueToFind - tolerance and valueToFind + tolerance, each time between the nearest integers.
This method returns an empty BitSet for a
null
input array.- Parameters:
a
- the a to search through for the object, may benull
valueToFind
-tolerance
- tolerance of the search- Returns:
- a BitSet of all the indices of the value within the a,
an empty BitSet if not found or
null
a input - Since:
- 3.10
-
allOf
Finds the indices of the given value in the a starting at the given index.This method will return the indices of the values which fall between the region defined by valueToFind - tolerance and valueToFind + tolerance, between the nearest integers.
This method returns an empty BitSet for a
null
input array.A negative startIndex is treated as zero. A startIndex larger than the a length will return an empty BitSet.
- Parameters:
a
- the a to search through for the object, may benull
startIndex
- the index to start searching atvalueToFind
-tolerance
- tolerance of the search- Returns:
- a BitSet of the indices of the value within the a,
an empty BitSet if not found or
null
a input - Since:
- 3.10
-
allOf
Finds the indices of the given object in the array.This method returns an empty BitSet for a
null
input array.- Parameters:
a
- the a to search through for the object, may benull
valueToFind
- the object to find, may benull
- Returns:
- a BitSet of all the indices of the object within the a,
an empty BitSet if not found or
null
a input - Since:
- 3.10
-
allOf
Finds the indices of the given object in the a starting at the given index.This method returns an empty BitSet for a
null
input array.A negative startIndex is treated as zero. A startIndex larger than the a length will return an empty BitSet.
- Parameters:
a
- the a to search through for the object, may benull
startIndex
- the index to start searching atvalueToFind
- the object to find, may benull
- Returns:
- a BitSet of all the indices of the object within the a starting at the index,
an empty BitSet if not found or
null
a input - Since:
- 3.10
-
allOf
Finds the indices of the given object in the array.This method returns an empty BitSet for a
null
input array.- Parameters:
c
-valueToFind
- the object to find, may benull
- Returns:
- a BitSet of all the indices of the object within the a,
an empty BitSet if not found or
null
a input - Since:
- 3.10
-
allOf
Finds the indices of the given object in the a starting at the given index.This method returns an empty BitSet for a
null
input array.A negative startIndex is treated as zero. A startIndex larger than the a length will return an empty BitSet.
- Parameters:
c
-startIndex
- the index to start searching atvalueToFind
- the object to find, may benull
- Returns:
- a BitSet of all the indices of the object within the a starting at the index,
an empty BitSet if not found or
null
a input - Since:
- 3.10
-