Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for insertion (0.14 sec)

  1. android/guava/src/com/google/common/collect/ImmutableMultiset.java

            // we need ObjectCountHashMap-backed contents, with its keys and values array in direct
            // insertion order
            contents = new ObjectCountHashMap<E>(contents);
            isLinkedHash = false;
          }
          buildInvoked = true;
          // contents is now ObjectCountHashMap, but still guaranteed to be in insertion order!
          return new RegularImmutableMultiset<E>(contents);
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableMap.java

      /**
       * Returns an immutable set of the mappings in this map. The iteration order is specified by the
       * method used to create this map. Typically, this is insertion order.
       */
      @Override
      public ImmutableSet<Entry<K, V>> entrySet() {
        ImmutableSet<Entry<K, V>> result = entrySet;
        return (result == null) ? entrySet = createEntrySet() : result;
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Maps.java

          // calculation here.
          return (int) Math.ceil(expectedSize / 0.75);
        }
        return Integer.MAX_VALUE; // any large value
      }
    
      /**
       * Creates a <i>mutable</i>, empty, insertion-ordered {@code LinkedHashMap} instance.
       *
       * <p><b>Note:</b> if mutability is not required, use {@link ImmutableMap#of()} instead.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
Back to top