Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 434 for checkNotNull (0.1 sec)

  1. android/guava/src/com/google/common/graph/ImmutableValueGraph.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.graph;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.Beta;
    import com.google.common.base.Function;
    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.Maps;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/math/PairedStats.java

     * the License.
     */
    
    package com.google.common.math;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkState;
    import static java.lang.Double.NaN;
    import static java.lang.Double.doubleToLongBits;
    import static java.lang.Double.isNaN;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/Response.kt

        }
    
        open fun build(): Response {
          check(code >= 0) { "code < 0: $code" }
          return Response(
            checkNotNull(request) { "request == null" },
            checkNotNull(protocol) { "protocol == null" },
            checkNotNull(message) { "message == null" },
            code,
            handshake,
            headers.build(),
            body,
            networkResponse,
            cacheResponse,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jul 06 09:38:30 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Equivalence.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    package com.google.common.base;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.errorprone.annotations.ForOverride;
    import java.io.Serializable;
    import javax.annotation.CheckForNull;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu May 16 14:34:47 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       *
       * @return this tester instance
       * @since 17.0
       */
      @CanIgnoreReturnValue
      public <T> ClassSanityTester setDistinctValues(Class<T> type, T value1, T value2) {
        checkNotNull(type);
        checkNotNull(value1);
        checkNotNull(value2);
        checkArgument(!Objects.equal(value1, value2), "Duplicate value provided.");
        distinctValues.replaceValues(type, ImmutableList.of(value1, value2));
        setDefault(type, value1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/ForwardingLoadingCache.java

          extends ForwardingLoadingCache<K, V> {
        private final LoadingCache<K, V> delegate;
    
        protected SimpleForwardingLoadingCache(LoadingCache<K, V> delegate) {
          this.delegate = Preconditions.checkNotNull(delegate);
        }
    
        @Override
        protected final LoadingCache<K, V> delegate() {
          return delegate;
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Aug 06 17:12:03 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

     * the License.
     */
    
    package com.google.common.eventbus;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    
    import com.google.common.annotations.VisibleForTesting;
    import com.google.common.base.MoreObjects;
    import com.google.common.base.Objects;
    import com.google.common.cache.CacheBuilder;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:16:45 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Stopwatch.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    package com.google.common.base;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkState;
    import static java.util.concurrent.TimeUnit.DAYS;
    import static java.util.concurrent.TimeUnit.HOURS;
    import static java.util.concurrent.TimeUnit.MICROSECONDS;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.collect.CollectPreconditions.checkNonnegative;
    import static com.google.common.collect.CollectPreconditions.checkRemove;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/ForwardingLoadingCache.java

          extends ForwardingLoadingCache<K, V> {
        private final LoadingCache<K, V> delegate;
    
        protected SimpleForwardingLoadingCache(LoadingCache<K, V> delegate) {
          this.delegate = Preconditions.checkNotNull(delegate);
        }
    
        @Override
        protected final LoadingCache<K, V> delegate() {
          return delegate;
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Aug 06 17:12:03 UTC 2022
    - 2.9K bytes
    - Viewed (0)
Back to top