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

« back to all changes in this revision

Viewing changes to src/babel-runtime/java/gov/llnl/sidl/BaseArray.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:
1
1
//
2
2
// File:        BaseArray.java
3
3
// Package:     gov.llnl.sidl
4
 
// Revision:    $Revision: 1.10 $
5
 
// Modified:    $Date: 2006/08/29 22:29:18 $
 
4
// Revision:    $Revision: 1.11 $
 
5
// Modified:    $Date: 2007/09/27 19:35:12 $
6
6
// Description: base array for the sidl Java runtime system
7
7
//
8
8
// Copyright (c) 2000-2001, The Regents of the University of Calfornia.
450
450
    public gov.llnl.sidl.BaseArray get() {
451
451
      return d_obj;
452
452
    }
 
453
 
 
454
    /**
 
455
     * Destroy the held array.
 
456
     */
 
457
    public void destroy() {
 
458
      if (d_obj != null) { d_obj.destroy(); d_obj = null; }
 
459
    }
453
460
  }
454
461
 
455
462