Package net.buffalo.protocal.converters.basic

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


    assertEquals(new Double(1.1d), d);
  }
 
  public void testCouldGetInt() throws Exception {
    IntegerConverter id = new IntegerConverter();
    Integer d = (Integer)id.unmarshal(TestUtils.createStreamReader("<int>1001</int>"), null);
    assertEquals(new Integer(1001), d);
 
  }
 
  public void testCouldGetLong() throws Exception {
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.