コード例 #1
0
 /**
  * Creates a new <code>TFloatObjectHashMap</code> that contains the entries in the map passed to
  * it.
  *
  * @param map the <tt>TFloatObjectMap</tt> to be copied.
  */
 public TFloatObjectHashMap(TFloatObjectMap<V> map) {
   this(map.size(), 0.5f, map.getNoEntryKey());
   putAll(map);
 }
コード例 #2
0
 // unchanging over the life of the map, no need to lock
 public float getNoEntryKey() {
   return m.getNoEntryKey();
 }