Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for distinctBy (0.07 sec)

  1. guava/src/com/google/common/collect/LinkedHashMultiset.java

        return new LinkedHashMultiset<>();
      }
    
      /**
       * Creates a new, empty {@code LinkedHashMultiset} with the specified expected number of distinct
       * elements.
       *
       * @param distinctElements the expected number of distinct elements
       * @throws IllegalArgumentException if {@code distinctElements} is negative
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 05 23:15:58 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ArrayListMultimap.java

          ArrayList<V> arrayList = (ArrayList<V>) collection;
          arrayList.trimToSize();
        }
      }
    
      /**
       * @serialData expectedValuesPerKey, number of distinct keys, and then for each distinct key: the
       *     key, number of values for that key, and the key's values
       */
      @GwtIncompatible
      @J2ktIncompatible
        private void writeObject(ObjectOutputStream stream) throws IOException {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 05 23:15:58 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Serialization.java

       * Multimap#asMap} view determines the ordering in which data is written to the stream.
       *
       * <p>The serialized output consists of the number of distinct keys, and then for each distinct
       * key: the key, the number of values for that key, and the key's values.
       */
      static <K extends @Nullable Object, V extends @Nullable Object> void writeMultimap(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:58:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  4. 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
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:58:48 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  5. 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
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:58:48 UTC 2025
    - 27.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticator.java

                        groupList.size(), roleList.size(), groupIdsForParentLookup.size());
            }
    
            // Set initial groups
            user.setGroups(groupList.stream().distinct().toArray(n -> new String[n]));
            user.setRoles(roleList.stream().distinct().toArray(n -> new String[n]));
    
            if (logger.isDebugEnabled()) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 56.7K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

                // FIXME There should be no duplicates, yet there are some
                return upgradedProperties.stream()
                    .distinct()
                    .collect(ImmutableList.toImmutableList());
            } catch (IOException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    
        /**
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 24 14:15:15 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

        return Multisets.iteratorImpl(this);
      }
    
      @Override
      public final int size() {
        return Ints.saturatedCast(size);
      }
    
      /**
       * @serialData the number of distinct elements, the first element, its count, the second element,
       *     its count, and so on
       */
      @GwtIncompatible
      @J2ktIncompatible
        private void writeObject(ObjectOutputStream stream) throws IOException {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 05 23:15:58 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/TreeMultiset.java

            return node.elemCount;
          }
    
          @Override
          long treeAggregate(@Nullable AvlNode<?> root) {
            return (root == null) ? 0 : root.totalCount;
          }
        },
        DISTINCT {
          @Override
          int nodeAggregate(AvlNode<?> node) {
            return 1;
          }
    
          @Override
          long treeAggregate(@Nullable AvlNode<?> root) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:58:48 UTC 2025
    - 34.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/TreeMultiset.java

            return node.elemCount;
          }
    
          @Override
          long treeAggregate(@Nullable AvlNode<?> root) {
            return (root == null) ? 0 : root.totalCount;
          }
        },
        DISTINCT {
          @Override
          int nodeAggregate(AvlNode<?> node) {
            return 1;
          }
    
          @Override
          long treeAggregate(@Nullable AvlNode<?> root) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:58:48 UTC 2025
    - 33.9K bytes
    - Viewed (0)
Back to top