Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 451 - 460 of 490 for needs (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava/src/com/google/common/base/Splitter.java

              // empty strings do not count towards the limit.
              end = toSplit.length();
              offset = -1;
              // Since we may have changed the end, we need to trim it again.
              while (end > start && trimmer.matches(toSplit.charAt(end - 1))) {
                end--;
              }
            } else {
              limit--;
            }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 23.8K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ImmutableSortedSet.java

         * ImmutableSortedSet#orderedBy}.
         */
        /*
         * TODO(cpovirk): use Object[] instead of E[] in the mainline? (The backport is different and
         * doesn't need this suppression, but we keep it to minimize diffs.) Generally be more clear
         * about when we have an Object[] vs. a Comparable[] or other array type in internalArray? If we
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 39.1K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

      }
    
      /*
       * TODO(kevinb): should we copy this javadoc to each concrete class, so that
       * classes like LinkedHashMultimap that need to say something different are
       * still able to {@inheritDoc} all the way from Multimap?
       */
    
      @Override
      Multiset<K> createKeys() {
        return new Multimaps.Keys<K, V>(this);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 48.4K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/ImmutableSet.java

       */
      public static <E> ImmutableSet<E> of(E e1) {
        return new SingletonImmutableSet<>(e1);
      }
    
      /*
       * TODO: b/315526394 - Skip the Builder entirely for the of(...) methods, since we don't need to
       * worry that we might trigger the fallback to the JDK-backed implementation? (The varargs one
       * _could_, so we could keep it as it is. Or we could convince ourselves that hash flooding is
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Nov 07 16:09:47 GMT 2025
    - 35.3K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/math/Quantiles.java

          int[] quotients = new int[indexes.length];
          int[] remainders = new int[indexes.length];
          // The indexes to select. In the worst case, we'll need one each side of each quantile.
          int[] requiredSelections = new int[indexes.length * 2];
          int requiredSelectionsCount = 0;
          for (int i = 0; i < indexes.length; i++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 30.1K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/ImmutableMultimap.java

     * source of bugs and confusion.
     *
     * <p><b>Note:</b> every {@link ImmutableMultimap} offers an {@link #inverse} view, so there is no
     * need for a distinct {@code ImmutableBiMultimap} type.
     *
     * <p><a id="iteration"></a>
     *
     * <p><b>Key-grouped iteration.</b> All view collections follow the same iteration order. In all
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 27.1K bytes
    - Click Count (0)
  7. guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java

        sampleDataList.addAll(misses);
        Collections.shuffle(sampleDataList);
        sampleData = sampleDataList.toArray(new String[sampleDataList.size()]);
      }
    
      // Since we can't pass a concrete SomeEnum.class directly, we need to use a raw type.
      @SuppressWarnings("unchecked")
      @Benchmark
      boolean getIfPresent(int repetitions) {
        boolean retVal = false;
        for (int i = 0; i < repetitions; ++i) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 29.4K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/ImmutableSetMultimap.java

          K key = entry.getKey();
          ImmutableSet.Builder<? extends V> values = (ImmutableSet.Builder<V>) entry.getValue();
          // If orderValuesBy got called at the very end, we may need to do the ImmutableSet to
          // ImmutableSortedSet copy for each of these.
          ImmutableSet<V> set = valueSet(valueComparator, values.build());
          if (!set.isEmpty()) {
            builder.put(key, set);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 19 22:57:35 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

          K key = entry.getKey();
          ImmutableSet.Builder<? extends V> values = (ImmutableSet.Builder<V>) entry.getValue();
          // If orderValuesBy got called at the very end, we may need to do the ImmutableSet to
          // ImmutableSortedSet copy for each of these.
          ImmutableSet<V> set = valueSet(valueComparator, values.build());
          if (!set.isEmpty()) {
            builder.put(key, set);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 19 22:57:35 GMT 2026
    - 26.3K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/ImmutableBiMap.java

        if (map instanceof ImmutableBiMap) {
          @SuppressWarnings("unchecked") // safe since map is not writable
          ImmutableBiMap<K, V> bimap = (ImmutableBiMap<K, V>) map;
          // TODO(lowasser): if we need to make a copy of a BiMap because the
          // forward map is a view, don't make a copy of the non-view delegate map
          if (!bimap.isPartialView()) {
            return bimap;
          }
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 22.7K bytes
    - Click Count (0)
Back to Top