Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 585 for Preconditions (0.35 sec)

  1. guava/src/com/google/common/base/Verify.java

      /**
       * Ensures that {@code expression} is {@code true}, throwing a {@code VerifyException} with no
       * message otherwise.
       *
       * @throws VerifyException if {@code expression} is {@code false}
       * @see Preconditions#checkState Preconditions.checkState()
       */
      public static void verify(boolean expression) {
        if (!expression) {
          throw new VerifyException();
        }
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon May 17 14:07:47 GMT 2021
    - 18.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.util.concurrent.SequentialExecutor.WorkerRunningState.IDLE;
    import static com.google.common.util.concurrent.SequentialExecutor.WorkerRunningState.QUEUED;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/MultiReader.java

     * the License.
     */
    
    package com.google.common.io;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Preconditions;
    import java.io.IOException;
    import java.io.Reader;
    import java.util.Iterator;
    import javax.annotation.CheckForNull;
    
    /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 2.4K bytes
    - Viewed (2)
  4. guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java

        Preconditions.checkNotNull(task, "task must not be null!");
        Preconditions.checkNotNull(result, "result must not be null!");
        return delegate.submit(task, result);
      }
    
      @Override
      public ListenableFuture<?> submit(Runnable task) {
        Preconditions.checkNotNull(task, "task must not be null!");
        return delegate.submit(task);
      }
    
      @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 6.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/EnumBiMap.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.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.collect.Platform.getDeclaringClassOrObjectForJ2cl;
    import static java.util.Objects.requireNonNull;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java

     * the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.util.concurrent.Uninterruptibles.getUninterruptibly;
    
    import com.google.common.annotations.GwtIncompatible;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 27 14:21:11 GMT 2023
    - 9.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/TestWriter.java

     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import static com.google.common.base.Charsets.UTF_8;
    import static com.google.common.base.Preconditions.checkNotNull;
    
    import java.io.FilterWriter;
    import java.io.IOException;
    import java.io.OutputStreamWriter;
    
    /** @author Colin Decker */
    public class TestWriter extends FilterWriter {
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.7K bytes
    - Viewed (0)
  8. 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.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtIncompatible;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableRangeMap.java

     * the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkElementIndex;
    import static com.google.common.base.Preconditions.checkNotNull;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

     * the License.
     */
    
    package com.google.common.primitives;
    
    import static com.google.common.base.Preconditions.checkArgument;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.Preconditions;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.errorprone.annotations.Immutable;
    import java.io.Serializable;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
Back to top