~ubuntu-branches/ubuntu/vivid/quantlib-swig/vivid

« back to all changes in this revision

Viewing changes to Java/org/quantlib/EurliborSwapFixBvs3M.java

  • Committer: Bazaar Package Importer
  • Author(s): Dirk Eddelbuettel
  • Date: 2007-12-26 08:10:08 UTC
  • mfrom: (1.1.6 upstream) (2.1.2 lenny)
  • Revision ID: james.westby@ubuntu.com-20071226081008-cjq979mvtxydli4r
New upstream release 0.9.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* ----------------------------------------------------------------------------
2
 
 * This file was automatically generated by SWIG (http://www.swig.org).
3
 
 * Version 1.3.31
4
 
 *
5
 
 * Do not make changes to this file unless you know what you are doing--modify
6
 
 * the SWIG interface file instead.
7
 
 * ----------------------------------------------------------------------------- */
8
 
 
9
 
package org.quantlib;
10
 
 
11
 
public class EurliborSwapFixBvs3M extends SwapIndex {
12
 
  private long swigCPtr;
13
 
 
14
 
  protected EurliborSwapFixBvs3M(long cPtr, boolean cMemoryOwn) {
15
 
    super(QuantLibJNI.SWIGEurliborSwapFixBvs3MUpcast(cPtr), cMemoryOwn);
16
 
    swigCPtr = cPtr;
17
 
  }
18
 
 
19
 
  protected static long getCPtr(EurliborSwapFixBvs3M obj) {
20
 
    return (obj == null) ? 0 : obj.swigCPtr;
21
 
  }
22
 
 
23
 
  protected void finalize() {
24
 
    delete();
25
 
  }
26
 
 
27
 
  public synchronized void delete() {
28
 
    if(swigCPtr != 0 && swigCMemOwn) {
29
 
      swigCMemOwn = false;
30
 
      QuantLibJNI.delete_EurliborSwapFixBvs3M(swigCPtr);
31
 
    }
32
 
    swigCPtr = 0;
33
 
    super.delete();
34
 
  }
35
 
 
36
 
  public EurliborSwapFixBvs3M(Period tenor, YieldTermStructureHandle h) {
37
 
    this(QuantLibJNI.new_EurliborSwapFixBvs3M__SWIG_0(Period.getCPtr(tenor), tenor, YieldTermStructureHandle.getCPtr(h), h), true);
38
 
  }
39
 
 
40
 
  public EurliborSwapFixBvs3M(Period tenor) {
41
 
    this(QuantLibJNI.new_EurliborSwapFixBvs3M__SWIG_1(Period.getCPtr(tenor), tenor), true);
42
 
  }
43
 
 
44
 
}