Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 457 for compares (0.11 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

        this.ordering = ordering;
      }
    
      @Override
      public int compare(@Nullable T left, @Nullable T right) {
        if (left == right) {
          return 0;
        }
        if (left == null) {
          return LEFT_IS_GREATER;
        }
        if (right == null) {
          return RIGHT_IS_GREATER;
        }
        return ordering.compare(left, right);
      }
    
      @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)
  2. guava/src/com/google/common/collect/NullsLastOrdering.java

        this.ordering = ordering;
      }
    
      @Override
      public int compare(@Nullable T left, @Nullable T right) {
        if (left == right) {
          return 0;
        }
        if (left == null) {
          return LEFT_IS_GREATER;
        }
        if (right == null) {
          return RIGHT_IS_GREATER;
        }
        return ordering.compare(left, right);
      }
    
      @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)
  3. compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java

            analysis.sort((a, b) -> Long.compare(b.potentialSavings, a.potentialSavings));
            return analysis;
        }
    
        private List<ValueFrequency> getMostFrequentValues(Map<String, StringStats> stats, int limit) {
            return stats.entrySet().stream()
                    .map(e -> new ValueFrequency(e.getKey(), e.getValue().getOccurrences()))
                    .sorted((a, b) -> Long.compare(b.frequency, a.frequency))
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java

        public void test_compareTo() {
            // Test compareTo method for enum constants
            assertEquals(0, SsoResponseType.METADATA.compareTo(SsoResponseType.METADATA));
            assertEquals(0, SsoResponseType.LOGOUT.compareTo(SsoResponseType.LOGOUT));
            assertTrue(SsoResponseType.METADATA.compareTo(SsoResponseType.LOGOUT) < 0);
            assertTrue(SsoResponseType.LOGOUT.compareTo(SsoResponseType.METADATA) > 0);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  5. docs/es/docs/tutorial/path-params.md

    ### Trabajando con *enumeraciones* de Python { #working-with-python-enumerations }
    
    El valor del *path parameter* será un *miembro* de enumeración.
    
    #### Comparar *miembros* de enumeraciones { #compare-enumeration-members }
    
    Puedes compararlo con el *miembro* de enumeración en tu enum creada `ModelName`:
    
    {* ../../docs_src/path_params/tutorial005_py310.py hl[17] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/CompoundOrdering.java

        this.comparators =
            Iterables.toArray(comparators, (Comparator<? super T>[]) new Comparator<?>[0]);
      }
    
      @Override
      public int compare(@ParametricNullness T left, @ParametricNullness T right) {
        for (int i = 0; i < comparators.length; i++) {
          int result = comparators[i].compare(left, right);
          if (result != 0) {
            return result;
          }
        }
        return 0;
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/TopKSelector.java

          buffer[bufferSize++] = elem;
          // uncheckedCastNullableTToT is safe because bufferSize > 0.
          if (comparator.compare(elem, uncheckedCastNullableTToT(threshold)) > 0) {
            threshold = elem;
          }
          // uncheckedCastNullableTToT is safe because bufferSize > 0.
        } else if (comparator.compare(elem, uncheckedCastNullableTToT(threshold)) < 0) {
          // Otherwise, we can ignore elem; we've seen k better elements.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 31 13:15:26 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

              for (int i = 0; i < size; i++) {
                // We're careful to put only K instances in.
                if (i > 0 && comparator.compare((K) sortedKeys[i - 1], (K) sortedKeys[i]) == 0) {
                  throw new IllegalArgumentException(
                      "keys required to be distinct but compared as equal: "
                          + sortedKeys[i - 1]
                          + " and "
                          + sortedKeys[i]);
                }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 54.7K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphVertex.java

            }
    
            if (
            /* s1 != null && */ s2 == null) {
                return 1;
            }
    
            return s1.compareTo(s2);
        }
    
        // ---------------------------------------------------------------------
        @Override
        public int compareTo(MetadataGraphVertex vertex) {
            if (vertex == null || vertex.getMd() == null) {
                return 1;
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5K bytes
    - Click Count (0)
  10. CHANGELOG/CHANGELOG-1.19.md

    - github.com/evanphx/json-patch: [v4.2.0+incompatible → e83c0a1](https://github.com/evanphx/json-patch/compare/v4.2.0...e83c0a1)
    - github.com/fsnotify/fsnotify: [v1.4.7 → v1.4.9](https://github.com/fsnotify/fsnotify/compare/v1.4.7...v1.4.9)
    - github.com/go-kit/kit: [v0.8.0 → v0.9.0](https://github.com/go-kit/kit/compare/v0.8.0...v0.9.0)
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Wed Jan 05 05:42:32 GMT 2022
    - 489.7K bytes
    - Click Count (0)
Back to Top