Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3291 - 3300 of 3,662 for Void (0.03 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/ListHashCodeTester.java

    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class ListHashCodeTester<E> extends AbstractListTester<E> {
      public void testHashCode() {
        int expectedHashCode = 1;
        for (E element : getOrderedElements()) {
          expectedHashCode = 31 * expectedHashCode + ((element == null) ? 0 : element.hashCode());
        }
        assertEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/AbstractImmutableMapMapInterfaceTest.java

      }
    
      @Override
      protected Map<K, V> makeEmptyMap() {
        throw new UnsupportedOperationException();
      }
    
      private static final Joiner JOINER = Joiner.on(", ");
    
      @Override
      protected final void assertMoreInvariants(Map<K, V> map) {
        // TODO: can these be moved to MapInterfaceTest?
        for (Entry<K, V> entry : map.entrySet()) {
          assertEquals(entry.getKey() + "=" + entry.getValue(), entry.toString());
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/ListCreationTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class ListCreationTester<E> extends AbstractListTester<E> {
      @CollectionFeature.Require(absent = REJECTS_DUPLICATES_AT_CREATION)
      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testCreateWithDuplicates() {
        E[] array = createSamplesArray();
        array[1] = e0();
        collection = getSubjectGenerator().create(array);
    
        expectContents(array);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/filter/OrArtifactFilter.java

            for (ArtifactFilter filter : filters) {
                if (filter.include(artifact)) {
                    return true;
                }
            }
    
            return false;
        }
    
        public void add(ArtifactFilter artifactFilter) {
            filters.add(artifactFilter);
        }
    
        @Override
        public int hashCode() {
            int hash = 17;
            hash = hash * 31 + filters.hashCode();
            return hash;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

         */
        @Override
        public void setupRequest(final CommonServerMessageBlock request) {
        }
    
        /**
         *
         * {@inheritDoc}
         *
         * @see jcifs.internal.SmbNegotiationResponse#setupResponse(jcifs.util.transport.Response)
         */
        @Override
        public void setupResponse(final Response resp) {
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/PluginHelper.java

        }
    
        /**
         * Installs an artifact based on its type.
         *
         * @param artifact the artifact to install
         */
        public void installArtifact(final Artifact artifact) {
            switch (artifact.getType()) {
            case THEME:
                install(artifact);
                ComponentUtil.getThemeHelper().install(artifact);
                break;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       *
       * <p>Example:
       *
       * {@snippet :
       * future.addCallback(
       *     new FutureCallback<QueryResult>() {
       *       public void onSuccess(QueryResult result) {
       *         storeInCache(result);
       *       }
       *       public void onFailure(Throwable t) {
       *         reportError(t);
       *       }
       *     }, executor);
       * }
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

       *     in the priority queue according to the priority queue's ordering
       * @throws NullPointerException if the specified element is null
       */
      @Override
      public void put(E e) {
        offer(e); // never need to block
      }
    
      @CanIgnoreReturnValue // pushed down from class to method
      @Override
      public @Nullable E poll() {
        Monitor monitor = this.monitor;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ArrayTable.java

       */
      @DoNotCall("Always throws UnsupportedOperationException")
      @Override
      @Deprecated
      public void clear() {
        throw new UnsupportedOperationException();
      }
    
      /** Associates the value {@code null} with every pair of allowed row and column keys. */
      public void eraseAll() {
        for (@Nullable V[] row : array) {
          Arrays.fill(row, null);
        }
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 19:39:21 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

        return new MultisetTestSuiteBuilder<E>().usingGenerator(generator);
      }
    
      public enum NoRecurse implements Feature<Void> {
        NO_ENTRY_SET;
    
        @Override
        public Set<Feature<? super Void>> getImpliedFeatures() {
          return emptySet();
        }
      }
    
      @SuppressWarnings("rawtypes") // class literals
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 10.5K bytes
    - Viewed (0)
Back to top