~brian-thomason/+junk/groovy-1.7.2

« back to all changes in this revision

Viewing changes to src/main/org/codehaus/groovy/runtime/wrappers/DoubleWrapper.java

  • Committer: Brian Thomason
  • Date: 2011-12-20 17:31:12 UTC
  • Revision ID: brian.thomason@canonical.com-20111220173112-u53pbzhiy5y1hau0
Initial import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright 2003-2007 the original author or authors.
 
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.codehaus.groovy.runtime.wrappers;
 
18
 
 
19
/**
 
20
 * @author John Wilson
 
21
 *
 
22
 */
 
23
 
 
24
public class DoubleWrapper extends PojoWrapper {
 
25
  public DoubleWrapper(final double wrapped) {
 
26
    super(new Double(wrapped), double.class);
 
27
  }
 
28
}