Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1281 - 1290 of 1,801 for equals (0.05 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java

                    final MetadataGraphEdge edge = cleanEdges(v, ins, requestedScope);
    
                    if (edge == null) { // no edges - don't need this vertex anymore
                        if (entry.equals(v)) { // unless it's an entry point.
                            // currently processing the entry point - it should not have any entry incident edges
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/witness/MockWitnessService.java

            int affectedRegistrations = 0;
            for (MockRegistration reg : registrations.values()) {
                if (reg.shareName.equalsIgnoreCase(resourceName) || reg.serverAddress.equals(resourceName)) {
                    affectedRegistrations++;
                }
            }
    
            log.debug("Notification affects {} registrations", affectedRegistrations);
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

          assertFalse(
              "Should not contain key " + entry.getKey() + " mapped to value " + entry.getValue(),
              equal(getMap().get(entry.getKey()), entry.getValue()));
        }
      }
    
      private static boolean equal(@Nullable Object a, @Nullable Object b) {
        return a == b || (a != null && a.equals(b));
      }
    
      // This one-liner saves us from some ugly casts
      protected Entry<K, V> entry(K key, V value) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/opensearch/common/ImplementedInvokerAssistantTest.java

        }
    
        // Helper method to check if array contains a value
        private boolean containsValue(String[] array, String value) {
            for (String element : array) {
                if (element.equals(value)) {
                    return true;
                }
            }
            return false;
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  5. guava/src/com/google/common/cache/LocalCache.java

        public V getValue() {
          return value;
        }
    
        @Override
        public boolean equals(@Nullable Object object) {
          // Cannot use key and value equivalence
          if (object instanceof Entry) {
            Entry<?, ?> that = (Entry<?, ?>) object;
            return key.equals(that.getKey()) && value.equals(that.getValue());
          }
          return false;
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 148.9K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

                  K key = entry.getKey();
                  Collection<V> collection =
                      filterCollection(entry.getValue(), new ValuePredicate(key));
                  if (!collection.isEmpty() && c.equals(collection)) {
                    if (collection.size() == entry.getValue().size()) {
                      entryIterator.remove();
                    } else {
                      collection.clear();
                    }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

                                @Override
                                public String setValue(String value) {
                                    String old = entry.setValue(value);
                                    if (old == null || !old.equals(value)) {
                                        Layout l = layout.get(entry.getKey());
                                        if (l != null) {
                                            l.clearValue();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 38.4K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

                                @Override
                                public String setValue(String value) {
                                    String old = entry.setValue(value);
                                    if (old == null || !old.equals(value)) {
                                        Layout l = layout.get(entry.getKey());
                                        if (l != null) {
                                            l.clearValue();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 09:03:48 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/RegularImmutableMultiset.java

        int hash = smearedHash(element);
        int mask = hashTable.length - 1;
        for (ImmutableEntry<?> entry = hashTable[hash & mask];
            entry != null;
            entry = entry.nextInBucket()) {
          if (Objects.equals(element, entry.getElement())) {
            return entry.getCount();
          }
        }
        return 0;
      }
    
      @Override
      public int size() {
        return size;
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/RegularImmutableTable.java

          if (object instanceof Cell) {
            Cell<?, ?, ?> cell = (Cell<?, ?, ?>) object;
            Object value = RegularImmutableTable.this.get(cell.getRowKey(), cell.getColumnKey());
            return value != null && value.equals(cell.getValue());
          }
          return false;
        }
    
        @Override
        boolean isPartialView() {
          return false;
        }
    
        // redeclare to help optimizers with b/310253115
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 7K bytes
    - Click Count (0)
Back to Top