org.apache.parquet.io.api.Binary.equals()方法的使用及代码示例

x33g5p2x  于2022-01-16 转载在 其他  
字(3.8k)|赞(0)|评价(0)|浏览(97)

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

Binary.equals介绍

暂无

代码示例

代码示例来源:origin: org.lasersonlab.apache.parquet/parquet-column

  1. @Override
  2. public boolean equals(Object obj) {
  3. if (obj == null) {
  4. return false;
  5. }
  6. if (obj instanceof Binary) {
  7. return equals((Binary)obj);
  8. }
  9. return false;
  10. }

代码示例来源:origin: org.apache.parquet/parquet-column

  1. @Override
  2. public boolean equals(Object obj) {
  3. if (obj == null) {
  4. return false;
  5. }
  6. if (obj instanceof Binary) {
  7. return equals((Binary)obj);
  8. }
  9. return false;
  10. }

代码示例来源:origin: org.lasersonlab.apache.parquet/parquet-column

  1. @Override
  2. boolean equals(ByteBuffer bytes, int otherOffset, int otherLength) {
  3. return Binary.equals(value, offset, length, bytes, otherOffset, otherLength);
  4. }

代码示例来源:origin: org.lasersonlab.apache.parquet/parquet-column

  1. @Override
  2. boolean equals(ByteBuffer bytes, int otherOffset, int otherLength) {
  3. return Binary.equals(value, 0, value.length, bytes, otherOffset, otherLength);
  4. }

代码示例来源:origin: org.lasersonlab.apache.parquet/parquet-column

  1. @Override
  2. boolean equals(Binary other) {
  3. return other.equals(value, offset, length);
  4. }

代码示例来源:origin: org.apache.parquet/parquet-column

  1. @Override
  2. boolean equals(Binary other) {
  3. return other.equals(value, offset, length);
  4. }

代码示例来源:origin: org.lasersonlab.apache.parquet/parquet-column

  1. @Override
  2. boolean equals(byte[] other, int otherOffset, int otherLength) {
  3. return Binary.equals(value, offset, length, other, otherOffset, otherLength);
  4. }

代码示例来源:origin: org.apache.parquet/parquet-column

  1. @Override
  2. boolean equals(Binary other) {
  3. return other.equals(value, 0, value.length);
  4. }

代码示例来源:origin: org.lasersonlab.apache.parquet/parquet-column

  1. @Override
  2. boolean equals(byte[] other, int otherOffset, int otherLength) {
  3. return Binary.equals(value, 0, value.length, other, otherOffset, otherLength);
  4. }

代码示例来源:origin: org.apache.parquet/parquet-column

  1. @Override
  2. boolean equals(byte[] other, int otherOffset, int otherLength) {
  3. return Binary.equals(value, offset, length, other, otherOffset, otherLength);
  4. }

代码示例来源:origin: org.apache.parquet/parquet-column

  1. @Override
  2. boolean equals(ByteBuffer bytes, int otherOffset, int otherLength) {
  3. return Binary.equals(value, offset, length, bytes, otherOffset, otherLength);
  4. }

代码示例来源:origin: org.apache.parquet/parquet-column

  1. @Override
  2. boolean equals(byte[] other, int otherOffset, int otherLength) {
  3. return Binary.equals(value, 0, value.length, other, otherOffset, otherLength);
  4. }

代码示例来源:origin: org.apache.parquet/parquet-column

  1. @Override
  2. boolean equals(ByteBuffer bytes, int otherOffset, int otherLength) {
  3. return Binary.equals(value, 0, value.length, bytes, otherOffset, otherLength);
  4. }

代码示例来源:origin: org.lasersonlab.apache.parquet/parquet-column

  1. @Override
  2. boolean equals(Binary other) {
  3. return other.equals(value, 0, value.length);
  4. }

代码示例来源:origin: org.lasersonlab.apache.parquet/parquet-column

  1. @Override
  2. boolean equals(Binary other) {
  3. if (value.hasArray()) {
  4. return other.equals(value.array(), value.arrayOffset() + offset, length);
  5. } else {
  6. return other.equals(value, offset, length);
  7. }
  8. }

代码示例来源:origin: org.apache.parquet/parquet-column

  1. @Override
  2. boolean equals(Binary other) {
  3. if (value.hasArray()) {
  4. return other.equals(value.array(), value.arrayOffset() + offset, length);
  5. } else {
  6. return other.equals(value, offset, length);
  7. }
  8. }

代码示例来源:origin: org.lasersonlab.apache.parquet/parquet-column

  1. @Override
  2. boolean equals(byte[] other, int otherOffset, int otherLength) {
  3. if (value.hasArray()) {
  4. return Binary.equals(value.array(), value.arrayOffset() + offset, length, other, otherOffset, otherLength);
  5. } else {
  6. return Binary.equals(other, otherOffset, otherLength, value, offset, length);
  7. }
  8. }

代码示例来源:origin: org.apache.parquet/parquet-column

  1. @Override
  2. boolean equals(byte[] other, int otherOffset, int otherLength) {
  3. if (value.hasArray()) {
  4. return Binary.equals(value.array(), value.arrayOffset() + offset, length, other, otherOffset, otherLength);
  5. } else {
  6. return Binary.equals(other, otherOffset, otherLength, value, offset, length);
  7. }
  8. }

相关文章