// Path: agera/src/main/java/com/google/android/agera/Common.java
// static final StaticCondicate FALSE_CONDICATE = new StaticCondicate(false);
// 
// Path: agera/src/main/java/com/google/android/agera/Common.java
// static final StaticCondicate TRUE_CONDICATE = new StaticCondicate(true);


import static com.google.android.agera.Common.FALSE_CONDICATE;
import static com.google.android.agera.Common.TRUE_CONDICATE;
import static com.google.android.agera.Preconditions.checkNotNull;
import android.support.annotation.NonNull;
/*
 * Copyright 2015 Google Inc. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.google.android.agera;



/**
 * Utility methods for obtaining {@link Condition} instances.
 */
public final class Conditions {

  /**
   * Returns a {@link Condition} that always returns {@code true}.
   */
  @NonNull
  public static Condition trueCondition() {
    return TRUE_CONDICATE;
  }

  /**
   * Returns a {@link Condition} that always returns {@code false}.
   */
  @NonNull
  public static Condition falseCondition() {
// Path: agera/src/main/java/com/google/android/agera/Common.java
// static final StaticCondicate FALSE_CONDICATE = new StaticCondicate(false);
// 
// Path: agera/src/main/java/com/google/android/agera/Common.java
// static final StaticCondicate TRUE_CONDICATE = new StaticCondicate(true);


// Path: agera/src/main/java/com/google/android/agera/Conditions.java
import static com.google.android.agera.Common.FALSE_CONDICATE;
import static com.google.android.agera.Common.TRUE_CONDICATE;
import static com.google.android.agera.Preconditions.checkNotNull;
import android.support.annotation.NonNull;

/*
 * Copyright 2015 Google Inc. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.google.android.agera;



/**
 * Utility methods for obtaining {@link Condition} instances.
 */
public final class Conditions {

  /**
   * Returns a {@link Condition} that always returns {@code true}.
   */
  @NonNull
  public static Condition trueCondition() {
    return TRUE_CONDICATE;
  }

  /**
   * Returns a {@link Condition} that always returns {@code false}.
   */
  @NonNull
  public static Condition falseCondition() {
    return FALSE_CONDICATE;