Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 95 for containers (0.16 sec)

  1. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

    import java.util.concurrent.Executor;
    import java.util.logging.Level;
    import javax.annotation.CheckForNull;
    
    /**
     * A support class for {@code ListenableFuture} implementations to manage their listeners. An
     * instance contains a list of listeners, each with an associated {@code Executor}, and guarantees
     * that every {@code Runnable} that is {@linkplain #add added} will be executed after {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/BaseEncoding.java

       *     lower-case characters
       */
      public abstract BaseEncoding lowerCase();
    
      /**
       * Returns an encoding that behaves equivalently to this encoding, but decodes letters without
       * regard to case.
       *
       * @throws IllegalStateException if the alphabet used by this encoding contains mixed upper- and
       *     lower-case characters
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Mar 15 16:33:32 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertSame(valueOne, listener.getLastEvictedValue());
        assertTrue(map.removalNotificationQueue.isEmpty());
        assertFalse(segment.accessQueue.contains(entryOne));
        assertFalse(segment.writeQueue.contains(entryOne));
        assertEquals(0, segment.count);
        assertNull(table.get(0));
      }
    
      public void testRemoveEntryFromChain() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertSame(valueOne, listener.getLastEvictedValue());
        assertTrue(map.removalNotificationQueue.isEmpty());
        assertFalse(segment.accessQueue.contains(entryOne));
        assertFalse(segment.writeQueue.contains(entryOne));
        assertEquals(0, segment.count);
        assertNull(table.get(0));
      }
    
      public void testRemoveEntryFromChain() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

      //   waiters field.
      // * Future completion is defined by when #value becomes non-null/non SetFuture
      // * Future completion can be observed if the waiters field contains a TOMBSTONE
    
      // Timed Get
      // There are a few design constraints to consider
      // * We want to be responsive to small timeouts, unpark() has non trivial latency overheads (I
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Lists.java

        @ParametricNullness
        public E set(int index, @ParametricNullness E element) {
          return backingList.set(index, element);
        }
    
        @Override
        public boolean contains(@CheckForNull Object o) {
          return backingList.contains(o);
        }
    
        @Override
        public int size() {
          return backingList.size();
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableMap.java

      }
    
      /**
       * Returns an immutable map containing the same entries as {@code map}. The returned map iterates
       * over entries in the same order as the {@code entrySet} of the original map. If {@code map}
       * somehow contains entries with duplicate keys (for example, if it is a {@code SortedMap} whose
       * comparator is not <i>consistent with equals</i>), the results of this method are undefined.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Optional.java

      }
    
      Optional() {}
    
      /**
       * Returns {@code true} if this holder contains a (non-null) instance.
       *
       * <p><b>Comparison to {@code java.util.Optional}:</b> no differences.
       */
      public abstract boolean isPresent();
    
      /**
       * Returns the contained instance, which must be present. If the instance might be absent, use
       * {@link #or(Object)} or {@link #orNull} instead.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 13K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableCollection.java

     *
     * <h4>Warnings</h4>
     *
     * <ul>
     *   <li><b>Warning:</b> as with any collection, it is almost always a bad idea to modify an element
     *       (in a way that affects its {@link Object#equals} behavior) while it is contained in a
     *       collection. Undefined behavior and bugs will result. It's generally best to avoid using
     *       mutable objects as elements at all, as many users may expect your "immutable" object to be
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 18.7K bytes
    - Viewed (1)
  10. android/guava/src/com/google/common/collect/ImmutableCollection.java

     *
     * <h4>Warnings</h4>
     *
     * <ul>
     *   <li><b>Warning:</b> as with any collection, it is almost always a bad idea to modify an element
     *       (in a way that affects its {@link Object#equals} behavior) while it is contained in a
     *       collection. Undefined behavior and bugs will result. It's generally best to avoid using
     *       mutable objects as elements at all, as many users may expect your "immutable" object to be
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.5K bytes
    - Viewed (0)
Back to top