hep.geant4.jni
Class DoubleVector

java.lang.Object
  extended by hep.geant4.jni.DoubleVector
Direct Known Subclasses:
G4DataVector

public class DoubleVector
extends Object


Field Summary
protected  boolean swigCMemOwn
           
 
Constructor Summary
  DoubleVector()
           
  DoubleVector(long n)
           
protected DoubleVector(long cPtr, boolean cMemoryOwn)
           
 
Method Summary
 long capacity()
           
 void clear()
           
 void delete()
           
 boolean empty()
           
 boolean equals(Object obj)
           
protected  void finalize()
           
 double get(int i)
           
protected static long getCPtr(DoubleVector obj)
           
 void pushBack(double x)
           
 void reserve(long n)
           
 void set(int i, double x)
           
 long size()
           
 
Methods inherited from class java.lang.Object
clone, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

swigCMemOwn

protected boolean swigCMemOwn
Constructor Detail

DoubleVector

protected DoubleVector(long cPtr,
                       boolean cMemoryOwn)

DoubleVector

public DoubleVector()

DoubleVector

public DoubleVector(long n)
Method Detail

getCPtr

protected static long getCPtr(DoubleVector obj)

finalize

protected void finalize()
                 throws Throwable
Overrides:
finalize in class Object
Throws:
Throwable

delete

public void delete()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

size

public long size()

capacity

public long capacity()

reserve

public void reserve(long n)

empty

public boolean empty()

clear

public void clear()

pushBack

public void pushBack(double x)

get

public double get(int i)

set

public void set(int i,
                double x)


Copyright © 2000-2007 FreeHEP. All Rights Reserved.