Method: HBase::ByteArray#unshift

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

#unshift(*args) ⇒ ByteArray

Prepends the byte array of the given object to the front

Parameters:

  • args (*Object)

    Objects to prepend

Returns:



83
84
85
86
# File 'lib/hbase-jruby/byte_array.rb', line 83

def unshift *args
  @java = (ByteArray.new(*args) + self).java
  self
end