Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for injected (0.48 sec)

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

        return collection;
      }
    
      /** @see AbstractContainerTester#resetContainer() */
      protected void resetCollection() {
        resetContainer();
      }
    
      /** @return an array of the proper size with {@code null} inserted into the middle element. */
      protected E[] createArrayWithNullElement() {
        E[] array = createSamplesArray();
        array[getNullLocation()] = null;
        return array;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

          }
    
          oldRunCount = workerRunCount;
    
          // If the worker is not yet running, the delegate Executor might reject our attempt to start
          // it. To preserve FIFO order and failure atomicity of rejected execution when the same
          // Runnable is executed more than once, allocate a wrapper that we know is safe to remove by
          // object identity.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableRangeMap.java

        }
    
        /**
         * Returns an {@code ImmutableRangeMap} containing the associations previously added to this
         * builder.
         *
         * @throws IllegalArgumentException if any two ranges inserted into this builder overlap
         */
        public ImmutableRangeMap<K, V> build() {
          Collections.sort(entries, Range.<K>rangeLexOrdering().onKeys());
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/TreeMultiset.java

        implements Serializable {
    
      /**
       * Creates a new, empty multiset, sorted according to the elements' natural order. All elements
       * inserted into the multiset must implement the {@code Comparable} interface. Furthermore, all
       * such elements must be <i>mutually comparable</i>: {@code e1.compareTo(e2)} must not throw a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 34.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

          K key = (K) stream.readObject();
          @SuppressWarnings("unchecked")
          V value = (V) stream.readObject();
          /*
           * requireNonNull is safe for a properly serialized multimap: We've already inserted a
           * collection for each key that we expect.
           */
          requireNonNull(map.get(key)).add(value);
        }
        setMap(map);
      }
    
      @GwtIncompatible // java serialization not supported
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/SortedLists.java

            return higherIndex;
          }
        },
        /**
         * Return {@code ~insertionIndex}, where {@code insertionIndex} is defined as the point at which
         * the key would be inserted into the list: the index of the next higher element in the list, or
         * {@code list.size()} if there is no such element.
         *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableMap.java

       * <p>For <i>small</i> immutable maps, the {@code ImmutableMap.of()} methods are even more
       * convenient.
       *
       * <p>By default, a {@code Builder} will generate maps that iterate over entries in the order they
       * were inserted into the builder, equivalently to {@code LinkedHashMap}. For example, in the
       * above example, {@code WORD_TO_INT.entrySet()} is guaranteed to iterate over the entries in the
    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)
  8. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

        }
    
        /**
         * Returns an {@code ImmutableRangeMap} containing the associations previously added to this
         * builder.
         *
         * @throws IllegalArgumentException if any two ranges inserted into this builder overlap
         */
        public ImmutableRangeMap<K, V> build() {
          Collections.sort(entries, Range.<K>rangeLexOrdering().onKeys());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableRangeSet.java

         * merged, but overlapping ranges will cause an exception when {@link #build()} is called.
         *
         * @throws IllegalArgumentException if any inserted ranges are empty
         * @since 21.0
         */
        @CanIgnoreReturnValue
        public Builder<C> addAll(Iterable<Range<C>> ranges) {
          for (Range<C> range : ranges) {
            add(range);
          }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 26.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

         * merged, but overlapping ranges will cause an exception when {@link #build()} is called.
         *
         * @throws IllegalArgumentException if any inserted ranges are empty
         * @since 21.0
         */
        @CanIgnoreReturnValue
        public Builder<C> addAll(Iterable<Range<C>> ranges) {
          for (Range<C> range : ranges) {
            add(range);
          }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.2K bytes
    - Viewed (0)
Back to top