Search Options

Results per page
Sort
Preferred Languages
Advance

Results 631 - 640 of 1,225 for equalTo (0.89 sec)

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

      }
    
      private final class EntrySet extends Entries implements Set<Entry<K, V>> {
        @Override
        public int hashCode() {
          return Sets.hashCodeImpl(this);
        }
    
        @Override
        public boolean equals(@Nullable Object o) {
          return Sets.equalsImpl(this, o);
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

     * Comparator} or {@link Comparable} type whose comparison behavior is <i>inconsistent with
     * equals</i>. That is, {@code a.compareTo(b)} or {@code comparator.compare(a, b)} should equal zero
     * <i>if and only if</i> {@code a.equals(b)}. If this advice is not followed, the resulting
     * collection will not correctly obey its specification.
     *
     * <p>See the Guava User Guide article on <a href=
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java

        Map<String, Integer> unfiltered = createUnfiltered();
        unfiltered.put("cat", 3);
        unfiltered.put("dog", 2);
        unfiltered.put("horse", 5);
        Predicate<Entry<?, ?>> predicate = e -> e.getKey().equals("cat") || e.getValue().equals(2);
        Map<String, Integer> filtered = Maps.filterEntries(unfiltered, predicate);
        assertEquals(ImmutableMap.of("cat", 3, "dog", 2), filtered);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/SingletonImmutableSet.java

        this.element = Preconditions.checkNotNull(element);
      }
    
      @Override
      public int size() {
        return 1;
      }
    
      @Override
      public boolean contains(@Nullable Object target) {
        return element.equals(target);
      }
    
      @Override
      public UnmodifiableIterator<E> iterator() {
        return singletonIterator(element);
      }
    
      @Override
      public ImmutableList<E> asList() {
        return ImmutableList.of(element);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/lang/AnnotationUtil.java

            if (methodDesc == null) {
                return null;
            }
            final Object value = methodDesc.invoke(annotation);
            if (value == null || "".equals(value)) {
                return null;
            }
            return value;
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java

            }
    
            private String convertToJapaneseReading(String term) {
                // Simple simulation of Japanese reading conversion
                if ("東京".equals(term)) {
                    return "トウキョウ";
                } else if ("大阪".equals(term)) {
                    return "オオサカ";
                } else {
                    return term.toUpperCase();
                }
            }
        }
    
        /**
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t05/ProjectInheritanceTest.java

                System.out.println("Artifact: " + artifact.getDependencyConflictId() + " " + artifact.getVersion()
                        + " Scope: " + artifact.getScope());
                assertTrue(
                        artifact.getVersion().equals("1.0"), "Incorrect version for " + artifact.getDependencyConflictId());
            }
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractBehavior.java

                return parent.retainAll(c);
            }
    
            public void clear() {
                parent.clear();
            }
    
            public boolean equals(final Object o) {
                return parent.equals(o);
            }
    
            public int hashCode() {
                return parent.hashCode();
            }
    
            public E get(final int index) {
                return parent.get(index);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jun 21 04:02:44 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/filter/CorsFilter.java

                final CorsHandler handler = factory.get(origin);
                if (handler != null) {
                    handler.process(origin, request, response);
    
                    if (OPTIONS.equals(httpRequest.getMethod())) {
                        final HttpServletResponse httpResponse = (HttpServletResponse) response;
                        httpResponse.setStatus(HttpServletResponse.SC_ACCEPTED);
                        return;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/ForwardingExecutorServiceTest.java

      }
    
      private static boolean isAndroid() {
        return System.getProperty("java.runtime.name", "").contains("Android");
      }
    
      private static boolean isBeforeJava19() {
        return JAVA_SPECIFICATION_VERSION.value().equals("1.8")
            || parseInt(JAVA_SPECIFICATION_VERSION.value()) < 19;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 18:45:52 UTC 2025
    - 2.7K bytes
    - Viewed (0)
Back to top