Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 117 for insertion (0.93 sec)

  1. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedGraphTest.java

      }
    
      /**
       * Populates the graph with nodes and edges in a star shape with node `1` in the middle.
       *
       * <p>Note that the edges are added in a shuffled order to properly test the effect of the
       * insertion order.
       */
      private void populateStarShapedGraph() {
        putEdge(2, 1);
        putEdge(1, 4);
        putEdge(1, 3);
        putEdge(5, 1);
        putEdge(1, 2);
        putEdge(3, 1);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

     * OutOfMemoryError}). This class does not permit {@code null} elements. A priority queue relying on
     * {@linkplain Comparable natural ordering} also does not permit insertion of non-comparable objects
     * (doing so results in {@code ClassCastException}).
     *
     * <p>This class and its iterator implement all of the optional methods of the {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/CompactHashSet.java

     * average, in the marking phase, not {@code 5.0} as in {@code java.util.HashSet}.
     *
     * <p>If there are no removals, then {@link #iterator iteration} order is the same as insertion
     * order. Any removal invalidates any ordering guarantees.
     *
     * <p>This class should not be assumed to be universally superior to {@code java.util.HashSet}.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/Network.java

     * terms</a>):
     *
     * <ul>
     *   <li>directed graphs
     *   <li>undirected graphs
     *   <li>graphs that do/don't allow parallel edges
     *   <li>graphs that do/don't allow self-loops
     *   <li>graphs whose nodes/edges are insertion-ordered, sorted, or unordered
     *   <li>graphs whose edges are <a
     *       href="https://github.com/google/guava/wiki/GraphsExplained#uniqueness">unique</a> objects
     * </ul>
     *
     * <h3>Building a {@code Network}</h3>
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:03:02 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/CompactHashMap.java

     * collector by only using a constant number of internal objects.
     *
     * <p>If there are no removals, then iteration order for the {@link #entrySet}, {@link #keySet}, and
     * {@link #values} views is the same as insertion order. Any removal invalidates any ordering
     * guarantees.
     *
     * <p>This class should not be assumed to be universally superior to {@code java.util.HashMap}.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSet.java

                ImmutableCollection.Builder.expandedCapacity(dedupedElements.length, minCapacity);
            dedupedElements = Arrays.copyOf(dedupedElements, newCapacity);
          }
        }
    
        /** Adds e to the insertion-order array of deduplicated elements. Calls ensureCapacity. */
        final void addDedupedElement(E e) {
          ensureCapacity(distinct + 1);
          dedupedElements[distinct++] = e;
        }
    
        /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/CompactHashMap.java

     * collector by only using a constant number of internal objects.
     *
     * <p>If there are no removals, then iteration order for the {@link #entrySet}, {@link #keySet}, and
     * {@link #values} views is the same as insertion order. Any removal invalidates any ordering
     * guarantees.
     *
     * <p>This class should not be assumed to be universally superior to {@code java.util.HashMap}.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
  8. 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;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 41.2K bytes
    - Viewed (0)
  9. 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;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 44.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

      /** Annotates a public method that declares subtype assertion. */
      @RequiredModifiers(Modifier.PUBLIC)
      @Retention(RetentionPolicy.RUNTIME)
      @Target(ElementType.METHOD)
      @Keep
      @interface TestSubtype {
        /** Suppresses the assertion on {@link TypeToken#getSubtype}. */
        boolean suppressGetSubtype() default false;
    
        /** Suppresses the assertion on {@link TypeToken#getSupertype}. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top