Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 153 for isPull (0.08 seconds)

  1. android/guava/src/com/google/common/base/Predicates.java

       *
       * <p><b>Discouraged:</b> Prefer using either {@code x -> x == null} or {@code Objects::isNull},
       * but note that lambdas and method references do not have human-readable {@link #toString()}
       * representations and are not serializable.
       */
      public static <T extends @Nullable Object> Predicate<T> isNull() {
        return ObjectPredicate.IS_NULL.withNarrowedType();
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  2. guava/src/com/google/common/base/Predicates.java

       *
       * <p><b>Discouraged:</b> Prefer using either {@code x -> x == null} or {@code Objects::isNull},
       * but note that lambdas and method references do not have human-readable {@link #toString()}
       * representations and are not serializable.
       */
      public static <T extends @Nullable Object> Predicate<T> isNull() {
        return ObjectPredicate.IS_NULL.withNarrowedType();
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

        assertThat(map.getInstance(Integer.class)).isNull();
    
        map.putInstance(Long.class, null);
        assertTrue(map.containsKey(TypeToken.of(Long.class)));
        assertTrue(map.entrySet().contains(immutableEntry(TypeToken.of(Long.class), null)));
        assertThat(map.get(TypeToken.of(Long.class))).isNull();
        assertThat(map.getInstance(Long.class)).isNull();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/AbstractTableTest.java

        }
      }
    
      public void testPut() {
        assertThat(table.put("foo", 1, cellValue('a'))).isNull();
        assertThat(table.put("bar", 1, cellValue('b'))).isNull();
        assertThat(table.put("foo", 3, cellValue('c'))).isNull();
        assertEquals((Character) 'a', table.put("foo", 1, cellValue('d')));
        assertEquals((Character) 'd', table.get("foo", 1));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 6K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt

        assertThat(parse(url, "a\u0000b=cd")).isNull()
        assertThat(parse(url, "ab=c\u0000d")).isNull()
        assertThat(parse(url, "a\u0001b=cd")).isNull()
        assertThat(parse(url, "ab=c\u0001d")).isNull()
        assertThat(parse(url, "a\u0009b=cd")).isNull()
        assertThat(parse(url, "ab=c\u0009d")).isNull()
        assertThat(parse(url, "a\u001fb=cd")).isNull()
        assertThat(parse(url, "ab=c\u001fd")).isNull()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java

        CompactLinkedHashMap<Integer, String> map = CompactLinkedHashMap.create();
        assertThat(map.needsAllocArrays()).isTrue();
        assertThat(map.entries).isNull();
        assertThat(map.keys).isNull();
        assertThat(map.values).isNull();
        assertThat(map.links).isNull();
    
        map.put(1, Integer.toString(1));
        assertThat(map.needsAllocArrays()).isFalse();
        assertThat(map.entries).hasLength(CompactHashing.DEFAULT_SIZE);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java

      }
    
      public void testHigherEntry() {
        assertThat(create().higherEntry("a")).isNull();
      }
    
      public void testHigherKey() {
        assertThat(create().higherKey("a")).isNull();
      }
    
      public void testLastEntry() {
        assertThat(create().lastEntry()).isNull();
      }
    
      public void testLastKey() {
        NavigableMap<String, Integer> map = create();
        map.put("a", 1);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/primitives/IntsTest.java

        assertThat(Ints.tryParse("")).isNull();
        assertThat(Ints.tryParse("-")).isNull();
        assertThat(Ints.tryParse("+1")).isNull();
        assertThat(Ints.tryParse("9999999999999999")).isNull();
        assertWithMessage("Max integer + 1")
            .that(Ints.tryParse(Long.toString(((long) GREATEST) + 1)))
            .isNull();
        assertWithMessage("Max integer * 10")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 29.4K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/util/concurrent/AtomicsTest.java

      private static final Object OBJECT = new Object();
    
      public void testNewReference() throws Exception {
        assertThat(Atomics.newReference().get()).isNull();
      }
    
      public void testNewReference_withInitialValue() throws Exception {
        assertThat(Atomics.newReference(null).get()).isNull();
        assertEquals(OBJECT, Atomics.newReference(OBJECT).get());
      }
    
      public void testNewReferenceArray_withLength() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        ValueReference<Object, Object> valueRef = map.newValueReference(entry, value, 1);
        entry.setValueReference(valueRef);
    
        assertThat(segment.get(key, hash)).isNull();
    
        // count == 0
        table.set(index, entry);
        assertThat(segment.get(key, hash)).isNull();
        assertThat(segment.containsKey(key, hash)).isFalse();
        assertThat(segment.containsValue(value)).isFalse();
    
        // count == 1
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 114.9K bytes
    - Click Count (0)
Back to Top