Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 206 for Distinct (0.09 seconds)

  1. 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.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 163.4K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ImmutableSortedSet.java

            /*
             * sortAndDedup may have made enough room for this element, but that's not necessarily good
             * enough. Consider, for example, the case where we have a buffer of size (n+1), add n
             * distinct elements, and add the last element over again many times over. We don't want a
             * situation where we re-sort the entire buffer every time the last element is re-added.
             *
    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/CompactLinkedHashMap.java

        @WeakOuter
        final class EntrySetImpl extends EntrySetView {
          @Override
          public Spliterator<Entry<K, V>> spliterator() {
            return Spliterators.spliterator(this, Spliterator.ORDERED | Spliterator.DISTINCT);
          }
        }
        return new EntrySetImpl();
      }
    
      @Override
      Set<K> createKeySet() {
        @WeakOuter
        final class KeySetImpl extends KeySetView {
          @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/ImmutableEnumMap.java

      }
    
      @Override
      @GwtIncompatible // Spliterator
      Spliterator<Entry<K, V>> entrySpliterator() {
        return CollectSpliterators.map(
            delegate.entrySet().spliterator(),
            Spliterator.DISTINCT | Spliterator.ORDERED | Spliterator.IMMUTABLE | Spliterator.NONNULL,
            Maps::unmodifiableEntry);
      }
    
      @Override
      public void forEach(BiConsumer<? super K, ? super V> action) {
        delegate.forEach(action);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/io/BaseEncoding.java

          // extra zero bits we need to add to the end of bitsPerChar to get 3 in total.
          // The logic here would be wrong for bitsPerChar > 8, but since we require distinct ASCII
          // characters that can't happen.
          int zeroesInBitsPerChar = Integer.numberOfTrailingZeros(bitsPerChar);
          this.charsPerChunk = 1 << (3 - zeroesInBitsPerChar);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 41.6K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/ImmutableSortedAsList.java

      }
    
      @Override
      public Spliterator<E> spliterator() {
        return CollectSpliterators.indexed(
            size(),
            ImmutableList.SPLITERATOR_CHARACTERISTICS | Spliterator.SORTED | Spliterator.DISTINCT,
            delegateList()::get,
            comparator());
      }
    
      // redeclare to help optimizers with b/310253115
      @SuppressWarnings("RedundantOverride")
      @Override
      @J2ktIncompatible
      @GwtIncompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            final String permissionKey = userBean.map(user -> StreamUtil.stream(user.getPermissions())
                    .get(stream -> stream.sorted().distinct().collect(Collectors.joining("\n")))).orElse(StringUtil.EMPTY);
    
            try {
                return facetCache.get(query + "\n" + permissionKey, () -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 52.6K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/ImmutableMapEntrySet.java

     */
    @GwtCompatible
    abstract class ImmutableMapEntrySet<K, V> extends ImmutableSet.CachingAsList<Entry<K, V>> {
      private static final int SPLITERATOR_CHARACTERISTICS =
          Spliterator.ORDERED | Spliterator.DISTINCT | Spliterator.NONNULL | Spliterator.IMMUTABLE;
    
      static final class RegularEntrySet<K, V> extends ImmutableMapEntrySet<K, V> {
        private final transient ImmutableMap<K, V> map;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/net/MediaType.java

       * href="http://en.wikipedia.org/wiki/Adobe_Photoshop#File_format">Wikipedia</a>; this is the
       * regular output/input of Photoshop (which can also export to various image formats; note that
       * files with extension "PSB" are in a distinct but related format).
       *
       * <p>This is a more recent replacement for the older, experimental type {@code x-photoshop}: <a
       * href="http://tools.ietf.org/html/rfc2046#section-6">RFC-2046.6</a>.
       *
       * @since 15.0
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 02 01:46:40 GMT 2025
    - 48K bytes
    - Click Count (0)
  10. 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.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 157.6K bytes
    - Click Count (0)
Back to Top