Package org.mule.util.JdkVersionUtils

Examples of org.mule.util.JdkVersionUtils.JdkVersion.compareTo()


        assertTrue(jdk1_6_0_5.compareTo(jdk1_6_0_29) < 0);
        assertTrue(jdk1_6_0_29.compareTo(jdk1_6_0_29_b04) < 0);
        assertTrue(jdk1_6_0_29_b04.compareTo(jdk1_6_0_29) > 0);
   
    assertTrue(jdk1_6_0_29_b04.compareTo(jdk1_6_0_29_b05) < 0);
    assertTrue(jdk1_6_0_29_b05.compareTo(jdk1_6_0_29_b04) > 0);
   
    assertTrue(jdk1_6_0_29_b04.compareTo(jdk1_7) < 0);
    assertTrue(jdk1_7.compareTo(jdk1_6_0_29_b04) > 0);
  }
 
View Full Code Here


    JdkVersion jdk1_6_0_29_b05 = new JdkVersion("1.6.0_29-b05");
   
    assertTrue(jdk1_3.compareTo(jdk1_7) < 0);
    assertTrue(jdk1_7.compareTo(jdk1_3) > 0);
    assertTrue(jdk1_3.compareTo(jdk1_3) == 0);
    assertTrue(jdk1_6_0_29_b05.compareTo(jdk1_6_0_29_b05) == 0);
   
    assertTrue(jdk1_6_0_5.compareTo(jdk1_6_0_29_b04) < 0);
    assertTrue(jdk1_6_0_29_b04.compareTo(jdk1_6_0_5) > 0);
    assertTrue(jdk1_6_0_29.compareTo(jdk1_6_0_5) > 0);
        assertTrue(jdk1_6_0_5.compareTo(jdk1_6_0_29) < 0);
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.