log.error(ex);
System.err.println(ex);
    public void insertEntries() {        try {            DataInputStream in=new DataInputStream(System.in);            Address local=ht.getLocalAddress();            long start, stop;            System.out.print("Number of entries: ");            System.out.flush();            System.in.skip(System.in.available());            String line=in.readLine();            int num=Integer.parseInt(line);            start=System.currentTimeMillis();            for(int i=0; i < num; i++) {                if(i % 100 == 0)                    System.out.print(i + " ");                ht.put(local.toString() + '#' + i, new Integer(i));            }            stop=System.currentTimeMillis();            double num_per_sec=num / ((stop-start)/1000.0);            System.out.println("\nInserted " + num + " elements in " + (stop - start) +                    " ms, size=" + ht.size() + " [" + num_per_sec + " / sec]");        }        catch(Exception ex) {            log.error(ex);        }    }