Package net.buffalo.protocal.converters.basic

Examples of net.buffalo.protocal.converters.basic.DoubleConverter.unmarshal()


    assertEquals(27, cal.get(Calendar.SECOND));
  }
 
  public void testChouldGetDouble() throws Exception {
    DoubleConverter nd = new DoubleConverter();
    Double d = (Double)nd.unmarshal(TestUtils.createStreamReader("<double>1.1</double>"), null);
    assertEquals(new Double(1.1d), d);
  }
 
  public void testCouldGetInt() throws Exception {
    IntegerConverter id = new IntegerConverter();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.