Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 853 for reverse (0.04 sec)

  1. android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

                          List<Entry<Range<Integer>, String>> insertionOrder) {
                        return Range.<Integer>rangeLexOrdering()
                            .reverse()
                            .onKeys()
                            .sortedCopy(insertionOrder);
                      }
    
                      @SuppressWarnings("unchecked")
                      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Oct 06 13:04:03 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

         */
        final Stack<E> previousElements = new Stack<>();
    
        /**
         * {@link #nextElements} if {@code next()} was called more recently then {@code previous},
         * {@link #previousElements} if the reverse is true, or -- overriding both of these -- {@code
         * null} if {@code remove()} or {@code add()} has been called more recently than either. We use
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  3. gradlew

            ulimit -n "$MAX_FD" ||
                warn "Could not set maximum file descriptor limit to $MAX_FD"
        esac
    fi
    
    # Collect all arguments for the java command, stacking in reverse order:
    #   * args from the command line
    #   * the main class name
    #   * -classpath
    #   * -D...appname settings
    #   * --module-path (only if needed)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Dec 24 09:00:26 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java

                    List<E> list = new ArrayList<>();
                    for (E e : delegate.order(insertionOrder)) {
                      list.add(e);
                    }
                    Collections.reverse(list);
                    return list;
                  }
    
                  @Override
                  public Set<E> create(Object... elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

            Lists.newArrayList(4, 3, 2, 1),
            fluent(4, 1, 3, 2).toSortedList(Ordering.<Integer>natural().reverse()));
      }
    
      public void testToSortedList_withDuplicates() {
        assertEquals(
            Lists.newArrayList(4, 3, 1, 1),
            fluent(1, 4, 1, 3).toSortedList(Ordering.<Integer>natural().reverse()));
      }
    
      public void testToSet() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Lists.java

       *
       * @since 7.0
       */
      public static <T extends @Nullable Object> List<T> reverse(List<T> list) {
        if (list instanceof ImmutableList) {
          // Avoid nullness warnings.
          List<?> reversed = ((ImmutableList<?>) list).reverse();
          @SuppressWarnings("unchecked")
          List<T> result = (List<T>) reversed;
          return result;
        } else if (list instanceof ReverseList) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/BytesTest.java

        input = Arrays.copyOf(input, input.length);
        Bytes.reverse(input);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testReverse(byte[] input, int fromIndex, int toIndex, byte[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Bytes.reverse(input, fromIndex, toIndex);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ForwardingObject.java

     * such custom interfaces directly; they are implemented only in subclasses. Therefore, forwarding
     * {@code equals} would break symmetry, as the forwarding object might consider itself equal to the
     * object being tested, but the reverse could not be true. This behavior is consistent with the
     * JDK's collection wrappers, such as {@link java.util.Collections#unmodifiableCollection}. Use an
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 3K bytes
    - Viewed (0)
  9. .teamcity/src/main/kotlin/configurations/PerformanceTestsPass.kt

            val os = Os.LINUX
            val type = performanceTestSpec.type
    
            applyDefaultSettings(os)
            params {
                text(
                    "reverse.dep.*.performance.baselines",
                    type.defaultBaselines,
                    display = ParameterDisplay.PROMPT,
                    allowEmpty = true,
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 10 13:15:00 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

        return Lists.equalsImpl(this, obj);
      }
    
      @Override
      public int hashCode() {
        return Lists.hashCodeImpl(this);
      }
    
      public ImmutableList<E> reverse() {
        List<E> list = Lists.newArrayList(this);
        Collections.reverse(list);
        return unsafeDelegateList(list);
      }
    
      public static <E> Builder<E> builder() {
        return new Builder<E>();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 22:14:46 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top