Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 262 for ignored (0.24 sec)

  1. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        public void foo(@Nullable HardToCreate ignored, String required) {
          checkNotNull(required);
        }
      }
    
      public void testCanCreateDefault() {
        shouldPass(new CanCreateDefault());
      }
    
      @SuppressWarnings("unused") // used by reflection
      private static class CannotCreateDefault {
        public void foo(HardToCreate ignored, String required) {
          checkNotNull(ignored);
          checkNotNull(required);
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 47.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/PatternFilenameFilterTest.java

        FilenameFilter filter = new PatternFilenameFilter("a+");
        assertTrue(filter.accept(dir, "a"));
        assertTrue(filter.accept(dir, "aaaa"));
        assertFalse(filter.accept(dir, "b"));
    
        // Show that dir is ignored
        assertTrue(filter.accept(null, "a"));
      }
    
      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSetMultimap.java

        return builder.build();
      }
    
      /**
       * Returns an immutable multimap containing the given entries, in order. Repeated occurrences of
       * an entry (according to {@link Object#equals}) after the first are ignored.
       */
      public static <K, V> ImmutableSetMultimap<K, V> of(K k1, V v1, K k2, V v2) {
        ImmutableSetMultimap.Builder<K, V> builder = ImmutableSetMultimap.builder();
        builder.put(k1, v1);
        builder.put(k2, v2);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableSet.java

      /**
       * Returns an immutable set containing the given elements, minus duplicates, in the order each was
       * first specified. That is, if multiple elements are {@linkplain Object#equals equal}, all except
       * the first are ignored.
       */
      public static <E> ImmutableSet<E> of(E e1, E e2) {
        return new RegularSetBuilderImpl<E>(2).add(e1).add(e2).review().build();
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

              continue;
            }
            responseQueue.put(new Response(request.methodName, result, null));
          }
        } catch (ThreadDeath death) {
          return;
        } catch (InterruptedException ignored) {
          // SynchronousQueue sometimes throws InterruptedException while the threads are stopping.
        } catch (Throwable uncaught) {
          this.uncaughtThrowable = uncaught;
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/LoadingCache.java

       * for each requested key.
       *
       * <p>Note that duplicate elements in {@code keys}, as determined by {@link Object#equals}, will
       * be ignored.
       *
       * @throws ExecutionException if a checked exception was thrown while loading the value. ({@code
       *     ExecutionException} is thrown <a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

              try {
                shutDown();
              } catch (Exception ignored) {
                restoreInterruptIfIsInterruptedException(ignored);
                logger
                    .get()
                    .log(
                        Level.WARNING,
                        "Error while attempting to shut down the service after failure.",
                        ignored);
              }
              notifyFailed(t);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 25.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableSet.java

       * the first are ignored.
       */
      public static <E> ImmutableSet<E> of(E e1, E e2) {
        return construct(2, e1, e2);
      }
    
      /**
       * Returns an immutable set containing the given elements, minus duplicates, in the order each was
       * first specified. That is, if multiple elements are {@linkplain Object#equals equal}, all except
       * the first are ignored.
       */
    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)
  9. guava/src/com/google/common/cache/CacheBuilderSpec.java

     * representing days, hours, minutes, or seconds respectively. (There is currently no syntax to
     * request expiration in milliseconds, microseconds, or nanoseconds.)
     *
     * <p>Whitespace before and after commas and equal signs is ignored. Keys may not be repeated; it is
     * also illegal to use the following pairs of keys in a single value:
     *
     * <ul>
     *   <li>{@code maximumSize} and {@code maximumWeight}
     *   <li>{@code softValues} and {@code weakValues}
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Aug 22 14:27:44 GMT 2022
    - 18.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/Quantiles.java

         * q-quantile.
         *
         * @param indexes the quantile indexes, each of which must be in the inclusive range [0, q] for
         *     q-quantiles; the order of the indexes is unimportant, duplicates will be ignored, and the
         *     set will be snapshotted when this method is called
         * @throws IllegalArgumentException if {@code indexes} is empty
         */
        public ScaleAndIndexes indexes(int... indexes) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
Back to top