Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 18 for checkEntryNotNull (0.17 seconds)

  1. android/guava/src/com/google/common/collect/ImmutableMap.java

          K k9,
          V v9,
          K k10,
          V v10) {
        checkEntryNotNull(k1, v1);
        checkEntryNotNull(k2, v2);
        checkEntryNotNull(k3, v3);
        checkEntryNotNull(k4, v4);
        checkEntryNotNull(k5, v5);
        checkEntryNotNull(k6, v6);
        checkEntryNotNull(k7, v7);
        checkEntryNotNull(k8, v8);
        checkEntryNotNull(k9, v9);
        checkEntryNotNull(k10, v10);
        return RegularImmutableMap.create(
            10,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 02 19:58:40 GMT 2026
    - 41.2K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/ImmutableBiMap.java

          K k9,
          V v9,
          K k10,
          V v10) {
        checkEntryNotNull(k1, v1);
        checkEntryNotNull(k2, v2);
        checkEntryNotNull(k3, v3);
        checkEntryNotNull(k4, v4);
        checkEntryNotNull(k5, v5);
        checkEntryNotNull(k6, v6);
        checkEntryNotNull(k7, v7);
        checkEntryNotNull(k8, v8);
        checkEntryNotNull(k9, v9);
        checkEntryNotNull(k10, v10);
        return new RegularImmutableBiMap<K, V>(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 22.2K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/RegularImmutableMap.java

        if (n == 1) {
          // for n=1 we don't create a hash table, but we need to do the checkEntryNotNull check!
          // requireNonNull is safe because the first `2*n` elements have been filled in.
          checkEntryNotNull(
              requireNonNull(alternatingKeysAndValues[keyOffset]),
              requireNonNull(alternatingKeysAndValues[keyOffset ^ 1]));
          return null;
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 22.5K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/CollectPreconditions.java

    import org.jspecify.annotations.Nullable;
    
    /** Precondition checks useful in collection implementations. */
    @GwtCompatible
    final class CollectPreconditions {
    
      static void checkEntryNotNull(@Nullable Object key, @Nullable Object value) {
        if (key == null) {
          throw new NullPointerException("null key in entry: null=" + value);
        } else if (value == null) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 10 21:56:42 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/SingletonImmutableBiMap.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.collect.CollectPreconditions.checkEntryNotNull;
    import static com.google.common.collect.Maps.immutableEntry;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/CollectPreconditions.java

    import org.jspecify.annotations.Nullable;
    
    /** Precondition checks useful in collection implementations. */
    @GwtCompatible
    final class CollectPreconditions {
    
      static void checkEntryNotNull(@Nullable Object key, @Nullable Object value) {
        if (key == null) {
          throw new NullPointerException("null key in entry: null=" + value);
        } else if (value == null) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 10 21:56:42 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/ImmutableMapEntry.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.CollectPreconditions.checkEntryNotNull;
    
    import com.google.common.annotations.GwtIncompatible;
    import java.util.AbstractMap.SimpleImmutableEntry;
    import org.jspecify.annotations.Nullable;
    
    /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 01 21:42:29 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableBiMap.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.CollectPreconditions.checkEntryNotNull;
    
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.Comparator;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.function.Function;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/RegularImmutableBiMap.java

    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkPositionIndex;
    import static com.google.common.collect.CollectPreconditions.checkEntryNotNull;
    import static com.google.common.collect.Hashing.closedTableSize;
    import static com.google.common.collect.ImmutableMapEntry.createEntryArray;
    import static com.google.common.collect.Maps.immutableEntry;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/ImmutableMultimap.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.collect.CollectPreconditions.checkEntryNotNull;
    import static com.google.common.collect.CollectPreconditions.checkNonnegative;
    import static com.google.common.collect.Iterators.emptyIterator;
    import static com.google.common.collect.Maps.immutableEntry;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 28.1K bytes
    - Click Count (0)
Back to Top