Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for nilable (0.18 sec)

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

    import java.util.logging.LogRecord;
    import java.util.logging.Logger;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit tests for {@link Futures}.
     *
     * @author Nishant Thakkar
     */
    @ElementTypesAreNonnullByDefault
    @GwtCompatible(emulated = true)
    public class FuturesTest extends TestCase {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/LocalCacheTest.java

          K key, int hash, V value, @Nullable ReferenceEntry<K, V> next) {
        DummyEntry<K, V> entry = DummyEntry.create(key, hash, next);
        DummyValueReference<K, V> valueRef = DummyValueReference.create(value);
        entry.setValueReference(valueRef);
        return entry;
      }
    
      static class DummyEntry<K, V> implements ReferenceEntry<K, V> {
        private @Nullable K key;
        private final int hash;
    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)
  3. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

          K key, int hash, V value, @Nullable ReferenceEntry<K, V> next) {
        DummyEntry<K, V> entry = DummyEntry.create(key, hash, next);
        DummyValueReference<K, V> valueRef = DummyValueReference.create(value);
        entry.setValueReference(valueRef);
        return entry;
      }
    
      static class DummyEntry<K, V> implements ReferenceEntry<K, V> {
        private @Nullable K key;
        private final int hash;
    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)
  4. guava/src/com/google/common/cache/LocalCache.java

          } finally {
            statsCounter.recordMisses(1);
          }
        }
    
        @CheckForNull
        V compute(
            K key,
            int hash,
            BiFunction<? super K, ? super @Nullable V, ? extends @Nullable V> function) {
          ReferenceEntry<K, V> e;
          ValueReference<K, V> valueReference = null;
          ComputingValueReference<K, V> computingValueReference = null;
          boolean createNewEntry = true;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

    import java.util.logging.LogRecord;
    import java.util.logging.Logger;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit tests for {@link Futures}.
     *
     * @author Nishant Thakkar
     */
    @ElementTypesAreNonnullByDefault
    @GwtCompatible(emulated = true)
    public class FuturesTest extends TestCase {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Maps.java

      @SuppressWarnings("unchecked")
      static <K extends @Nullable Object> Function<Entry<K, ?>, K> keyFunction() {
        return (Function) EntryFunction.KEY;
      }
    
      @SuppressWarnings("unchecked")
      static <V extends @Nullable Object> Function<Entry<?, V>, V> valueFunction() {
        return (Function) EntryFunction.VALUE;
      }
    
      static <K extends @Nullable Object, V extends @Nullable Object> Iterator<K> keyIterator(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

         * @param <U> the type returned by the function
         */
        public interface ClosingFunction5<
            V1 extends @Nullable Object,
            V2 extends @Nullable Object,
            V3 extends @Nullable Object,
            V4 extends @Nullable Object,
            V5 extends @Nullable Object,
            U extends @Nullable Object> {
          /**
           * Applies this function to five inputs, or throws an exception if unable to do so.
           *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
Back to top