Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 455 for compareOp (0.05 seconds)

  1. 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
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java

                            new Comparator<Entry<String, Integer>>() {
                              @Override
                              public int compare(Entry<String, Integer> o1, Entry<String, Integer> o2) {
                                return o1.getKey().compareTo(o2.getKey());
                              }
                            });
                        return insertionOrder;
                      }
                    })
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 32.4K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java

        }
    
        /**
         * Compares this CharMappingItem with another object for equality.
         * Two CharMappingItem objects are equal if they have the same inputs and output.
         * Note: inputs arrays are sorted in the constructor, so no sorting is needed here.
         *
         * @param obj the object to compare with
         * @return true if the objects are equal, false otherwise
         */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/ForwardingSortedMap.java

          @Nullable Comparator<?> comparator, @Nullable Object o1, @Nullable Object o2) {
        if (comparator == null) {
          return ((Comparable<@Nullable Object>) o1).compareTo(o2);
        } else {
          return ((Comparator<@Nullable Object>) comparator).compare(o1, o2);
        }
      }
    
      /**
       * A sensible definition of {@link #containsKey} in terms of the {@code firstKey()} method of
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 12 16:28:01 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/reflect/SubtypeTester.java

        Method[] methods = getClass().getMethods();
        Arrays.sort(
            methods,
            new Comparator<Method>() {
              @Override
              public int compare(Method a, Method b) {
                return a.getName().compareTo(b.getName());
              }
            });
        for (Method method : methods) {
          if (method.isAnnotationPresent(TestSubtype.class)) {
            method.setAccessible(true);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Nov 25 23:29:58 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/path-params.md

    ### Working with Python *enumerations* { #working-with-python-enumerations }
    
    The value of the *path parameter* will be an *enumeration member*.
    
    #### Compare *enumeration members* { #compare-enumeration-members }
    
    You can compare it with the *enumeration member* in your created enum `ModelName`:
    
    {* ../../docs_src/path_params/tutorial005_py39.py hl[17] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  7. docs/fr/docs/tutorial/path-params.md

    <img src="/img/tutorial/path-params/image03.png">
    
    ### Manipuler les *énumérations* Python
    
    La valeur du *paramètre de chemin* sera un des "membres" de l'énumération.
    
    #### Comparer les *membres d'énumération*
    
    Vous pouvez comparer ce paramètre avec les membres de votre énumération `ModelName` :
    
    {* ../../docs_src/path_params/tutorial005.py hl[17] *}
    
    #### Récupérer la *valeur de l'énumération*
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Nov 09 16:39:20 GMT 2024
    - 9.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/core/convert/BigDecimalConversionUtilTest.java

            assertEquals(0, new BigDecimal("0.1").compareTo(BigDecimalConversionUtil.toBigDecimal(Float.valueOf(0.1F))));
    
            assertEquals(0, new BigDecimal("0.1").compareTo(BigDecimalConversionUtil.toBigDecimal(Double.valueOf(0.1D))));
            assertEquals(0, new BigDecimal("0.01").compareTo(BigDecimalConversionUtil.toBigDecimal(Double.valueOf(0.01D))));
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Fri Jun 20 13:40:57 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

         * This method always compares the full length of both arrays, regardless of when
         * differences are found, making the execution time independent of the position
         * of differing characters.
         *
         * @param a first char array to compare
         * @param b second char array to compare
         * @return true if arrays are equal, false otherwise
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 30.3K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/primitives/BooleansTest.java

        assertThat(Booleans.trueFirst().compare(true, true)).isEqualTo(0);
        assertThat(Booleans.trueFirst().compare(false, false)).isEqualTo(0);
        assertThat(Booleans.trueFirst().compare(true, false)).isLessThan(0);
        assertThat(Booleans.trueFirst().compare(false, true)).isGreaterThan(0);
      }
    
      public void testFalseFirst() {
        assertThat(Booleans.falseFirst().compare(true, true)).isEqualTo(0);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 22:56:33 GMT 2025
    - 25.2K bytes
    - Click Count (0)
Back to Top