コード例 #1
0
ファイル: WrapperLongMatrix2D.java プロジェクト: nybbles/pony
 public WrapperLongMatrix2D(LongMatrix2D newContent) {
   if (newContent != null)
     try {
       setUp(newContent.rows(), newContent.columns());
     } catch (IllegalArgumentException exc) { // we can hold rows*columns>Integer.MAX_VALUE cells !
       if (!"matrix too large".equals(exc.getMessage())) throw exc;
     }
   this.content = newContent;
 }