Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 157 for inserting (0.88 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/TestIntegerSetGenerator.java

       * containers with a known order other than insertion order must override this method.
       *
       * <p>Note: This default implementation is overkill (but valid) for an unordered container. An
       * equally valid implementation for an unordered container is to throw an exception. The chosen
       * implementation, however, has the advantage of working for insertion-ordered containers, as
       * well.
       */
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  2. 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);
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/graph/Traverser.java

      private enum InsertionOrder {
        FRONT {
          @Override
          <T> void insertInto(Deque<T> deque, T value) {
            deque.addFirst(value);
          }
        },
        BACK {
          @Override
          <T> void insertInto(Deque<T> deque, T value) {
            deque.addLast(value);
          }
        };
    
        abstract <T> void insertInto(Deque<T> deque, T value);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 19.3K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/graph/GraphBuilder.java

        return this;
      }
    
      /**
       * Specifies the order of iteration for the elements of {@link Graph#nodes()}.
       *
       * <p>The default value is {@link ElementOrder#insertion() insertion order}.
       */
      public <N1 extends N> GraphBuilder<N1> nodeOrder(ElementOrder<N1> nodeOrder) {
        GraphBuilder<N1> newBuilder = cast();
        newBuilder.nodeOrder = checkNotNull(nodeOrder);
        return newBuilder;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/cache/TestingRemovalListeners.java

        return new NullRemovalListener<>();
      }
    
      /** Type-inferring factory method for creating a {@link QueuingRemovalListener}. */
      @J2ktIncompatible
      @GwtIncompatible // ConcurrentLinkedQueue
      static <K, V> QueuingRemovalListener<K, V> queuingRemovalListener() {
        return new QueuingRemovalListener<>();
      }
    
      /** Type-inferring factory method for creating a {@link CountingRemovalListener}. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/graph/ValueGraphBuilder.java

        return this;
      }
    
      /**
       * Specifies the order of iteration for the elements of {@link Graph#nodes()}.
       *
       * <p>The default value is {@link ElementOrder#insertion() insertion order}.
       */
      public <N1 extends N> ValueGraphBuilder<N1, V> nodeOrder(ElementOrder<N1> nodeOrder) {
        ValueGraphBuilder<N1, V> newBuilder = cast();
        newBuilder.nodeOrder = checkNotNull(nodeOrder);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

          Hasher controlSink = control.newHasher(1024);
    
          Iterable<Hasher> sinksAndControl =
              Iterables.concat(sinks, Collections.singleton(controlSink));
          for (int insertion = 0; insertion < totalInsertions; insertion++) {
            RandomHasherAction.pickAtRandom(random).performAction(random, sinksAndControl);
          }
          // We need to ensure that at least 4 bytes have been put into the hasher or else
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/reflect/SubtypeTester.java

        boolean suppressGetSupertype() default false;
      }
    
      private @Nullable Method method = null;
    
      /** Call this in a {@link TestSubtype} public method asserting subtype relationship. */
      final <T> T isSubtype(T sub) {
        Type returnType = method.getGenericReturnType();
        Type paramType = getOnlyParameterType();
        TestSubtype spec = method.getAnnotation(TestSubtype.class);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  9. cmd/object-api-listobjects_test.go

    			},
    		},
    		// ListObjectsResult-5.
    		// Used for Asserting prefixes.
    		// Used for test case with prefix "new", (testCase 27-29).
    		5: {
    			IsTruncated: false,
    			Objects: []ObjectInfo{
    				{Name: "newPrefix0"},
    				{Name: "newPrefix1"},
    				{Name: "newzen/zen/recurse/again/again/again/pics"},
    			},
    		},
    		// ListObjectsResult-6.
    		// Used for Asserting prefixes.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 76.1K bytes
    - Click Count (0)
  10. code_of_conduct.md

    * Showing empathy towards other community members
    
    Examples of unacceptable behavior by participants include:
    
    * The use of sexualized language or imagery and unwelcome sexual attention or
      advances
    * Trolling, insulting/derogatory comments, and personal or political attacks
    * Public or private harassment
    * Publishing others' private information, such as a physical or electronic
      address, without explicit permission
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Jan 20 18:38:58 GMT 2020
    - 3.5K bytes
    - Click Count (0)
Back to Top