Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 677 for Preconditions (0.12 seconds)

  1. android/guava/src/com/google/common/hash/MessageDigestHashFunction.java

     * the License.
     */
    
    package com.google.common.hash;
    
    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 com.google.errorprone.annotations.Immutable;
    import java.io.InvalidObjectException;
    import java.io.ObjectInputStream;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/io/CharSequenceReader.java

     * the License.
     */
    
    package com.google.common.io;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkPositionIndexes;
    import static java.lang.Math.min;
    import static java.util.Objects.requireNonNull;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.5K bytes
    - Click Count (0)
  3. guava/src/com/google/common/base/JdkPattern.java

    @GwtIncompatible
    final class JdkPattern extends CommonPattern implements Serializable {
      private final Pattern pattern;
    
      JdkPattern(Pattern pattern) {
        this.pattern = Preconditions.checkNotNull(pattern);
      }
    
      @Override
      public CommonMatcher matcher(CharSequence t) {
        return new JdkMatcher(pattern.matcher(t));
      }
    
      @Override
      public String pattern() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  4. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

        final Queue<OldExecutionList.RunnableExecutorPair> runnables = new LinkedList<>();
        boolean executed = false;
    
        void add(Runnable runnable, Executor executor) {
          Preconditions.checkNotNull(runnable, "Runnable was null.");
          Preconditions.checkNotNull(executor, "Executor was null.");
    
          boolean executeImmediate = false;
    
          synchronized (runnables) {
            if (!executed) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 17:42:14 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/base/JdkPattern.java

    @GwtIncompatible
    final class JdkPattern extends CommonPattern implements Serializable {
      private final Pattern pattern;
    
      JdkPattern(Pattern pattern) {
        this.pattern = Preconditions.checkNotNull(pattern);
      }
    
      @Override
      public CommonMatcher matcher(CharSequence t) {
        return new JdkMatcher(pattern.matcher(t));
      }
    
      @Override
      public String pattern() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/SingletonImmutableSet.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Preconditions;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of {@link ImmutableSet} with exactly one element.
     *
     * @author Kevin Bourrillion
     * @author Nick Kralevich
     */
    @GwtCompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/graph/StandardMutableNetwork.java

     * limitations under the License.
     */
    
    package com.google.common.graph;
    
    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.graph.GraphConstants.PARALLEL_EDGES_NOT_ALLOWED;
    import static com.google.common.graph.GraphConstants.REUSING_EDGE;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 5.7K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/hash/AbstractHashFunction.java

     * the License.
     */
    
    package com.google.common.hash;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkPositionIndexes;
    
    import com.google.errorprone.annotations.Immutable;
    import java.nio.ByteBuffer;
    import java.nio.charset.Charset;
    import org.jspecify.annotations.Nullable;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/SingletonImmutableSet.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Preconditions;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of {@link ImmutableSet} with exactly one element.
     *
     * @author Kevin Bourrillion
     * @author Nick Kralevich
     */
    @GwtCompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/TestPlatform.java

     * limitations under the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.util.concurrent.FuturesTest.pseudoTimedGetUninterruptibly;
    import static com.google.common.util.concurrent.Uninterruptibles.getUninterruptibly;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.7K bytes
    - Click Count (0)
Back to Top