Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for checkEntryNotNull (0.39 sec)

  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,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 41.2K bytes
    - Viewed (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>(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 22.2K bytes
    - Viewed (0)
  3. 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;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. 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;
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  5. 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;
    
    /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 21:42:29 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/CollectPreconditions.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    
    /** Precondition checks useful in collection implementations. */
    @GwtCompatible
    final class CollectPreconditions {
    
      static void checkEntryNotNull(Object key, Object value) {
        if (key == null) {
          throw new NullPointerException("null key in entry: null=" + value);
        } else if (value == null) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  7. 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.ImmutableMapEntry.createEntryArray;
    import static com.google.common.collect.Maps.immutableEntry;
    import static com.google.common.collect.RegularImmutableMap.MAX_HASH_BUCKET_LENGTH;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 11.1K bytes
    - Viewed (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;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/RegularImmutableMap.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.ImmutableMapEntry.createEntryArray;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtCompatible;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/CollectPreconditions.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    
    /** Precondition checks useful in collection implementations. */
    @GwtCompatible
    final class CollectPreconditions {
    
      static void checkEntryNotNull(Object key, Object value) {
        if (key == null) {
          throw new NullPointerException("null key in entry: null=" + value);
        } else if (value == null) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top