Search Options

Results per page
Sort
Preferred Languages
Advance

Results 571 - 580 of 857 for callable (0.1 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetDoneTest.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Unit tests for {@link Futures#getDone}. */
    @GwtCompatible
    public class FuturesGetDoneTest extends TestCase {
      public void testSuccessful() throws ExecutionException {
        assertThat(getDone(immediateFuture("a"))).isEqualTo("a");
      }
    
      public void testSuccessfulNull() throws ExecutionException {
        assertThat(getDone(Futures.<@Nullable String>immediateFuture(null))).isEqualTo(null);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

      @CanIgnoreReturnValue // pushed down from class to method
      @Override
      public @Nullable E poll() {
        final Monitor monitor = this.monitor;
        monitor.enter();
        try {
          return q.poll();
        } finally {
          monitor.leave();
        }
      }
    
      @CanIgnoreReturnValue // pushed down from class to method
      @Override
      public @Nullable E poll(long timeout, TimeUnit unit) throws InterruptedException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 07 21:36:32 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/CompoundOrdering.java

    import java.util.Comparator;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** An ordering that tries several comparators in order. */
    @GwtCompatible(serializable = true)
    @ElementTypesAreNonnullByDefault
    final class CompoundOrdering<T extends @Nullable Object> extends Ordering<T>
        implements Serializable {
      final Comparator<? super T>[] comparators;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/SingletonImmutableSet.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Preconditions;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Implementation of {@link ImmutableSet} with exactly one element.
     *
     * @author Kevin Bourrillion
     * @author Nick Kralevich
     */
    @GwtCompatible(serializable = true, emulated = true)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/LegacyComparable.java

     */
    
    package com.google.common.collect;
    
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtCompatible;
    import java.io.Serializable;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A class that implements {@code Comparable} without generics, such as those found in libraries
     * that support Java 1.4 and before. Our library needs to do the bare minimum to accommodate such
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

        }
    
        public SuggestItem(final String[] text, final String[][] readings, final String[] fields, final long docFreq, final long queryFreq,
                final float userBoost, @Nullable final String[] tags, @Nullable final String[] roles, @Nullable final String[] languages,
                final Kind kind) {
            this.text = String.join(SuggestConstants.TEXT_SEPARATOR, text);
            this.readings = readings;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Test cases for {@link Table} read operations.
     *
     * @author Jared Levy
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public abstract class AbstractTableReadTest<C extends @Nullable Character> extends TestCase {
      protected Table<String, Integer, C> table;
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/AbstractMultimap.java

    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A skeleton {@code Multimap} implementation, not necessarily in terms of a {@code Map}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    abstract class AbstractMultimap<K extends @Nullable Object, V extends @Nullable Object>
        implements Multimap<K, V> {
      @Override
      public boolean isEmpty() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 7.1K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @ElementTypesAreNonnullByDefault
    public class MapPutAllTester<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractMapTester<K, V> {
      private List<Entry<K, V>> containsNullKey;
      private List<Entry<K, V>> containsNullValue;
    
      @Override
      public void setUp() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/AbstractMultimap.java

    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A skeleton {@code Multimap} implementation, not necessarily in terms of a {@code Map}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    abstract class AbstractMultimap<K extends @Nullable Object, V extends @Nullable Object>
        implements Multimap<K, V> {
      @Override
      public boolean isEmpty() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 6.6K bytes
    - Viewed (0)
Back to top