本文整理了Java中org.ujmp.core.Matrix.containsCoordinates()
方法的一些代码示例,展示了Matrix.containsCoordinates()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Matrix.containsCoordinates()
方法的具体详情如下:
包路径:org.ujmp.core.Matrix
类名称:Matrix
方法名:containsCoordinates
暂无
代码示例来源:origin: ujmp/universal-java-matrix-package
public boolean containsCoordinates(long... coordinates) {
return inputBuffer.containsCoordinates(coordinates)
|| original.containsCoordinates(coordinates);
}
代码示例来源:origin: ujmp/universal-java-matrix-package
public boolean containsCoordinates(long... coordinates) {
return matrix.containsCoordinates(coordinates);
}
代码示例来源:origin: ujmp/universal-java-matrix-package
public synchronized boolean containsCoordinates(long... coordinates) {
return matrix.containsCoordinates(coordinates);
}
代码示例来源:origin: ujmp/universal-java-matrix-package
public boolean containsCoordinates(long... coordinates) {
loadContent();
return matrix.containsCoordinates(coordinates);
}
代码示例来源:origin: ujmp/universal-java-matrix-package
public boolean containsCoordinates(long... coordinates) {
return getSource().containsCoordinates(Coordinates.transpose(coordinates, swap1, swap2));
}
代码示例来源:origin: ujmp/universal-java-matrix-package
assertTrue(m.containsCoordinates(0, 0));
assertFalse(m.containsCoordinates(0, 1));
} else {
assertTrue(m.containsCoordinates(0, 1));
assertFalse(m.containsCoordinates(0, 2));
} else {
assertTrue(m.containsCoordinates(0, 2));
assertTrue(m.containsCoordinates(1, 0));
assertTrue(m.containsCoordinates(1, 1));
assertFalse(m.containsCoordinates(0, 1));
} else {
assertTrue(m.containsCoordinates(1, 2));
assertFalse(m.containsCoordinates(0, 1));
} else {
assertTrue(m.containsCoordinates(2, 0));
assertTrue(m.containsCoordinates(2, 1));
assertFalse(m.containsCoordinates(0, 1));
} else {
assertTrue(m.containsCoordinates(2, 2));
assertFalse(m.containsCoordinates(7, 7));
内容来源于网络,如有侵权,请联系作者删除!