~ubuntu-branches/ubuntu/karmic/hypre/karmic

« back to all changes in this revision

Viewing changes to src/babel-runtime/java/sidl/Double.java

  • Committer: Bazaar Package Importer
  • Author(s): Adam C. Powell, IV
  • Date: 2009-03-20 11:40:12 UTC
  • mfrom: (4.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20090320114012-132h6ok9w2r6o609
Tags: 2.4.0b-2
Rebuild against new openmpi.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
// File:        Double.java
3
3
// Package:     sidl
4
4
// Copyright:   (c) 2000-2001 The Regents of the University of California
5
 
// Revision:    $Revision: 1.5 $
6
 
// Modified:    $Date: 2006/08/29 22:29:21 $
 
5
// Revision:    $Revision: 1.6 $
 
6
// Modified:    $Date: 2007/09/27 19:35:14 $
7
7
// Description: holder and array classes for built-in data types
8
8
//
9
9
// Copyright (c) 2000-2001, The Regents of the University of Calfornia.
250
250
    public Array get() {
251
251
      return d_obj;
252
252
    }
 
253
 
 
254
    /**
 
255
     * Destroy held array
 
256
     */
 
257
    public void destroy() {
 
258
      if (d_obj != null) { d_obj.destroy(); d_obj = null; }
 
259
    }
253
260
  }
254
261
 
255
262
}
447
454
    public Array1 get() {
448
455
      return d_obj;
449
456
    }
 
457
 
 
458
    /**
 
459
     * Destroy held array
 
460
     */
 
461
    public void destroy() {
 
462
      if (d_obj != null) { d_obj.destroy(); d_obj = null; }
 
463
    }
450
464
  }
451
465
  }
452
466
 
652
666
    public Array2 get() {
653
667
      return d_obj;
654
668
    }
 
669
 
 
670
 
 
671
    /**
 
672
     * Destroy held array
 
673
     */
 
674
    public void destroy() {
 
675
      if (d_obj != null) { d_obj.destroy(); d_obj = null; }
 
676
    }
655
677
    }
656
678
  }
657
679
 
865
887
    public Array3 get() {
866
888
      return d_obj;
867
889
    }
 
890
 
 
891
    /**
 
892
     * Destroy held array
 
893
     */
 
894
    public void destroy() {
 
895
      if (d_obj != null) { d_obj.destroy(); d_obj = null; }
 
896
    }
868
897
  }
869
898
 
870
899
  }
1091
1120
    public Array4 get() {
1092
1121
      return d_obj;
1093
1122
    }
 
1123
 
 
1124
    /**
 
1125
     * Destroy held array
 
1126
     */
 
1127
    public void destroy() {
 
1128
      if (d_obj != null) { d_obj.destroy(); d_obj = null; }
 
1129
    }
1094
1130
  }
1095
1131
 
1096
1132
  }
1326
1362
    public Array5 get() {
1327
1363
      return d_obj;
1328
1364
    }
 
1365
 
 
1366
    /**
 
1367
     * Destroy held array
 
1368
     */
 
1369
    public void destroy() {
 
1370
      if (d_obj != null) { d_obj.destroy(); d_obj = null; }
 
1371
    }
1329
1372
  }
1330
1373
 
1331
1374
  }
1568
1611
    public Array6 get() {
1569
1612
      return d_obj;
1570
1613
    }
 
1614
 
 
1615
    /**
 
1616
     * Destroy held array
 
1617
     */
 
1618
    public void destroy() {
 
1619
      if (d_obj != null) { d_obj.destroy(); d_obj = null; }
 
1620
    }
1571
1621
  }
1572
1622
  }
1573
1623
 
1824
1874
    public Array7 get() {
1825
1875
      return d_obj;
1826
1876
    }
 
1877
 
 
1878
    /**
 
1879
     * Destroy held array
 
1880
     */
 
1881
    public void destroy() {
 
1882
      if (d_obj != null) { d_obj.destroy(); d_obj = null; }
 
1883
    }
1827
1884
  }
1828
1885
 
1829
1886
  }