Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 815 for Nullable (0.06 sec)

  1. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

          new IteratorOperation() {
            @Override
            public @Nullable Object execute(Iterator<?> iterator) {
              iterator.remove();
              return null;
            }
          };
    
      private static final IteratorOperation NEXT_METHOD =
          new IteratorOperation() {
            @Override
            public @Nullable Object execute(Iterator<?> iterator) {
              return iterator.next();
            }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ForwardingListMultimap.java

     *
     * @author Kurt Alfred Kluever
     * @since 3.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ForwardingListMultimap<K extends @Nullable Object, V extends @Nullable Object>
        extends ForwardingMultimap<K, V> implements ListMultimap<K, V> {
    
      /** Constructor for use by subclasses. */
      protected ForwardingListMultimap() {}
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ForwardingSortedSetMultimap.java

     *
     * @author Kurt Alfred Kluever
     * @since 3.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ForwardingSortedSetMultimap<
            K extends @Nullable Object, V extends @Nullable Object>
        extends ForwardingSetMultimap<K, V> implements SortedSetMultimap<K, V> {
    
      /** Constructor for use by subclasses. */
      protected ForwardingSortedSetMultimap() {}
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/ForwardingListenableFuture.java

    package com.google.common.util.concurrent;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.Preconditions;
    import java.util.concurrent.Executor;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A {@link ListenableFuture} which forwards all its method calls to another future. Subclasses
     * should override one or more methods to modify the behavior of the backing future as desired per
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Mar 04 12:23:41 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/GwtFluentFutureCatchingSpecialization.java

     * the License.
     */
    
    package com.google.common.util.concurrent;
    
    import com.google.common.base.Function;
    import java.util.concurrent.Executor;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Hidden superclass of {@link FluentFuture} that provides us a place to declare special GWT
     * versions of the {@link FluentFuture#catching(Class, com.google.common.base.Function)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 08 20:30:27 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/CompactHashSet.java

     */
    @GwtIncompatible // not worth using in GWT for now
    @ElementTypesAreNonnullByDefault
    class CompactHashSet<E extends @Nullable Object> extends AbstractSet<E> implements Serializable {
      // TODO(user): cache all field accesses in local vars
    
      /** Creates an empty {@code CompactHashSet} instance. */
      public static <E extends @Nullable Object> CompactHashSet<E> create() {
        return new CompactHashSet<>();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

           * @param t the exception to set as the result of the computation.
           * @param finalState the state to transition to.
           */
          private boolean complete(@Nullable V v, @Nullable Throwable t, int finalState) {
            boolean doCompletion = compareAndSetState(RUNNING, COMPLETING);
            if (doCompletion) {
              // If this thread successfully transitioned to COMPLETING, set the value
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/TestThread.java

       * normally.
       */
      public void assertPriorCallReturns(@Nullable String methodName) throws Exception {
        assertEquals(null, getResponse(methodName).getResult());
      }
    
      /**
       * Asserts that a prior call that had caused this thread to block or wait has since returned the
       * expected boolean value.
       */
      public void assertPriorCallReturns(boolean expected, @Nullable String methodName)
          throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

          new UnicodeEscaper() {
            @Override
            protected char @Nullable [] escape(int c) {
              return null;
            }
          };
    
      // Escapes everything except [a-zA-Z0-9]
      private static final UnicodeEscaper SIMPLE_ESCAPER =
          new UnicodeEscaper() {
            @Override
            protected char @Nullable [] escape(int cp) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

          new UnicodeEscaper() {
            @Override
            protected char @Nullable [] escape(int c) {
              return null;
            }
          };
    
      // Escapes everything except [a-zA-Z0-9]
      private static final UnicodeEscaper SIMPLE_ESCAPER =
          new UnicodeEscaper() {
            @Override
            protected char @Nullable [] escape(int cp) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top