Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 231 for Reverse8 (0.2 sec)

  1. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java

            assertNull(restriction.getUpperBound(), CHECK_UPPER_BOUND);
            assertFalse(restriction.isUpperBoundInclusive(), CHECK_UPPER_BOUND_INCLUSIVE);
    
            // TODO test reversed restrictions on all below
            range1 = VersionRange.createFromVersionSpec("[1.0,)");
            range2 = VersionRange.createFromVersionSpec("1.1");
            mergedRange = range1.restrict(range2);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 44.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

                .createTestSuite());
        suite.addTest(
            ListTestSuiteBuilder.using(new BuilderReversedListGenerator())
                .named("ImmutableList, reversed")
                .withFeatures(CollectionSize.ANY, SERIALIZABLE, ALLOWS_NULL_QUERIES)
                .createTestSuite());
        suite.addTest(
            ListTestSuiteBuilder.using(new ImmutableListHeadSubListGenerator())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/RegularImmutableMap.java

       * include a {@link Builder.DuplicateKey} in case duplicate keys are not allowed now or will not
       * be allowed on a later {@link Builder#buildOrThrow()} call.
       *
       * @param keyOffset 1 if this is the reverse direction of a BiMap, 0 otherwise.
       * @return an {@code Object} that is a {@code byte[]}, {@code short[]}, or {@code int[]}, the
       *     smallest possible to fit {@code tableSize}; or an {@code Object[]} where [0] is one of
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 15 22:32:14 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

                      + runnable
                      + " with executor "
                      + executor,
                  e);
            }
          }
        }
      }
    
      // A version of the execution list that doesn't reverse the stack in execute().
      private static final class NewExecutionListWithoutReverse {
        static final Logger log = Logger.getLogger(NewExecutionListWithoutReverse.class.getName());
    
        @GuardedBy("this")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/Helpers.java

        boolean modified = false;
        for (E e : elementsToAdd) {
          modified |= addTo.add(e);
        }
        return modified;
      }
    
      static <T extends @Nullable Object> Iterable<T> reverse(List<T> list) {
        return new Iterable<T>() {
          @Override
          public Iterator<T> iterator() {
            ListIterator<T> listIter = list.listIterator(list.size());
            return new Iterator<T>() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

          Iterable<ImmutableSet<String>> infiniteSets =
              Iterables.cycle(
                  byAscendingSize
                      ? distinctCandidatesByAscendingSize
                      : Lists.reverse(distinctCandidatesByAscendingSize));
          for (int startIndex = 0;
              startIndex < distinctCandidatesByAscendingSize.size();
              startIndex++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

        return new Builder<K, V>(comparator);
      }
    
      public static <K extends Comparable<?>, V> Builder<K, V> reverseOrder() {
        return new Builder<K, V>(Ordering.natural().reverse());
      }
    
      public static final class Builder<K, V> extends ImmutableMap.Builder<K, V> {
        private final Comparator<? super K> comparator;
    
        public Builder(Comparator<? super K> comparator) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Collections2.java

           * method.
           */
          requireNonNull(nextPermutation);
    
          int l = findNextL(j);
          Collections.swap(nextPermutation, j, l);
          int n = nextPermutation.size();
          Collections.reverse(nextPermutation.subList(j + 1, n));
        }
    
        int findNextJ() {
          /*
           * requireNonNull is safe because we don't clear nextPermutation until we're done calling this
           * method.
           */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java

     *
     * @author Louis Wasserman
     * @author Chris Povirk
     */
    @GwtIncompatible // TreeRangeSet
    public class TreeRangeSetTest extends AbstractRangeSetTest {
      // TODO(cpovirk): test all of these with the ranges added in the reverse order
    
      private static final ImmutableList<Range<Integer>> QUERY_RANGES;
    
      private static final int MIN_BOUND = -1;
      private static final int MAX_BOUND = 1;
    
      static {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableListTest.java

                .createTestSuite());
        suite.addTest(
            ListTestSuiteBuilder.using(new BuilderReversedListGenerator())
                .named("ImmutableList, reversed")
                .withFeatures(CollectionSize.ANY, SERIALIZABLE, ALLOWS_NULL_QUERIES)
                .createTestSuite());
        suite.addTest(
            ListTestSuiteBuilder.using(new ImmutableListHeadSubListGenerator())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.5K bytes
    - Viewed (0)
Back to top