Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 1,006 for reverse (0.05 seconds)

  1. android/guava/src/com/google/common/collect/Ordering.java

     *       returned)
     * </ol>
     *
     * <p>Alas, {@link #reverse} is a little different. As you read backwards through a chain and
     * encounter a call to {@code reverse}, continue working backwards until a result is determined, and
     * then reverse that result.
     *
     * <h3>Additional notes</h3>
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 39.4K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/Ordering.java

     *       returned)
     * </ol>
     *
     * <p>Alas, {@link #reverse} is a little different. As you read backwards through a chain and
     * encounter a call to {@code reverse}, continue working backwards until a result is determined, and
     * then reverse that result.
     *
     * <h3>Additional notes</h3>
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 39.4K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/GeneralRange.java

            getUpperEndpoint(),
            getUpperBoundType());
      }
    
      @LazyInit private transient @Nullable GeneralRange<T> reverse;
    
      /** Returns the same range relative to the reversed comparator. */
      GeneralRange<T> reverse() {
        GeneralRange<T> result = reverse;
        if (result == null) {
          result =
              new GeneralRange<>(
                  reverseComparator(comparator),
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/NullsFirstOrdering.java

      }
    
      @Override
      @SuppressWarnings("nullness") // should be safe, but not sure if we can avoid the warning
      public <S extends @Nullable T> Ordering<S> reverse() {
        // ordering.reverse() might be optimized, so let it do its thing
        return ordering.<T>reverse().<@NonNull S>nullsLast();
      }
    
      @SuppressWarnings("unchecked") // still need the right way to explain this
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/ImmutableList.java

        return offset + size;
      }
    
      /**
       * Returns a view of this immutable list in reverse order. For example, {@code ImmutableList.of(1,
       * 2, 3).reverse()} is equivalent to {@code ImmutableList.of(3, 2, 1)}.
       *
       * @return a view of this immutable list in reverse order
       * @since 7.0
       */
      public ImmutableList<E> reverse() {
        return (size() <= 1) ? this : new ReverseImmutableList<E>(this);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 27.5K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/AbstractRangeSetTest.java

          assertEquals(expectedSpan, span);
        } catch (NoSuchElementException e) {
          assertThat(expectedSpan).isNull();
        }
    
        // test that asDescendingSetOfRanges is the reverse of asRanges
        assertEquals(Lists.reverse(asRanges), ImmutableList.copyOf(rangeSet.asDescendingSetOfRanges()));
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

                .build();
        assertMapEquals(map, "two", 2, "three", 3, "one", 1, "four", 4, "five", 5);
        assertEquals(Ordering.<String>natural().reverse(), map.comparator());
      }
    
      public void testBuilderComparator() {
        Comparator<String> comparator = Ordering.<String>natural().reverse();
        ImmutableSortedMap<String, Integer> map =
            new ImmutableSortedMap.Builder<String, Integer>(comparator)
                .put("one", 1)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 29.8K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

            /** Array of days when this rule applies (1=Sunday, 7=Saturday) */
            protected int[] days;
    
            /** Flag indicating if the interval spans across midnight */
            protected boolean reverse;
    
            /**
             * Creates a new interval rule.
             *
             * @param from the start time in HH:MM format
             * @param to the end time in HH:MM format
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Nov 23 12:34:02 GMT 2025
    - 10K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

            // The hardware is big-endian, so we need to reverse the order of the bytes.
            return Long.reverseBytes(bigEndian);
          }
    
          @Override
          public void putLongLittleEndian(byte[] array, int offset, long value) {
            // Reverse the order of the bytes before storing, since we're on big-endian hardware.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/primitives/Longs.java

        Arrays.sort(array, fromIndex, toIndex);
        reverse(array, fromIndex, toIndex);
      }
    
      /**
       * Reverses the elements of {@code array}. This is equivalent to {@code
       * Collections.reverse(Longs.asList(array))}, but is likely to be more efficient.
       *
       * @since 23.1
       */
      public static void reverse(long[] array) {
        checkNotNull(array);
        reverse(array, 0, array.length);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 22 18:14:49 GMT 2025
    - 29K bytes
    - Click Count (0)
Back to Top