Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for implements (0.48 sec)

  1. android/guava/src/com/google/common/collect/Synchronized.java

     * our other nullness annotations.
     */
    final class Synchronized {
      private Synchronized() {}
    
      static class SynchronizedObject implements Serializable {
        final Object delegate;
        final Object mutex;
    
        SynchronizedObject(Object delegate, @CheckForNull Object mutex) {
          this.delegate = checkNotNull(delegate);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

    class MapMakerInternalMap<
            K,
            V,
            E extends MapMakerInternalMap.InternalEntry<K, V, E>,
            S extends MapMakerInternalMap.Segment<K, V, E, S>>
        extends AbstractMap<K, V> implements ConcurrentMap<K, V>, Serializable {
    
      /*
       * The basic strategy is to subdivide the table among Segments, each of which itself is a
    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)
  3. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

    @AndroidIncompatible // lots of failures, possibly some related to bad equals() implementations?
    public class TypeTokenTest extends TestCase {
    
      private abstract static class StringList implements List<String> {}
    
      private abstract static class IntegerList implements List<Integer> {}
    
      public void testValueEqualityNotInstanceEquality() {
        TypeToken<List<String>> a = new TypeToken<List<String>>() {};
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/IteratorsTest.java

      private static final class PickyIterable<E> implements Iterable<E> {
        final List<E> elements;
        int modCount = 0;
    
        PickyIterable(E... elements) {
          this.elements = new ArrayList<E>(asList(elements));
        }
    
        @Override
        public Iterator<E> iterator() {
          return new PickyIterator();
        }
    
        final class PickyIterator implements Iterator<E> {
          int expectedModCount = modCount;
    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)
  5. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

         * @since 31.1
         * @deprecated This method is not currently implemented, and may never be.
         */
        @DoNotCall
        @Deprecated
        @Override
        public final ImmutableSortedMap<K, V> buildKeepingLast() {
          // TODO(emcmanus): implement
          throw new UnsupportedOperationException(
              "ImmutableSortedMap.Builder does not yet implement buildKeepingLast()");
        }
      }
    
    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)
  6. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

     * Futures#catching(ListenableFuture, Class, com.google.common.base.Function,
     * java.util.concurrent.Executor) Futures.catching}.
     *
     * <p>This class implements all methods in {@code ListenableFuture}. Subclasses should provide a way
     * to set the result of the computation through the protected methods {@link #set(Object)}, {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableSortedMap.java

         * @since 31.1
         * @deprecated This method is not currently implemented, and may never be.
         */
        @DoNotCall
        @Deprecated
        @Override
        public final ImmutableSortedMap<K, V> buildKeepingLast() {
          // TODO(emcmanus): implement
          throw new UnsupportedOperationException(
              "ImmutableSortedMap.Builder does not yet implement buildKeepingLast()");
        }
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Sets.java

        }
    
        return new FilteredNavigableSet<>(checkNotNull(unfiltered), checkNotNull(predicate));
      }
    
      private static class FilteredSet<E extends @Nullable Object> extends FilteredCollection<E>
          implements Set<E> {
        FilteredSet(Set<E> unfiltered, Predicate<? super E> predicate) {
          super(unfiltered, predicate);
        }
    
        @Override
        public boolean equals(@CheckForNull Object object) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Multimaps.java

        return checkNotNull(delegate);
      }
    
      private static class UnmodifiableMultimap<K extends @Nullable Object, V extends @Nullable Object>
          extends ForwardingMultimap<K, V> implements Serializable {
        final Multimap<K, V> delegate;
        @LazyInit @CheckForNull transient Collection<Entry<K, V>> entries;
        @LazyInit @CheckForNull transient Multiset<K> keys;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

            failure.printStackTrace(writer);
          }
          failures.clear();
          assertWithMessage(message.toString()).fail();
        }
      }
    
      static final class TestCloseable implements Closeable {
        private final CountDownLatch latch = new CountDownLatch(1);
        private final String name;
    
        TestCloseable(String name) {
          this.name = name;
        }
    
        @Override
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
Back to top