< prev index next >

src/jdk.compiler/share/classes/com/sun/tools/javac/util/IntHashTable.java

Print this page
*** 38,11 ***
      private static final int DEFAULT_INITIAL_SIZE = 64;
      protected Object[] objs; // the domain set
      protected int[] ints; // the image set
      protected int mask; // used to clip int's into the domain
      protected int num_bindings; // the number of mappings (including DELETED)
!     private static final Object DELETED = new Object();
  
      /**
       * Construct an Object {@literal ->} int hash table.
       *
       * The default size of the hash table is 64 mappings.
--- 38,11 ---
      private static final int DEFAULT_INITIAL_SIZE = 64;
      protected Object[] objs; // the domain set
      protected int[] ints; // the image set
      protected int mask; // used to clip int's into the domain
      protected int num_bindings; // the number of mappings (including DELETED)
!     private static final Object DELETED = new Object() {};
  
      /**
       * Construct an Object {@literal ->} int hash table.
       *
       * The default size of the hash table is 64 mappings.
< prev index next >