~frgomes/jquantlib/trunk

« back to all changes in this revision

Viewing changes to jquantlib-experimental/src/main/java/org/jquantlib/experimental/DefaultPrimativeListStrategy.java

  • Committer: Richard Gomes
  • Date: 2015-03-11 00:40:46 UTC
  • Revision ID: rgomes.info@gmail.com-20150311004046-7pck4lxbmc2iy4gj
Remove jquantlib-experimental.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 Copyright (C) 2008  Q. Boiler
3
 
 
4
 
 This source code is release under the BSD License.
5
 
 
6
 
 This file is part of JQuantLib, a free-software/open-source library
7
 
 for financial quantitative analysts and developers - http://jquantlib.org/
8
 
 
9
 
 JQuantLib is free software: you can redistribute it and/or modify it
10
 
 under the terms of the JQuantLib license.  You should have received a
11
 
 copy of the license along with this program; if not, please email
12
 
 <jquant-devel@lists.sourceforge.net>. The license is also available online at
13
 
 <http://www.jquantlib.org/index.php/LICENSE.TXT>.
14
 
 
15
 
 This program is distributed in the hope that it will be useful, but WITHOUT
16
 
 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
17
 
 FOR A PARTICULAR PURPOSE.  See the license for more details.
18
 
 
19
 
 JQuantLib is based on QuantLib. http://quantlib.org/
20
 
 When applicable, the original copyright notice follows this notice.
21
 
 */
22
 
 
23
 
package org.jquantlib.experimental;
24
 
 
25
 
 
26
 
 
27
 
/**
28
 
 *
29
 
 * @author Q. Boiler
30
 
 */
31
 
public class DefaultPrimativeListStrategy implements PrimativeList{
32
 
        java.util.List pwl;
33
 
 
34
 
        @Override
35
 
        public boolean add(double d) {
36
 
                return pwl.add(d);
37
 
        }
38
 
 
39
 
        @Override
40
 
        public boolean add(int d) {
41
 
                return pwl.add(d);
42
 
        }
43
 
 
44
 
}