public final class Index extends Object
| Modifier and Type | Method and Description |
|---|---|
static 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(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 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(Object[] a,
int startIndex,
Object valueToFind)
Finds the indices of the given object in the a starting at the given index.
|
static BitSet |
allOf(Object[] a,
Object valueToFind)
Finds the indices of the given object 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 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(Collection<?> c,
int startIndexFromBack,
Object valueToFind) |
static u.OptionalInt |
last(Collection<?> c,
Object 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(Object[] a,
int startIndexFromBack,
Object valueToFind) |
static u.OptionalInt |
last(Object[] a,
Object valueToFind) |
static u.OptionalInt |
last(short[] a,
int startIndexFromBack,
short valueToFind) |
static u.OptionalInt |
last(short[] a,
short valueToFind) |
static u.OptionalInt |
last(String str,
int valueToFind) |
static u.OptionalInt |
last(String str,
int startIndexFromBack,
int valueToFind) |
static u.OptionalInt |
last(String str,
int startIndexFromBack,
String valueToFind) |
static u.OptionalInt |
last(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(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 |
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 |
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(Collection<?> c,
int startIndex,
Object valueToFind) |
static u.OptionalInt |
of(Collection<?> c,
Object 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(Iterator<?> iter,
int startIndex,
Object valueToFind) |
static u.OptionalInt |
of(Iterator<?> iter,
Object valueToFind) |
static u.OptionalInt |
of(long[] a,
int startIndex,
long valueToFind) |
static u.OptionalInt |
of(long[] a,
long valueToFind) |
static u.OptionalInt |
of(Object[] a,
int startIndex,
Object valueToFind) |
static u.OptionalInt |
of(Object[] a,
Object valueToFind) |
static u.OptionalInt |
of(short[] a,
int startIndex,
short valueToFind) |
static u.OptionalInt |
of(short[] a,
short valueToFind) |
static u.OptionalInt |
of(String str,
int valueToFind) |
static u.OptionalInt |
of(String str,
int startIndex,
int valueToFind) |
static u.OptionalInt |
of(String str,
int startIndex,
String valueToFind) |
static u.OptionalInt |
of(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(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 |
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 |
ofSubList(List<?> sourceList,
int startIndex,
List<?> subListToFind) |
static u.OptionalInt |
ofSubList(List<?> sourceList,
int startIndex,
List<?> subListToFind,
int beginIndexOfTargetSubList,
int size)
Of sub list.
|
static u.OptionalInt |
ofSubList(List<?> sourceList,
List<?> subListToFind) |
public static u.OptionalInt of(boolean[] a, boolean valueToFind)
a - valueToFind - public static u.OptionalInt of(boolean[] a, int startIndex, boolean valueToFind)
a - startIndex - valueToFind - public static u.OptionalInt of(char[] a, char valueToFind)
a - valueToFind - public static u.OptionalInt of(char[] a, int startIndex, char valueToFind)
a - startIndex - valueToFind - public static u.OptionalInt of(byte[] a, byte valueToFind)
a - valueToFind - public static u.OptionalInt of(byte[] a, int startIndex, byte valueToFind)
a - startIndex - valueToFind - public static u.OptionalInt of(short[] a, short valueToFind)
a - valueToFind - public static u.OptionalInt of(short[] a, int startIndex, short valueToFind)
a - startIndex - valueToFind - public static u.OptionalInt of(int[] a, int valueToFind)
a - valueToFind - public static u.OptionalInt of(int[] a, int startIndex, int valueToFind)
a - startIndex - valueToFind - public static u.OptionalInt of(long[] a, long valueToFind)
a - valueToFind - public static u.OptionalInt of(long[] a, int startIndex, long valueToFind)
a - startIndex - valueToFind - public static u.OptionalInt of(float[] a, float valueToFind)
a - valueToFind - public static u.OptionalInt of(float[] a, int startIndex, float valueToFind)
a - startIndex - valueToFind - public static u.OptionalInt of(double[] a, double valueToFind)
a - valueToFind - public static u.OptionalInt of(double[] a, int startIndex, double valueToFind)
a - startIndex - valueToFind - public static u.OptionalInt of(double[] a, double valueToFind, double tolerance)
a - valueToFind - tolerance - CommonUtil.indexOf(double[], double, double)public static u.OptionalInt of(double[] a, int startIndex, double valueToFind, double tolerance)
a - startIndex - valueToFind - tolerance - CommonUtil.indexOf(double[], int, double, double)public static u.OptionalInt of(Object[] a, Object valueToFind)
a - valueToFind - public static u.OptionalInt of(Object[] a, int startIndex, Object valueToFind)
a - startIndex - valueToFind - public static u.OptionalInt of(Collection<?> c, Object valueToFind)
c - valueToFind - public static u.OptionalInt of(Collection<?> c, int startIndex, Object valueToFind)
c - startIndex - valueToFind - public static u.OptionalInt of(Iterator<?> iter, Object valueToFind)
iter - valueToFind - public static u.OptionalInt of(Iterator<?> iter, int startIndex, Object valueToFind)
iter - startIndex - valueToFind - public static u.OptionalInt of(String str, int valueToFind)
str - valueToFind - public static u.OptionalInt of(String str, int startIndex, int valueToFind)
str - startIndex - valueToFind - public static u.OptionalInt of(String str, String valueToFind)
str - valueToFind - public static u.OptionalInt of(String str, int startIndex, String valueToFind)
str - startIndex - valueToFind - public static u.OptionalInt ofSubArray(boolean[] sourceArray, boolean[] subArrayToFind)
public static u.OptionalInt ofSubArray(boolean[] sourceArray, int startIndex, boolean[] subArrayToFind)
public static u.OptionalInt ofSubArray(boolean[] sourceArray, int startIndex, boolean[] subArrayToFind, int beginIndexOfTargetSubArray, int size)
sourceArray - startIndex - subArrayToFind - beginIndexOfTargetSubArray - size - public static u.OptionalInt ofSubArray(char[] sourceArray, char[] subArrayToFind)
public static u.OptionalInt ofSubArray(char[] sourceArray, int startIndex, char[] subArrayToFind)
public static u.OptionalInt ofSubArray(char[] sourceArray, int startIndex, char[] subArrayToFind, int beginIndexOfTargetSubArray, int size)
sourceArray - startIndex - subArrayToFind - beginIndexOfTargetSubArray - size - public static u.OptionalInt ofSubArray(byte[] sourceArray, byte[] subArrayToFind)
public static u.OptionalInt ofSubArray(byte[] sourceArray, int startIndex, byte[] subArrayToFind)
public static u.OptionalInt ofSubArray(byte[] sourceArray, int startIndex, byte[] subArrayToFind, int beginIndexOfTargetSubArray, int size)
sourceArray - startIndex - subArrayToFind - beginIndexOfTargetSubArray - size - public static u.OptionalInt ofSubArray(short[] sourceArray, short[] subArrayToFind)
public static u.OptionalInt ofSubArray(short[] sourceArray, int startIndex, short[] subArrayToFind)
public static u.OptionalInt ofSubArray(short[] sourceArray, int startIndex, short[] subArrayToFind, int beginIndexOfTargetSubArray, int size)
sourceArray - startIndex - subArrayToFind - beginIndexOfTargetSubArray - size - public static u.OptionalInt ofSubArray(int[] sourceArray, int[] subArrayToFind)
public static u.OptionalInt ofSubArray(int[] sourceArray, int startIndex, int[] subArrayToFind)
public static u.OptionalInt ofSubArray(int[] sourceArray, int startIndex, int[] subArrayToFind, int beginIndexOfTargetSubArray, int size)
sourceArray - startIndex - subArrayToFind - beginIndexOfTargetSubArray - size - public static u.OptionalInt ofSubArray(long[] sourceArray, long[] subArrayToFind)
public static u.OptionalInt ofSubArray(long[] sourceArray, int startIndex, long[] subArrayToFind)
public static u.OptionalInt ofSubArray(long[] sourceArray, int startIndex, long[] subArrayToFind, int beginIndexOfTargetSubArray, int size)
sourceArray - startIndex - subArrayToFind - beginIndexOfTargetSubArray - size - public static u.OptionalInt ofSubArray(float[] sourceArray, float[] subArrayToFind)
public static u.OptionalInt ofSubArray(float[] sourceArray, int startIndex, float[] subArrayToFind)
public static u.OptionalInt ofSubArray(float[] sourceArray, int startIndex, float[] subArrayToFind, int beginIndexOfTargetSubArray, int size)
sourceArray - startIndex - subArrayToFind - beginIndexOfTargetSubArray - size - public static u.OptionalInt ofSubArray(double[] sourceArray, double[] subArrayToFind)
public static u.OptionalInt ofSubArray(double[] sourceArray, int startIndex, double[] subArrayToFind)
public static u.OptionalInt ofSubArray(double[] sourceArray, int startIndex, double[] subArrayToFind, int beginIndexOfTargetSubArray, int size)
sourceArray - startIndex - subArrayToFind - beginIndexOfTargetSubArray - size - public static u.OptionalInt ofSubArray(Object[] sourceArray, Object[] subArrayToFind)
public static u.OptionalInt ofSubArray(Object[] sourceArray, int startIndex, Object[] subArrayToFind)
public static u.OptionalInt ofSubArray(Object[] sourceArray, int startIndex, Object[] subArrayToFind, int beginIndexOfTargetSubArray, int size)
sourceArray - startIndex - subArrayToFind - beginIndexOfTargetSubArray - size - public static u.OptionalInt ofSubList(List<?> sourceList, List<?> subListToFind)
public static u.OptionalInt ofSubList(List<?> sourceList, int startIndex, List<?> subListToFind)
public static u.OptionalInt ofSubList(List<?> sourceList, int startIndex, List<?> subListToFind, int beginIndexOfTargetSubList, int size)
sourceList - startIndex - subListToFind - beginIndexOfTargetSubList - size - public static u.OptionalInt last(boolean[] a, boolean valueToFind)
a - valueToFind - public static u.OptionalInt last(boolean[] a, int startIndexFromBack, boolean valueToFind)
a - startIndexFromBack - valueToFind - public static u.OptionalInt last(char[] a, char valueToFind)
a - valueToFind - public static u.OptionalInt last(char[] a, int startIndexFromBack, char valueToFind)
a - startIndexFromBack - valueToFind - public static u.OptionalInt last(byte[] a, byte valueToFind)
a - valueToFind - public static u.OptionalInt last(byte[] a, int startIndexFromBack, byte valueToFind)
a - startIndexFromBack - valueToFind - public static u.OptionalInt last(short[] a, short valueToFind)
a - valueToFind - public static u.OptionalInt last(short[] a, int startIndexFromBack, short valueToFind)
a - startIndexFromBack - valueToFind - public static u.OptionalInt last(int[] a, int valueToFind)
a - valueToFind - public static u.OptionalInt last(int[] a, int startIndexFromBack, int valueToFind)
a - startIndexFromBack - valueToFind - public static u.OptionalInt last(long[] a, long valueToFind)
a - valueToFind - public static u.OptionalInt last(long[] a, int startIndexFromBack, long valueToFind)
a - startIndexFromBack - valueToFind - public static u.OptionalInt last(float[] a, float valueToFind)
a - valueToFind - public static u.OptionalInt last(float[] a, int startIndexFromBack, float valueToFind)
a - startIndexFromBack - valueToFind - public static u.OptionalInt last(double[] a, double valueToFind)
a - valueToFind - public static u.OptionalInt last(double[] a, int startIndexFromBack, double valueToFind)
a - startIndexFromBack - valueToFind - public static u.OptionalInt last(double[] a, double valueToFind, double tolerance)
a - valueToFind - tolerance - CommonUtil.lastIndexOf(double[], double, double)public static u.OptionalInt last(double[] a, int startIndexFromBack, double valueToFind, double tolerance)
a - startIndexFromBack - valueToFind - tolerance - CommonUtil.lastIndexOf(double[], int, double, double)public static u.OptionalInt last(Object[] a, Object valueToFind)
a - valueToFind - public static u.OptionalInt last(Object[] a, int startIndexFromBack, Object valueToFind)
a - startIndexFromBack - valueToFind - public static u.OptionalInt last(Collection<?> c, Object valueToFind)
c - valueToFind - public static u.OptionalInt last(Collection<?> c, int startIndexFromBack, Object valueToFind)
c - startIndexFromBack - valueToFind - public static u.OptionalInt last(String str, int valueToFind)
str - valueToFind - public static u.OptionalInt last(String str, int startIndexFromBack, int valueToFind)
str - startIndexFromBack - valueToFind - public static u.OptionalInt last(String str, String valueToFind)
str - valueToFind - public static u.OptionalInt last(String str, int startIndexFromBack, String valueToFind)
str - startIndexFromBack - valueToFind - public static u.OptionalInt lastOfSubArray(boolean[] sourceArray, boolean[] subArrayToFind)
public static u.OptionalInt lastOfSubArray(boolean[] sourceArray, int startIndexFromBack, boolean[] subArrayToFind)
public static u.OptionalInt lastOfSubArray(boolean[] sourceArray, int startIndexFromBack, boolean[] subArrayToFind, int beginIndexOfTargetSubArray, int size)
sourceArray - startIndexFromBack - subArrayToFind - beginIndexOfTargetSubArray - size - public static u.OptionalInt lastOfSubArray(char[] sourceArray, char[] subArrayToFind)
public static u.OptionalInt lastOfSubArray(char[] sourceArray, int startIndexFromBack, char[] subArrayToFind)
public static u.OptionalInt lastOfSubArray(char[] sourceArray, int startIndexFromBack, char[] subArrayToFind, int beginIndexOfTargetSubArray, int size)
sourceArray - startIndexFromBack - subArrayToFind - beginIndexOfTargetSubArray - size - public static u.OptionalInt lastOfSubArray(byte[] sourceArray, byte[] subArrayToFind)
public static u.OptionalInt lastOfSubArray(byte[] sourceArray, int startIndexFromBack, byte[] subArrayToFind)
public static u.OptionalInt lastOfSubArray(byte[] sourceArray, int startIndexFromBack, byte[] subArrayToFind, int beginIndexOfTargetSubArray, int size)
sourceArray - startIndexFromBack - subArrayToFind - beginIndexOfTargetSubArray - size - public static u.OptionalInt lastOfSubArray(short[] sourceArray, short[] subArrayToFind)
public static u.OptionalInt lastOfSubArray(short[] sourceArray, int startIndexFromBack, short[] subArrayToFind)
public static u.OptionalInt lastOfSubArray(short[] sourceArray, int startIndexFromBack, short[] subArrayToFind, int beginIndexOfTargetSubArray, int size)
sourceArray - startIndexFromBack - subArrayToFind - beginIndexOfTargetSubArray - size - public static u.OptionalInt lastOfSubArray(int[] sourceArray, int[] subArrayToFind)
public static u.OptionalInt lastOfSubArray(int[] sourceArray, int startIndexFromBack, int[] subArrayToFind)
public static u.OptionalInt lastOfSubArray(int[] sourceArray, int startIndexFromBack, int[] subArrayToFind, int beginIndexOfTargetSubArray, int size)
sourceArray - startIndexFromBack - subArrayToFind - beginIndexOfTargetSubArray - size - public static u.OptionalInt lastOfSubArray(long[] sourceArray, long[] subArrayToFind)
public static u.OptionalInt lastOfSubArray(long[] sourceArray, int startIndexFromBack, long[] subArrayToFind)
public static u.OptionalInt lastOfSubArray(long[] sourceArray, int startIndexFromBack, long[] subArrayToFind, int beginIndexOfTargetSubArray, int size)
sourceArray - startIndexFromBack - subArrayToFind - beginIndexOfTargetSubArray - size - public static u.OptionalInt lastOfSubArray(float[] sourceArray, float[] subArrayToFind)
public static u.OptionalInt lastOfSubArray(float[] sourceArray, int startIndexFromBack, float[] subArrayToFind)
public static u.OptionalInt lastOfSubArray(float[] sourceArray, int startIndexFromBack, float[] subArrayToFind, int beginIndexOfTargetSubArray, int size)
sourceArray - startIndexFromBack - subArrayToFind - beginIndexOfTargetSubArray - size - public static u.OptionalInt lastOfSubArray(double[] sourceArray, double[] subArrayToFind)
public static u.OptionalInt lastOfSubArray(double[] sourceArray, int startIndexFromBack, double[] subArrayToFind)
public static u.OptionalInt lastOfSubArray(double[] sourceArray, int startIndexFromBack, double[] subArrayToFind, int beginIndexOfTargetSubArray, int size)
sourceArray - startIndexFromBack - subArrayToFind - beginIndexOfTargetSubArray - size - public static u.OptionalInt lastOfSubArray(Object[] sourceArray, Object[] subArrayToFind)
public static u.OptionalInt lastOfSubArray(Object[] sourceArray, int startIndexFromBack, Object[] subArrayToFind)
public static u.OptionalInt lastOfSubArray(Object[] sourceArray, int startIndexFromBack, Object[] subArrayToFind, int beginIndexOfTargetSubArray, int size)
sourceArray - startIndexFromBack - subArrayToFind - beginIndexOfTargetSubArray - size - public static u.OptionalInt lastOfSubList(List<?> sourceList, List<?> subListToFind)
public static u.OptionalInt lastOfSubList(List<?> sourceList, int startIndexFromBack, List<?> subListToFind)
public static u.OptionalInt lastOfSubList(List<?> sourceList, int startIndexFromBack, List<?> subArrayToFind, int beginIndexOfTargetSubList, int size)
sourceList - startIndexFromBack - subArrayToFind - beginIndexOfTargetSubList - size - public static BitSet allOf(boolean[] a, boolean valueToFind)
This method returns an empty BitSet for a null input array.
a - the a to search through for the object, may be nullvalueToFind - the value to findnull a inputpublic static BitSet allOf(boolean[] a, int startIndex, boolean valueToFind)
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).
a - the a to search through for the object, may be nullstartIndex - the index to start searching atvalueToFind - the value to findnull
a inputpublic static BitSet allOf(byte[] a, byte valueToFind)
This method returns an empty BitSet for a null input array.
a - the a to search through for the object, may be nullvalueToFind - the value to findnull a inputpublic static BitSet allOf(byte[] a, int startIndex, byte valueToFind)
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.
a - the a to search through for the object, may be nullstartIndex - the index to start searching atvalueToFind - the value to findnull a inputpublic static BitSet allOf(char[] a, char valueToFind)
This method returns an empty BitSet for a null input array.
a - the a to search through for the object, may be nullvalueToFind - the value to findnull a inputpublic static BitSet allOf(char[] a, int startIndex, char valueToFind)
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.
a - the a to search through for the object, may be nullstartIndex - the index to start searching atvalueToFind - the value to findnull a inputpublic static BitSet allOf(short[] a, short valueToFind)
This method returns an empty BitSet for a null input array.
a - the a to search through for the object, may be nullvalueToFind - the value to findnull a inputpublic static BitSet allOf(short[] a, int startIndex, short valueToFind)
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.
a - the a to search through for the object, may be nullstartIndex - the index to start searching atvalueToFind - the value to findnull a inputpublic static BitSet allOf(int[] a, int valueToFind)
This method returns an empty BitSet for a null input array.
a - the a to search through for the object, may be nullvalueToFind - the value to findnull a inputpublic static BitSet allOf(int[] a, int startIndex, int valueToFind)
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.
a - the a to search through for the object, may be nullstartIndex - the index to start searching atvalueToFind - the value to findnull a inputpublic static BitSet allOf(long[] a, long valueToFind)
This method returns an empty BitSet for a null input array.
a - the a to search through for the object, may be nullvalueToFind - the value to findnull a inputpublic static BitSet allOf(long[] a, int startIndex, long valueToFind)
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.
a - the a to search through for the object, may be nullstartIndex - the index to start searching atvalueToFind - the value to findnull a inputpublic static BitSet allOf(float[] a, float valueToFind)
This method returns an empty BitSet for a null input array.
a - the a to search through for the object, may be nullvalueToFind - the value to findnull a inputpublic static BitSet allOf(float[] a, int startIndex, float valueToFind)
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.
a - the a to search through for the object, may be nullstartIndex - the index to start searching atvalueToFind - the value to findnull a inputpublic static BitSet allOf(double[] a, double valueToFind)
This method returns empty BitSet for a null input array.
a - the a to search through for the object, may be nullvalueToFind - the value to findnull a inputpublic static BitSet allOf(double[] a, int startIndex, double valueToFind)
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.
a - the a to search through for the object, may be nullstartIndex - the index to start searching atvalueToFind - the value to findnull a inputpublic static BitSet allOf(double[] a, double valueToFind, double tolerance)
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.
a - the a to search through for the object, may be nullvalueToFind - the value to findtolerance - tolerance of the searchnull a inputpublic static BitSet allOf(double[] a, int startIndex, double valueToFind, double tolerance)
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.
a - the a to search through for the object, may be nullstartIndex - the index to start searching atvalueToFind - the value to findtolerance - tolerance of the searchnull a inputpublic static BitSet allOf(Object[] a, Object valueToFind)
This method returns an empty BitSet for a null input array.
a - the a to search through for the object, may be nullvalueToFind - the object to find, may be nullnull a inputpublic static BitSet allOf(Object[] a, int startIndex, Object valueToFind)
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.
a - the a to search through for the object, may be nullstartIndex - the index to start searching atvalueToFind - the object to find, may be nullnull a inputpublic static BitSet allOf(Collection<?> c, Object valueToFind)
This method returns an empty BitSet for a null input array.
a - the a to search through for the object, may be nullvalueToFind - the object to find, may be nullnull a inputpublic static BitSet allOf(Collection<?> c, int startIndex, Object valueToFind)
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.
a - the a to search through for the object, may be nullstartIndex - the index to start searching atvalueToFind - the object to find, may be nullnull a inputCopyright © 2021. All rights reserved.