Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 154 for distinctBy (0.15 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java

            this.clientMap = clientMap;
        }
    
        /**
         * Closes all clients in the factory.
         */
        @Override
        public void close() {
            clientMap.values().stream().distinct().forEach(client -> {
                try {
                    client.close();
                } catch (final Exception e) {
                    logger.warn("Failed to close {}.", client.getClass().getCanonicalName(), e);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/AbstractTable.java

      }
    
      abstract Iterator<Table.Cell<R, C, V>> cellIterator();
    
      Spliterator<Table.Cell<R, C, V>> cellSpliterator() {
        return Spliterators.spliterator(cellSet(), Spliterator.NONNULL | Spliterator.DISTINCT);
      }
    
      @WeakOuter
      private final class CellSet extends AbstractSet<Cell<R, C, V>> {
        @Override
        public boolean contains(@Nullable Object o) {
          if (o instanceof Cell) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.junit.jupiter.api.condition.OS.WINDOWS;
    
    /**
     * A test which demonstrates maven's recursive inheritance where
     * a distinct value is taken from each parent contributing to
     * the final model of the project being assembled. There is no
     * overriding going on amongst the models being used in this test:
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 04 10:35:11 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/HashFunction.java

     *       stateless, and therefore thread-safe.
     *   <li><b>collision-averse:</b> while it can't be helped that a hash function will sometimes
     *       produce the same hash code for distinct inputs (a "collision"), every hash function strives
     *       to <i>some</i> degree to make this unlikely. (Without this condition, a function that
     *       always returns zero could be called a hash function. It is not.)
     * </ul>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/HashFunction.java

     *       stateless, and therefore thread-safe.
     *   <li><b>collision-averse:</b> while it can't be helped that a hash function will sometimes
     *       produce the same hash code for distinct inputs (a "collision"), every hash function strives
     *       to <i>some</i> degree to make this unlikely. (Without this condition, a function that
     *       always returns zero could be called a hash function. It is not.)
     * </ul>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java

                return this;
            }
        }
    
        static class NewRenewingCreds extends BaseCreds {
            @Override
            public CredentialsInternal renew() {
                // Returns a distinct, new credentials instance
                return new NewRenewingCreds();
            }
        }
    
        static class NullRenewingCreds extends BaseCreds {
            @Override
            public CredentialsInternal renew() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/CredentialsInternalTest.java

            NullPointerException npe = assertThrows(NullPointerException.class, () -> creds.unwrap(null));
            assertEquals("type", npe.getMessage());
        }
    
        @Test
        @DisplayName("clone returns a distinct copy with same properties")
        void clone_returns_copy() {
            // Arrange
            Subject subject = new Subject();
            TestCredentials creds = new TestCredentials("A", true, false, subject, false);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. 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)
  9. guava/src/com/google/common/collect/EnumMultiset.java

        stream.defaultWriteObject();
        stream.writeObject(type);
        Serialization.writeMultiset(this, stream);
      }
    
      /**
       * @serialData the {@code Class<E>} for the enum type, the number of distinct elements, the first
       *     element, its count, the second element, its count, and so on
       */
      @GwtIncompatible // java.io.ObjectInputStream
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. .teamcity/src/test/kotlin/CIConfigIntegrationTests.kt

                )
            }
        }
    
        @Test
        fun uuidsAreUnique() {
            val uuidList = model.stages.flatMap { it.functionalTests.map { ft -> ft.uuid } }
            assertEquals(uuidList.distinct(), uuidList)
        }
    
        @Test
        fun testsAreCorrectlyConfiguredForAllSubProjects() {
            model.subprojects.subprojects
                .filter {
                    !ignoredSubprojects.contains(it.name)
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Oct 16 01:27:05 UTC 2025
    - 14.6K bytes
    - Viewed (0)
Back to top