Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 401 - 410 of 528 for compares (0.05 seconds)

  1. src/test/java/jcifs/netbios/NbtAddressTest.java

            NbtAddress nbtAddress3 = new NbtAddress(mockName3, 0xC0A80102, false, NbtAddress.H_NODE); // Different address
    
            assertTrue(nbtAddress1.equals(nbtAddress2)); // Should be true as only address is compared
            assertFalse(nbtAddress1.equals(nbtAddress3));
            assertFalse(nbtAddress1.equals(null));
            assertFalse(nbtAddress1.equals("some string"));
        }
    
        @Test
        void testToString() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.4K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

            return new ExceptionSummary(null, message, null, children);
        }
    
        private ExceptionSummary handle(ModelProblem problem, String projectId) {
            if (ModelProblem.Severity.ERROR.compareTo(problem.getSeverity()) >= 0) {
                String message = problem.getMessage();
    
                String location = ModelProblemUtils.formatLocation(problem, projectId);
    
                if (!location.isEmpty()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/Maps.java

       * @param left the map to treat as the "left" map for purposes of comparison
       * @param right the map to treat as the "right" map for purposes of comparison
       * @param valueEquivalence the equivalence relationship to use to compare values
       * @return the difference between the two maps
       * @since 10.0
       */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          MapDifference<K, V> difference(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 157.6K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/Maps.java

       * @param left the map to treat as the "left" map for purposes of comparison
       * @param right the map to treat as the "right" map for purposes of comparison
       * @param valueEquivalence the equivalence relationship to use to compare values
       * @return the difference between the two maps
       * @since 10.0
       */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          MapDifference<K, V> difference(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 163.5K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/ImmutableList.java

        }
      }
    
      /**
       * Returns an immutable list containing the given elements, sorted according to their natural
       * order. The sorting algorithm used is stable, so elements that compare as equal will stay in the
       * order in which they appear in the input.
       *
       * <p>If your data has no duplicates, or you wish to deduplicate elements, use {@code
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 30.6K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

              castOrCopyToList(mapGenerator.order(castOrCopyToList(mapGenerator.getSampleElements(5))));
          sort(
              insertionOrder,
              new Comparator<V>() {
                @Override
                public int compare(V left, V right) {
                  // The indexes are small enough for the subtraction trick to be safe.
                  return indexOfEntryWithValue(left) - indexOfEntryWithValue(right);
                }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jan 30 16:59:10 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/Iterators.java

          Comparator<IndexedIterator<T>> heapComparator =
              (o1, o2) ->
                  ComparisonChain.start()
                      .compare(o1.iterator.peek(), o2.iterator.peek(), itemComparator)
                      // When elements are equal, use insertion order to maintain stability
                      .compare(o1.index, o2.index)
                      .result();
    
          queue = new PriorityQueue<>(2, heapComparator);
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 16 12:42:11 GMT 2025
    - 51.4K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

      interface Y {}
    
      static class A implements X, Y {}
    
      static class B implements X, Y {}
    
      /**
       * This test passes if the {@code concat(…).filter(…).filter(…)} statement at the end compiles.
       * That statement compiles only if {@link FluentIterable#concat concat(aIterable, bIterable)}
       * returns a {@link FluentIterable} of elements of an anonymous type whose supertypes are the <a
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 30.5K bytes
    - Click Count (0)
  9. LICENSE

          for use, reproduction, or distribution of Your modifications, or
          for any such Derivative Works as a whole, provided Your use,
          reproduction, and distribution of the Work otherwise complies with
          the conditions stated in this License.
    
       5. Submission of Contributions. Unless You explicitly state otherwise,
          any Contribution intentionally submitted for inclusion in the Work
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Jan 11 04:26:17 GMT 2021
    - 11.1K bytes
    - Click Count (0)
  10. LICENSE

          for use, reproduction, or distribution of Your modifications, or
          for any such Derivative Works as a whole, provided Your use,
          reproduction, and distribution of the Work otherwise complies with
          the conditions stated in this License.
    
       5. Submission of Contributions. Unless You explicitly state otherwise,
          any Contribution intentionally submitted for inclusion in the Work
    Created: Sat Dec 20 08:54:13 GMT 2025
    - Last Modified: Thu Feb 20 19:53:57 GMT 2020
    - 11.1K bytes
    - Click Count (0)
Back to Top