Package org.jboss.resteasy.core.request

Examples of org.jboss.resteasy.core.request.QualityValue.intValue()


   @Test
   public void numbers()
   {
      QualityValue x = QualityValue.valueOf("0.08");
      assertEquals(80, x.intValue());
      assertEquals(80L, x.longValue());
      assertEquals(0.08f, x.floatValue());
      assertEquals(0.08d, x.doubleValue());
   }
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.