FileDocCategorySizeDatePackage
HashMap7.javaAPI DocExample719Sat Sep 12 03:01:00 BST 1998None

HashMap7

public class HashMap7 extends Object
Bounds.
see
com.objectspace.jgl.HashMap
version
3.0.0
author
ObjectSpace, Inc.

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

    HashMap map = new HashMap( true ); // allow duplicates
    map.add( new Integer( 3 ), "three" );
    map.add( new Integer( 8 ), "eight" );
    map.add( new Integer( 2 ), "two" );
    map.add( new Integer( 3 ), "THREE" );
    System.out.println( map );

    Range range = map.equalRange( new Integer( 3 ) );
    while ( !range.begin.equals( range.end ) )
      System.out.println( "match @ " + range.begin.nextElement() );