Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for statement (0.31 sec)

  1. guava/src/com/google/common/collect/Cut.java

          throw new AssertionError("this statement should be unreachable");
        }
    
        @Override
        BoundType typeAsUpperBound() {
          throw new IllegalStateException();
        }
    
        @Override
        Cut<Comparable<?>> withLowerBoundType(
            BoundType boundType, DiscreteDomain<Comparable<?>> domain) {
          throw new AssertionError("this statement should be unreachable");
        }
    
        @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ComparisonChain.java

    import com.google.common.primitives.Longs;
    import java.util.Comparator;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A utility for performing a chained comparison statement. <b>Note:</b> Java 8+ users should
     * generally prefer the methods in {@link Comparator}; see <a href="#java8">below</a>.
     *
     * <p>Example usage of {@code ComparisonChain}:
     *
     * <pre>{@code
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Sep 21 17:28:11 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Cut.java

          throw new AssertionError("this statement should be unreachable");
        }
    
        @Override
        BoundType typeAsUpperBound() {
          throw new IllegalStateException();
        }
    
        @Override
        Cut<Comparable<?>> withLowerBoundType(
            BoundType boundType, DiscreteDomain<Comparable<?>> domain) {
          throw new AssertionError("this statement should be unreachable");
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  4. LICENSE

              or as an addendum to the NOTICE text from the Work, provided
              that such additional attribution notices cannot be construed
              as modifying the License.
    
          You may add Your own copyright statement to Your modifications and
          may provide additional or different license terms and conditions
          for use, reproduction, or distribution of Your modifications, or
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 22 18:59:39 GMT 2023
    - 11.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

      interface Y {}
    
      static class A implements X, Y {}
    
      static class B implements X, Y {}
    
      /**
       * This test passes if the {@code concat(…).filter(…).filter(…)} statement at the end compiles.
       * That statement compiles only if {@link FluentIterable#concat concat(aIterable, bIterable)}
       * returns a {@link FluentIterable} of elements of an anonymous type whose supertypes are the <a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 06 17:32:08 GMT 2023
    - 30.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Collections2.java

          for (int l = nextPermutation.size() - 1; l > j; l--) {
            if (comparator.compare(ak, nextPermutation.get(l)) < 0) {
              return l;
            }
          }
          throw new AssertionError("this statement should be unreachable");
        }
      }
    
      /**
       * Returns a {@link Collection} of all the permutations of the specified {@link Collection}.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/Monitor.java

     * } finally {
     *   monitor.leave();
     * }
     * }</pre>
     *
     * <p>A call to any of the <i>enter</i> methods with <b>boolean</b> return type should always appear
     * as the condition of an <i>if</i> statement containing a <i>try/finally</i> block to ensure that
     * the current thread leaves the monitor cleanly:
     *
     * <pre>{@code
     * if (monitor.tryEnter()) {
     *   try {
     *     // do things while occupying the monitor
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AbstractService.java

                enqueueStoppingEvent(RUNNING);
                doStop();
                break;
              case STOPPING:
              case TERMINATED:
              case FAILED:
                // These cases are impossible due to the if statement above.
                throw new AssertionError("isStoppable is incorrectly implemented, saw: " + previous);
            }
          } catch (Throwable shutdownFailure) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 18:32:03 GMT 2023
    - 20.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Collections2.java

          for (int l = nextPermutation.size() - 1; l > j; l--) {
            if (comparator.compare(ak, nextPermutation.get(l)) < 0) {
              return l;
            }
          }
          throw new AssertionError("this statement should be unreachable");
        }
      }
    
      /**
       * Returns a {@link Collection} of all the permutations of the specified {@link Collection}.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/Closer.java

     * {@linkplain #close closed}. This is intended to approximately emulate the behavior of Java 7's <a
     * href="http://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html"
     * >try-with-resources</a> statement in JDK6-compatible code. Running on Java 7, code using this
     * should be approximately equivalent in behavior to the same code written with try-with-resources.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 11.9K bytes
    - Viewed (0)
Back to top