Package | Description |
---|---|
com.landawn.abacus.util |
Modifier and Type | Method and Description |
---|---|
static IntPair |
IntPair.from(int[] a) |
static IntPair |
IntPair.of(int _1,
int _2) |
IntPair |
IntPair.reversed() |
Modifier and Type | Method and Description |
---|---|
Stream<IntPair> |
BooleanMatrix.adjacent4Points(int i,
int j)
Returns the four adjacencies with order: up, right, down, left.
|
Stream<IntPair> |
ByteMatrix.adjacent4Points(int i,
int j)
Returns the four adjacencies with order: up, right, down, left.
|
Stream<IntPair> |
CharMatrix.adjacent4Points(int i,
int j)
Returns the four adjacencies with order: up, right, down, left.
|
Stream<IntPair> |
DoubleMatrix.adjacent4Points(int i,
int j)
Returns the four adjacencies with order: up, right, down, left.
|
Stream<IntPair> |
FloatMatrix.adjacent4Points(int i,
int j)
Returns the four adjacencies with order: up, right, down, left.
|
Stream<IntPair> |
IntMatrix.adjacent4Points(int i,
int j)
Returns the four adjacencies with order: up, right, down, left.
|
Stream<IntPair> |
LongMatrix.adjacent4Points(int i,
int j)
Returns the four adjacencies with order: up, right, down, left.
|
Stream<IntPair> |
Matrix.adjacent4Points(int i,
int j)
Returns the four adjacencies with order: up, right, down, left.
|
Stream<IntPair> |
ShortMatrix.adjacent4Points(int i,
int j)
Returns the four adjacencies with order: up, right, down, left.
|
Stream<IntPair> |
BooleanMatrix.adjacent8Points(int i,
int j)
Returns the eight adjacencies with order: left-up, up, right-up, right, right-down, down, left-down, left.
|
Stream<IntPair> |
ByteMatrix.adjacent8Points(int i,
int j)
Returns the eight adjacencies with order: left-up, up, right-up, right, right-down, down, left-down, left.
|
Stream<IntPair> |
CharMatrix.adjacent8Points(int i,
int j)
Returns the eight adjacencies with order: left-up, up, right-up, right, right-down, down, left-down, left.
|
Stream<IntPair> |
DoubleMatrix.adjacent8Points(int i,
int j)
Returns the eight adjacencies with order: left-up, up, right-up, right, right-down, down, left-down, left.
|
Stream<IntPair> |
FloatMatrix.adjacent8Points(int i,
int j)
Returns the eight adjacencies with order: left-up, up, right-up, right, right-down, down, left-down, left.
|
Stream<IntPair> |
IntMatrix.adjacent8Points(int i,
int j)
Returns the eight adjacencies with order: left-up, up, right-up, right, right-down, down, left-down, left.
|
Stream<IntPair> |
LongMatrix.adjacent8Points(int i,
int j)
Returns the eight adjacencies with order: left-up, up, right-up, right, right-down, down, left-down, left.
|
Stream<IntPair> |
Matrix.adjacent8Points(int i,
int j)
Returns the eight adjacencies with order: left-up, up, right-up, right, right-down, down, left-down, left.
|
Stream<IntPair> |
ShortMatrix.adjacent8Points(int i,
int j)
Returns the eight adjacencies with order: left-up, up, right-up, right, right-down, down, left-down, left.
|
<E extends java.lang.Exception> |
IntPair.filter(Try.Predicate<IntPair,E> predicate) |
static java.util.List<IntPair> |
StringUtil.findAllIndicesBetween(java.lang.String str,
char prefix,
char postfix)
findAllIndicesBetween("3[a2[c]]2[a]", '[', ']') = [[2, 7], [10, 11]] |
static java.util.List<IntPair> |
StringUtil.findAllIndicesBetween(java.lang.String str,
int fromIndex,
int toIndex,
char prefix,
char postfix)
findAllIndicesBetween("3[a2[c]]2[a]", '[', ']') = [[2, 7], [10, 11]] |
static java.util.List<IntPair> |
StringUtil.findAllIndicesBetween(java.lang.String str,
int fromIndex,
int toIndex,
java.lang.String prefix,
java.lang.String postfix)
findAllIndicesBetween("3[a2[c]]2[a]", '[', ']') = [[2, 7], [10, 11]] |
static java.util.List<IntPair> |
StringUtil.findAllIndicesBetween(java.lang.String str,
java.lang.String prefix,
java.lang.String postfix)
findAllIndicesBetween("3[a2[c]]2[a]", '[', ']') = [[2, 7], [10, 11]] |
Stream<Stream<IntPair>> |
AbstractMatrix.pointsC() |
Stream<Stream<IntPair>> |
Sheet.pointsC() |
Stream<Stream<IntPair>> |
AbstractMatrix.pointsC(int fromColumnIndex,
int toColumnIndex) |
Stream<Stream<IntPair>> |
Sheet.pointsC(int fromColumnIndex,
int toColumnIndex) |
Stream<IntPair> |
AbstractMatrix.pointsH() |
Stream<IntPair> |
Sheet.pointsH() |
Stream<IntPair> |
AbstractMatrix.pointsH(int rowIndex) |
Stream<IntPair> |
Sheet.pointsH(int rowIndex) |
Stream<IntPair> |
AbstractMatrix.pointsH(int fromRowIndex,
int toRowIndex) |
Stream<IntPair> |
Sheet.pointsH(int fromRowIndex,
int toRowIndex) |
Stream<IntPair> |
AbstractMatrix.pointsLU2RD() |
Stream<Stream<IntPair>> |
AbstractMatrix.pointsR() |
Stream<Stream<IntPair>> |
Sheet.pointsR() |
Stream<Stream<IntPair>> |
AbstractMatrix.pointsR(int fromRowIndex,
int toRowIndex) |
Stream<Stream<IntPair>> |
Sheet.pointsR(int fromRowIndex,
int toRowIndex) |
Stream<IntPair> |
AbstractMatrix.pointsRU2LD() |
Stream<IntPair> |
AbstractMatrix.pointsV() |
Stream<IntPair> |
Sheet.pointsV() |
Stream<IntPair> |
AbstractMatrix.pointsV(int columnIndex) |
Stream<IntPair> |
Sheet.pointsV(int columnIndex) |
Stream<IntPair> |
AbstractMatrix.pointsV(int fromColumnIndex,
int toColumnIndex) |
Stream<IntPair> |
Sheet.pointsV(int fromColumnIndex,
int toColumnIndex) |
Modifier and Type | Method and Description |
---|---|
boolean |
BooleanMatrix.get(IntPair point) |
byte |
ByteMatrix.get(IntPair point) |
char |
CharMatrix.get(IntPair point) |
double |
DoubleMatrix.get(IntPair point) |
float |
FloatMatrix.get(IntPair point) |
int |
IntMatrix.get(IntPair point) |
long |
LongMatrix.get(IntPair point) |
T |
Matrix.get(IntPair point) |
E |
Sheet.get(IntPair point) |
short |
ShortMatrix.get(IntPair point) |
E |
Sheet.put(IntPair point,
E value) |
E |
Sheet.remove(IntPair point) |
void |
BooleanMatrix.set(IntPair point,
boolean val) |
void |
ByteMatrix.set(IntPair point,
byte val) |
void |
CharMatrix.set(IntPair point,
char val) |
void |
DoubleMatrix.set(IntPair point,
double val) |
void |
FloatMatrix.set(IntPair point,
float val) |
void |
IntMatrix.set(IntPair point,
int val) |
void |
LongMatrix.set(IntPair point,
long val) |
void |
ShortMatrix.set(IntPair point,
short val) |
void |
Matrix.set(IntPair point,
T val) |
Modifier and Type | Method and Description |
---|---|
<E extends java.lang.Exception> |
IntPair.accept(Try.Consumer<IntPair,E> action) |
<E extends java.lang.Exception> |
IntPair.filter(Try.Predicate<IntPair,E> predicate) |
<U,E extends java.lang.Exception> |
IntPair.map(Try.Function<IntPair,U,E> mapper) |