Method: HBase::ByteArray#eql?

Defined in:
lib/hbase-jruby/byte_array.rb

#eql?(other) ⇒ Boolean Also known as: ==

Checks if the two byte arrays are the same

Parameters:

Returns:

  • (Boolean)


53
54
55
56
# File 'lib/hbase-jruby/byte_array.rb', line 53

def eql? other
  other = other_as_byte_array other
  Arrays.equals(@java, other.java)
end