Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 594 for reverse (0.08 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/OperatingSystemProfileActivator.java

        }
    
        private boolean determineVersionMatch(String version) {
            String test = version;
            boolean reverse = false;
    
            if (test.startsWith("!")) {
                reverse = true;
                test = test.substring(1);
            }
    
            boolean result = Os.OS_VERSION.equals(test);
    
            if (reverse) {
                return !result;
            } else {
                return result;
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java

          SampleElements<Entry<K, V>> samples = generator.samples();
          return new SampleElements<>(
              reverse(samples.e0()),
              reverse(samples.e1()),
              reverse(samples.e2()),
              reverse(samples.e3()),
              reverse(samples.e4()));
        }
    
        private Entry<V, K> reverse(Entry<K, V> entry) {
          checkNotNull(entry);
          return mapEntry(entry.getValue(), entry.getKey());
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/ConverterTest.java

        new EqualsTester()
            .addEqualityGroup(STR_TO_LONG, STR_TO_LONG.reverse().reverse())
            .addEqualityGroup(STR_TO_LONG.reverse(), STR_TO_LONG.reverse())
            .testEquals();
      }
    
      public void testReverseReverse() {
        Converter<String, Long> converter = STR_TO_LONG;
        assertEquals(converter, converter.reverse().reverse());
      }
    
      public void testApply() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 01 16:09:28 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Converter.java

    /**
     * A function from {@code A} to {@code B} with an associated <i>reverse</i> function from {@code B}
     * to {@code A}; used for converting back and forth between <i>different representations of the same
     * information</i>.
     *
     * <h3>Invertibility</h3>
     *
     * <p>The reverse operation <b>may</b> be a strict <i>inverse</i> (meaning that {@code
     * converter.reverse().convert(converter.convert(a)).equals(a)} is always true). However, it is very
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 23K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivator.java

            return reverse != result;
        }
    
        private boolean determineNameMatch(String expectedName, String actualName) {
            String test = expectedName.toLowerCase(Locale.ENGLISH);
            boolean reverse = false;
    
            if (test.startsWith("!")) {
                reverse = true;
                test = test.substring(1);
            }
    
            boolean result = actualName.equals(test);
    
            return reverse != result;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java

          SampleElements<Entry<K, V>> samples = generator.samples();
          return new SampleElements<>(
              reverse(samples.e0()),
              reverse(samples.e1()),
              reverse(samples.e2()),
              reverse(samples.e3()),
              reverse(samples.e4()));
        }
    
        private Entry<V, K> reverse(Entry<K, V> entry) {
          checkNotNull(entry);
          return mapEntry(entry.getValue(), entry.getKey());
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/GeneralRangeTest.java

        assertEquals(GeneralRange.all(ORDERING.reverse()), GeneralRange.all(ORDERING).reverse());
        assertEquals(
            GeneralRange.downTo(ORDERING.reverse(), 3, CLOSED),
            GeneralRange.upTo(ORDERING, 3, CLOSED).reverse());
        assertEquals(
            GeneralRange.upTo(ORDERING.reverse(), 3, OPEN),
            GeneralRange.downTo(ORDERING, 3, OPEN).reverse());
        assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/GeneralRangeTest.java

        assertEquals(GeneralRange.all(ORDERING.reverse()), GeneralRange.all(ORDERING).reverse());
        assertEquals(
            GeneralRange.downTo(ORDERING.reverse(), 3, CLOSED),
            GeneralRange.upTo(ORDERING, 3, CLOSED).reverse());
        assertEquals(
            GeneralRange.upTo(ORDERING.reverse(), 3, OPEN),
            GeneralRange.downTo(ORDERING, 3, OPEN).reverse());
        assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/GeneralRange.java

      }
    
      @LazyInit @CheckForNull private transient 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<>(
                  Ordering.from(comparator).reverse(),
                  hasUpperBound,
                  getUpperEndpoint(),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ComparatorsTest.java

        assertThat(max(a, b)).isSameInstanceAs(a);
      }
    
      public void testMinMaxComparator() {
        Comparator<Integer> reverse = reverseOrder();
        assertThat(min(1, 2, reverse)).isEqualTo(2);
        assertThat(min(2, 1, reverse)).isEqualTo(2);
        assertThat(max(1, 2, reverse)).isEqualTo(1);
        assertThat(max(2, 1, reverse)).isEqualTo(1);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top