org.ujmp.core.Matrix.containsCoordinates()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(1.8k)|赞(0)|评价(0)|浏览(99)

本文整理了Java中org.ujmp.core.Matrix.containsCoordinates()方法的一些代码示例,展示了Matrix.containsCoordinates()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Matrix.containsCoordinates()方法的具体详情如下:
包路径:org.ujmp.core.Matrix
类名称:Matrix
方法名:containsCoordinates

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));

相关文章

Matrix类方法