Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for distinct (0.22 sec)

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

       */
      public static <E> Builder<E> builder() {
        return new Builder<>();
      }
    
      /**
       * Returns a new builder, expecting the specified number of distinct elements to be added.
       *
       * <p>If {@code expectedSize} is exactly the number of distinct elements added to the builder
       * before {@link Builder#build} is called, the builder is likely to perform better than an unsized
       * {@link #builder()} would have.
       *
    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. maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

                        .filter(s -> s.startsWith("SourceCacheKey"))
                        .map(s -> s.substring("SourceCacheKey[location=".length(), s.indexOf(", tag")))
                        .sorted()
                        .distinct()
                        .toList();
                logger.debug("ModelCache contains " + paths.size());
                paths.forEach(s -> logger.debug("    " + s));
            }
            return modelBuilder.build(request.build());
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

      public final ImmutableList<V> replaceValues(K key, Iterable<? extends V> values) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * @serialData number of distinct keys, and then for each distinct key: the key, the number of
       *     values for that key, and the key's values
       */
      @GwtIncompatible // java.io.ObjectOutputStream
      @J2ktIncompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

        return (valueComparator == null)
            ? new ImmutableSet.Builder<V>()
            : new ImmutableSortedSet.Builder<V>(valueComparator);
      }
    
      /**
       * @serialData number of distinct keys, and then for each distinct key: the key, the number of
       *     values for that key, and the key's values
       */
      @GwtIncompatible // java.io.ObjectOutputStream
      @J2ktIncompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Multisets.java

          } else {
            return contains(element) ? unfiltered.remove(element, occurrences) : 0;
          }
        }
      }
    
      /**
       * Returns the expected number of distinct elements given the specified elements. The number of
       * distinct elements is only computed if {@code elements} is an instance of {@code Multiset};
       * otherwise the default value of 11 is returned.
       */
    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)
  6. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

                if (i > 0 && comparator.compare((K) sortedKeys[i - 1], (K) sortedKeys[i]) == 0) {
                  throw new IllegalArgumentException(
                      "keys required to be distinct but compared as equal: "
                          + sortedKeys[i - 1]
                          + " and "
                          + sortedKeys[i]);
                }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Maps.java

       * It will never change, even if the maps change at a later time.
       *
       * <p>Since this method uses {@code TreeMap} instances internally, the keys of the right map must
       * all compare as distinct according to the comparator of the left map.
       *
       * <p><b>Note:</b>If you only need to know whether two sorted maps have the same mappings, call
       * {@code left.equals(right)} instead of this method.
       *
    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