Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 314 for comparator (0.08 sec)

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

      public int compare(Comparable<?> left, Comparable<?> right) {
        checkNotNull(left); // right null is caught later
        if (left == right) {
          return 0;
        }
    
        return ((Comparable<Object>) right).compareTo(left);
      }
    
      @Override
      public <S extends Comparable<?>> Ordering<S> reverse() {
        return Ordering.natural();
      }
    
      // Override the min/max methods to "hoist" delegation outside loops
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Jun 20 14:22:42 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/io/TraverserUtilTest.java

            final List<String> list = new ArrayList<String>();
            traverser.forEach((ResourceHandler) (path, is) -> list.add(path));
            list.sort((s1, s2) -> s1.compareTo(s2));
            assertThat(list.size(), is(2));
            assertThat(list.get(0), is("junit/textui/ResultPrinter.class"));
            assertThat(list.get(1), is("junit/textui/TestRunner.class"));
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/LongAdder.java

     * higher space consumption.
     *
     * <p>This class extends {@link Number}, but does not define methods such as {@code
     * equals}, {@code hashCode} and {@code compareTo} because instances are expected to be mutated, and
     * so are not useful as collection keys.
     *
     * <p>jsr166e note: This class is targeted to be placed in java.util.concurrent.atomic.
     *
     * @since 1.8
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  4. docs/pt/docs/how-to/graphql.md

    Você pode combinar *operações de rota* normais do FastAPI com GraphQL na mesma aplicação.
    
    /// tip | "Dica"
    
    **GraphQL** resolve alguns casos de uso muito específicos.
    
    Ele tem **vantagens** e **desvantagens** quando comparado a **web APIs** comuns.
    
    Certifique-se de avaliar se os **benefícios** para o seu caso de uso compensam as **desvantagens**. 🤓
    
    ///
    
    ## Bibliotecas GraphQL
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java

          return new Ordering<Entry<String, Integer>>() {
            @Override
            public int compare(Entry<String, Integer> left, Entry<String, Integer> right) {
              return left.getKey().compareTo(right.getKey());
            }
          }.sortedCopy(insertionOrder);
        }
    
        @Override
        public List<Entry<String, Integer>> create(Object... elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. api/maven-api-metadata/src/main/mdo/metadata.mdo

                    versioning.setLastUpdated( v.getLastUpdated() );
                }
    
                if ( v.getLastUpdated() == null || v.getLastUpdated().length() == 0
                     || versioning.getLastUpdated().compareTo( v.getLastUpdated() ) >= 0 )
                {
                    changed = true;
                    v.setLastUpdated( versioning.getLastUpdated() );
    
                    if ( versioning.getRelease() != null )
                    {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed May 15 17:32:27 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilderFactory.java

                        public String asString() {
                            return version;
                        }
    
                        @Override
                        public int compareTo(Version o) {
                            return version.compareTo(o.asString());
                        }
                    };
                }
    
                @Override
                public VersionRange parseVersionRange(String range) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/JapicmpTask.java

            if (JavaVersion.current().isJava9Compatible()) {
                classpath.from(resolveJaxb());
            }
            if (GradleVersion.current().compareTo(GradleVersion.version("6.0")) >= 0) {
                classpath.from(resolveGuava());
            }
            additionalJapicmpClasspath = classpath;
        }
    
        @TaskAction
        public void exec() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Apr 26 10:58:32 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

          return new Ordering<Entry<AnEnum, String>>() {
    
            @Override
            public int compare(Entry<AnEnum, String> left, Entry<AnEnum, String> right) {
              return left.getKey().compareTo(right.getKey());
            }
          }.sortedCopy(insertionOrder);
        }
      }
    
      public static class ImmutableMapValuesAsSingletonSetGenerator
          implements TestMapGenerator<String, Collection<Integer>> {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

            return new NeverScheduledFuture<>();
          }
    
          @Override
          public long getDelay(TimeUnit unit) {
            return Long.MAX_VALUE;
          }
    
          @Override
          public int compareTo(Delayed other) {
            return Long.compare(getDelay(NANOSECONDS), other.getDelay(NANOSECONDS));
          }
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top