Package narzedzia

Examples of narzedzia.Para


public class TestPara extends Test {
  public void wykonaj(){
    System.out.println("Test Para:");

    Para p1 = new Para("a",100.0);
    Para p2 = new Para("aa",100.0);
    Para p3 = new Para("aaa",100.0);

    System.out.println(p1.klucz+" cmp "+p2.klucz+" :"+p1.compareTo(p2));
    System.out.println(p2.klucz+" cmp "+p1.klucz+" :"+p2.compareTo(p1));   
    System.out.println(p3.klucz+" cmp "+p3.klucz+" :"+p3.compareTo(p3));       
    System.out.println(p1.klucz+" cmp "+p3.klucz+" :"+p1.compareTo(p3));
    System.out.println(p2.klucz+" cmp "+p3.klucz+" :"+p2.compareTo(p3));
  }
View Full Code Here

TOP

Related Classes of narzedzia.Para

Copyright © 2018 www.massapicom. 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.