LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Sponsors
  • Mirrors
  • Logos
  • Contact us
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Cvs-checkins > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: cvs at opencores.org<cvs@o...>
    Date: Thu Oct 26 02:52:59 CEST 2006
    Subject: [cvs-checkins] MODIFIED: jop ...
    Top
    Date: 00/06/10 26:02:52

    Added: jop/java/target/src/test/jdk TestJdk.java
    Log:
    merge with Nelsons JDK and split into three source directories


    Revision Changes Path
    1.1 jop/java/target/src/test/jdk/TestJdk.java

    http://www.opencores.org/cvsweb.shtml/jop/java/target/src/test/jdk/TestJdk.java?rev=1.1&content-type=text/x-cvsweb-markup

    Index: TestJdk.java
    ===================================================================
    package jdk;

    import java.util.*;

    public class TestJdk {

    public static void main(String args[]) {
    Hashtable vc = new Hashtable();
    Integer i = new Integer(1);
    vc.put("one", i);
    vc.put("two", new Integer(2));
    vc.put("three", new Integer(3));
    System.out.println(vc.toString());
    if (vc.contains("two")) {
    System.out.println("true");
    } else {
    System.out.println("false");
    System.out.println(vc.toString());
    }
    }


    }



     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.