1 22 package org.jboss.test.jmx.compliance.query.support; 23 24 public class NumberTest implements NumberTestMBean 25 { 26 private Number number; 27 28 public NumberTest() 29 { 30 } 31 32 public NumberTest(double number) 33 { 34 this.number = new Double (number); 35 } 36 37 public NumberTest(Double number) 38 { 39 this.number = number; 40 } 41 42 public NumberTest(float number) 43 { 44 this.number = new Float (number); 45 } 46 47 public NumberTest(Float number) 48 { 49 this.number = number; 50 } 51 52 public NumberTest(int number) 53 { 54 this.number = new Integer (number); 55 } 56 57 public NumberTest(Integer number) 58 { 59 this.number = number; 60 } 61 62 public NumberTest(long number) 63 { 64 this.number = new Long (number); 65 } 66 67 public NumberTest(Long number) 68 { 69 this.number = number; 70 } 71 72 public Number getNumber() 73 { 74 return number; 75 } 76 } 77 | Popular Tags |