Search Options

Results per page
Sort
Preferred Languages
Advance

Results 591 - 600 of 1,777 for Equals (0.08 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

        @SuppressWarnings("unchecked")
        K k = (K) t;
        int unused = comparator().compare(k, k);
        return t;
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        return delegate.equals(obj);
      }
    
      @Override
      public int hashCode() {
        return delegate.hashCode();
      }
    
      @Override
      public String toString() {
        return delegate.toString();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

            Iterators.removeIf(
                list.iterator(),
                new Predicate<String>() {
                  @Override
                  public boolean apply(String s) {
                    return s.equals("b") || s.equals("d") || s.equals("f");
                  }
                }));
        assertEquals(newArrayList("a", "c", "e"), list);
        assertFalse(
            Iterators.removeIf(
                list.iterator(),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/ConnectionSpecTest.kt

        assertThat(set.add(ConnectionSpec.CLEARTEXT)).isTrue()
        assertThat(set.add(allTlsVersions)).isTrue()
        assertThat(set.add(allCipherSuites)).isTrue()
        allCipherSuites.hashCode()
        assertThat(allCipherSuites.equals(null)).isFalse()
        assertThat(set.remove(ConnectionSpec.MODERN_TLS)).isTrue()
        assertThat(set.remove(ConnectionSpec.COMPATIBLE_TLS))
          .isTrue()
        assertThat(set.remove(ConnectionSpec.CLEARTEXT)).isTrue()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/AbstractMultimap.java

      @WeakOuter
      class EntrySet extends Entries implements Set<Entry<K, V>> {
        @Override
        public int hashCode() {
          return Sets.hashCodeImpl(this);
        }
    
        @Override
        public boolean equals(@CheckForNull Object obj) {
          return Sets.equalsImpl(this, obj);
        }
      }
    
      abstract Iterator<Entry<K, V>> entryIterator();
    
      Spliterator<Entry<K, V>> entrySpliterator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 7.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                    if (getParamValue(localParams, "event.create", "create").equals(eventType)
                            || getParamValue(localParams, "event.modify", "modify").equals(eventType)) {
                        // updated file
                        addDocument(localParams, dataMap);
                    } else if (getParamValue(localParams, "event.delete", "delete").equals(eventType)) {
                        // deleted file
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java

            verifyCrudMode(form.crudMode, CrudMode.DETAILS);
            validate(form, messages -> {}, this::asDetailsHtml);
            getUserBean().ifPresent(u -> {
                if (u.getFessUser() instanceof User && form.name.equals(u.getUserId())) {
                    throwValidationError(messages -> messages.addErrorsCouldNotDeleteLoggedInUser(GLOBAL), this::asDetailsHtml);
                }
            });
            verifyToken(this::asDetailsHtml);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/validation/DefaultModelValidator.java

            SimpleModelProblemCollector(ModelValidationResult result) {
                this.result = result;
            }
    
            public void add(ModelProblemCollectorRequest req) {
                if (!ModelProblem.Severity.WARNING.equals(req.getSeverity())) {
                    result.addMessage(req.getMessage());
                }
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/RangeSet.java

        }
      }
    
      // Object methods
    
      /**
       * Returns {@code true} if {@code obj} is another {@code RangeSet} that contains the same ranges
       * according to {@link Range#equals(Object)}.
       */
      @Override
      boolean equals(@CheckForNull Object obj);
    
      /** Returns {@code asRanges().hashCode()}. */
      @Override
      int hashCode();
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/EdgesConnecting.java

        return getConnectingEdge() == null ? 0 : 1;
      }
    
      @Override
      public boolean contains(@CheckForNull Object edge) {
        E connectingEdge = getConnectingEdge();
        return (connectingEdge != null && connectingEdge.equals(edge));
      }
    
      @CheckForNull
      private E getConnectingEdge() {
        return nodeToOutEdge.get(targetNode);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java

      @AndroidIncompatible // Reflection bug, or actual binary compatibility problem?
      public void testElementSetBridgeMethods() {
        for (Method m : TreeMultiset.class.getMethods()) {
          if (m.getName().equals("elementSet") && m.getReturnType().equals(SortedSet.class)) {
            return;
          }
        }
        fail("No bridge method found");
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
Back to top