Package classes

Examples of classes.NBestResult.compareTo()


 
  @Test
  public void testCompareToNonResult() {
    NBestResult r = new NBestResult("res1", 2.0, 3.0, 34.0);
    Integer a = 0;
    if (r.compareTo(a) == 0)
      fail("CompareTo not working properly for nBestResult");
  }
}
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.