Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 130 for reversed (0.46 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java

        for (Entry<K, V> entry : entries) {
          Entry<V, K> reversed = reverseEntry(entry);
          BiMap<V, K> inv = getMap().inverse();
          assertFalse(
              "Inverse should not contain entry " + reversed, inv.entrySet().contains(reversed));
          assertFalse(
              "Inverse should not contain key " + reversed.getKey(),
              inv.containsKey(reversed.getKey()));
          assertFalse(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java

        for (Entry<K, V> entry : entries) {
          Entry<V, K> reversed = reverseEntry(entry);
          BiMap<V, K> inv = getMap().inverse();
          assertFalse(
              "Inverse should not contain entry " + reversed, inv.entrySet().contains(reversed));
          assertFalse(
              "Inverse should not contain key " + reversed.getKey(),
              inv.containsKey(reversed.getKey()));
          assertFalse(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

                    extRealm.addURL(file.toUri().toURL());
                }
    
                ArrayList<CoreExtensionEntry> reversed = new ArrayList<>(extensions);
                Collections.reverse(reversed);
                for (CoreExtensionEntry entry : reversed) {
                    Set<String> exportedPackages = entry.getExportedPackages();
                    ClassRealm realm = entry.getClassRealm();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. 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)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

            }
    
            private static Comparator<Binding<?>> getBindingComparator() {
                Comparator<Binding<?>> comparing = Comparator.comparing(Binding::getPriority);
                return comparing.reversed();
            }
    
            private <T> boolean isPlexusBean(BeanEntry<Annotation, T> entry) {
                try {
                    if ("org.eclipse.sisu.inject.LazyBeanEntry"
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. android/guava/src/com/google/common/collect/Ordering.java

      /**
       * Returns the reverse of this ordering; the {@code Ordering} equivalent to {@link
       * Collections#reverseOrder(Comparator)}.
       *
       * <p><b>Java 8+ users:</b> Use {@code thisComparator.reversed()} instead.
       */
      // type parameter <S> lets us avoid the extra <String> in statements like:
      // Ordering<String> o = Ordering.<String>natural().reverse();
      @GwtCompatible(serializable = true)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableMultimap.java

      /**
       * Returns an immutable multimap which is the inverse of this one. For every key-value mapping in
       * the original, the result will have a mapping with key and value reversed.
       *
       * @since 11.0
       */
      public abstract ImmutableMultimap<V, K> inverse();
    
      /**
       * Guaranteed to throw an exception and leave the multimap unmodified.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27.9K bytes
    - Viewed (0)
Back to top