01: /*
02: * Copyright 2005 The Apache Software Foundation.
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: */
16: package org.apache.commons.math.stat.inference;
17:
18: /**
19: * A concrete inference test factory. This is the default factory used by
20: * Commons-Math.
21: *
22: * @since 1.1
23: * @version $Revision: 209144 $ $Date: 2005-07-04 16:30:05 -0700 (Mon, 04 Jul 2005) $
24: */
25: public class TestFactoryImpl extends TestFactory {
26:
27: /**
28: * Default constructor.
29: */
30: public TestFactoryImpl() {
31: super ();
32: }
33:
34: /**
35: * Create a TTest instance.
36: *
37: * @return a new TTest instance
38: */
39: public TTest createTTest() {
40: return new TTestImpl();
41: }
42:
43: /**
44: * Create a ChiSquareTest instance.
45: *
46: * @return a new ChiSquareTest instance
47: */
48: public ChiSquareTest createChiSquareTest() {
49: return new ChiSquareTestImpl();
50: }
51:
52: }
|