Last active
December 8, 2015 05:55
-
-
Save akm/9d095abb76a254c7a78c to your computer and use it in GitHub Desktop.
JRubyの多次元配列をjavaの多次元配列に変換する方法 ref: http://qiita.com/akm/items/40d3f69960d99746d450
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
irb(main):034:0> [[1,2,3]].to_java(Java::byte[]) | |
=> [B[[B@436a4e4b]@f2f2cc1 | |
irb(main):035:0> [[[1,2,3]]].to_java(Java::byte[][]) | |
=> [[B[[[B@3b2cf7ab]@2aa5fe93 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment