Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 96 for nulls (0.06 sec)

  1. guava/src/com/google/common/collect/ImmutableSortedMap.java

       *
       * @throws NullPointerException if any key or value in {@code map} is null
       */
      @SuppressWarnings("unchecked")
      public static <K, V> ImmutableSortedMap<K, V> copyOfSorted(SortedMap<K, ? extends V> map) {
        Comparator<? super K> comparator = map.comparator();
        if (comparator == null) {
          // If map has a null comparator, the keys should have a natural ordering,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       *
       * @throws NullPointerException if any key or value in {@code map} is null
       */
      @SuppressWarnings("unchecked")
      public static <K, V> ImmutableSortedMap<K, V> copyOfSorted(SortedMap<K, ? extends V> map) {
        Comparator<? super K> comparator = map.comparator();
        if (comparator == null) {
          // If map has a null comparator, the keys should have a natural ordering,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/IteratorsTest.java

        List<@Nullable String> list = newArrayList("a", null, "b", null, "a", null);
        assertEquals(2, frequency(list.iterator(), "a"));
        assertEquals(1, frequency(list.iterator(), "b"));
        assertEquals(0, frequency(list.iterator(), "c"));
        assertEquals(0, frequency(list.iterator(), 4.2));
        assertEquals(3, frequency(list.iterator(), null));
      }
    
      @GwtIncompatible // slow (~4s)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        List<@Nullable String> list = newArrayList("a", null, "b", null, "a", null);
        assertEquals(2, frequency(list.iterator(), "a"));
        assertEquals(1, frequency(list.iterator(), "b"));
        assertEquals(0, frequency(list.iterator(), "c"));
        assertEquals(0, frequency(list.iterator(), 4.2));
        assertEquals(3, frequency(list.iterator(), null));
      }
    
      @GwtIncompatible // slow (~4s)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Synchronized.java

          synchronized (mutex) {
            Collection<V> collection = super.get(key);
            return (collection == null) ? null : typePreservingCollection(collection, mutex);
          }
        }
    
        @Override
        public Set<Map.Entry<K, Collection<V>>> entrySet() {
          synchronized (mutex) {
            if (asMapEntrySet == null) {
              asMapEntrySet = new SynchronizedAsMapEntries<>(delegate().entrySet(), mutex);
            }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Synchronized.java

          synchronized (mutex) {
            Collection<V> collection = super.get(key);
            return (collection == null) ? null : typePreservingCollection(collection, mutex);
          }
        }
    
        @Override
        public Set<Map.Entry<K, Collection<V>>> entrySet() {
          synchronized (mutex) {
            if (asMapEntrySet == null) {
              asMapEntrySet = new SynchronizedAsMapEntries<>(delegate().entrySet(), mutex);
            }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  7. tensorflow/c/c_api.h

    //
    // Any NULL and non-NULL value combinations for (`run_options`,
    // `run_metadata`) are valid.
    //
    //    - `run_options` may be NULL, in which case it will be ignored; or
    //      non-NULL, in which case it must point to a `TF_Buffer` containing the
    //      serialized representation of a `RunOptions` protocol buffer.
    //    - `run_metadata` may be NULL, in which case it will be ignored; or
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Iterators.java

        @CheckForNull
        private Iterator<? extends Iterator<? extends T>> getTopMetaIterator() {
          while (topMetaIterator == null || !topMetaIterator.hasNext()) {
            if (metaIterators != null && !metaIterators.isEmpty()) {
              topMetaIterator = metaIterators.removeFirst();
            } else {
              return null;
            }
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsRelatedQueryCQ.java

            if (opLambda != null) {
                opLambda.callback(builder);
            }
        }
    
        public void setId_NotEqual(String id) {
            setId_NotTerm(id, null);
        }
    
        public void setId_NotTerm(String id) {
            setId_NotTerm(id, null);
        }
    
        public void setId_NotEqual(String id, ConditionOptionCall<BoolQueryBuilder> opLambda) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsRequestHeaderCQ.java

            if (opLambda != null) {
                opLambda.callback(builder);
            }
        }
    
        public void setId_NotEqual(String id) {
            setId_NotTerm(id, null);
        }
    
        public void setId_NotTerm(String id) {
            setId_NotTerm(id, null);
        }
    
        public void setId_NotEqual(String id, ConditionOptionCall<BoolQueryBuilder> opLambda) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 57.2K bytes
    - Viewed (0)
Back to top