    1   /*
    2    * Copyright 2003-2004 The Apache Software Foundation.
    3    *
    4    * Licensed under the Apache License, Version 2.0 (the "License");
    5    * you may not use this file except in compliance with the License.
    6    * You may obtain a copy of the License at
    7    *
    8    *      http://www.apache.org/licenses/LICENSE-2.0
    9    *
    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
    17  package org.apache.commons.math.util;
    18
    19  /***
    20   * @version $Revision: 1.7 $ $Date: 2004/02/21 21:35:18 $
    21   */
    22  public class TestBean {
    23      private Double x = new Double(1.0);
    24
    25      private String y = "1.0";
    26
    27      private Double z = new Double(2.0);
    28
    29      /***
    30       *
    31       */
    32      public Double getX() {
    33          return x;
    34      }
    35
    36      /***
    37       *
    38       */
    39      public String getY() {
    40          return y;
    41      }
    42
    43      /***
    44       *
    45       */
    46      public void setX(Double double1) {
    47          x = double1;
    48      }
    49
    50      /***
    51       *
    52       */
    53      public void setY(String string) {
    54          y = string;
    55      }
    56
    57      /***
    58       *
    59       */
    60      public Double getZ() {
    61          throw new RuntimeException();
    62      }
    63
    64      /***
    65       *
    66       */
    67      public void setZ(Double double1) {
    68          z = double1;
    69      }
    70
    71  }