java :: JavaByteArray :: defaultinit
# Java primitive array `byte[]`
extern class JavaByteArray in "Java" `{ byte[] `}
super AbstractJavaArray[Int]
# Get a new array of the given `size`
new (size: Int) in "Java" `{ return new byte[(int)size]; `}
redef fun [](i) in "Java" `{ return (byte)self[(int)i]; `}
redef fun []=(i, e) in "Java" `{ self[(int)i] = (byte)e; `}
redef fun length in "Java" `{ return self.length; `}
end
lib/java/collections.nit:150,1--162,3