Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for None (0.13 sec)

  1. android/guava/src/com/google/common/base/CharMatcher.java

        }
    
        @Override
        public CharMatcher negate() {
          return none();
        }
      }
    
      /** Implementation of {@link #none()}. */
      private static final class None extends NamedFastMatcher {
    
        static final CharMatcher INSTANCE = new None();
    
        private None() {
          super("CharMatcher.none()");
        }
    
        @Override
        public boolean matches(char c) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/CharMatcher.java

        }
    
        @Override
        public CharMatcher negate() {
          return none();
        }
      }
    
      /** Implementation of {@link #none()}. */
      private static final class None extends NamedFastMatcher {
    
        static final CharMatcher INSTANCE = new None();
    
        private None() {
          super("CharMatcher.none()");
        }
    
        @Override
        public boolean matches(char c) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/SetsTest.java

      }
    
      public void testImmutableEnumSet_fromIterable() {
        ImmutableSet<SomeEnum> none = Sets.immutableEnumSet(MinimalIterable.<SomeEnum>of());
        assertThat(none).isEmpty();
    
        ImmutableSet<SomeEnum> one = Sets.immutableEnumSet(MinimalIterable.of(SomeEnum.B));
        assertThat(one).contains(SomeEnum.B);
    
        ImmutableSet<SomeEnum> two = Sets.immutableEnumSet(MinimalIterable.of(SomeEnum.D, SomeEnum.B));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Preconditions.java

          /*
           * TODO(cpovirk): Consider removing @CheckForNull here, as we've done with the other methods'
           * errorMessageTemplate parameters: It is unlikely that callers intend for their string
           * template to be null (though we do handle that case gracefully at runtime). I've left this
           * one as it is because one of our users has defined a wrapper API around Preconditions,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

      }
    
      public void testReload() throws ExecutionException {
        final Object one = new Object();
        final Object two = new Object();
        CacheLoader<Object, Object> loader =
            new CacheLoader<Object, Object>() {
              @Override
              public Object load(Object key) {
                return one;
              }
    
              @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/IteratorsTest.java

        Iterator<String> iterator = asList("one", "two").iterator();
        try {
          Iterators.getOnlyElement(iterator);
          fail();
        } catch (IllegalArgumentException expected) {
          assertThat(expected).hasMessageThat().isEqualTo("expected one element but was: <one, two>");
        }
      }
    
      public void testGetOnlyElement_noDefault_fiveElements() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

              // there's a way around creating the separate sortedKeys array, and if we're allocating
              // one array of size n, we might as well allocate two -- to say nothing of the allocation
              // done in Arrays.sort.
              for (int i = 0; i < size; i++) {
                // We're careful to put only K instances in.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

      interface WeakValueReference<K, V, E extends InternalEntry<K, V, E>> {
        /**
         * Returns the current value being referenced, or {@code null} if there is none (e.g. because
         * either it got collected, or {@link #clear} was called, or it wasn't set in the first place).
         */
        @CheckForNull
        V get();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        // the listener.
        executeListener(listener, executor);
      }
    
      /**
       * Sets the result of this {@code Future} unless this {@code Future} has already been cancelled or
       * set (including {@linkplain #setFuture set asynchronously}). When a call to this method returns,
       * the {@code Future} is guaranteed to be {@linkplain #isDone done} <b>only if</b> the call was
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/CacheBuilder.java

       * to thread contention. But overestimates and underestimates within an order of magnitude do not
       * usually have much noticeable impact. A value of one permits only one thread to modify the cache
       * at a time, but since read operations and cache loading computations can proceed concurrently,
       * this still yields higher concurrency than full synchronization.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
Back to top