Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 439 for setKey (0.08 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/MapHashCodeTester.java

                + "a null element in an entry counts as having a hash of zero).",
            expectedHashCode,
            getMap().hashCode());
      }
    
      private static int hash(Entry<?, ?> e) {
        return (e.getKey() == null ? 0 : e.getKey().hashCode())
            ^ (e.getValue() == null ? 0 : e.getValue().hashCode());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. docs/de/docs/advanced/additional-status-codes.md

    Um dies zu erreichen, importieren Sie `JSONResponse`, und geben Sie Ihren Inhalt direkt zurück, indem Sie den gewünschten `status_code` setzen:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="4  25"
    {!> ../../docs_src/additional_status_codes/tutorial001_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="4  25"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/MapHashCodeTester.java

                + "a null element in an entry counts as having a hash of zero).",
            expectedHashCode,
            getMap().hashCode());
      }
    
      private static int hash(Entry<?, ?> e) {
        return (e.getKey() == null ? 0 : e.getKey().hashCode())
            ^ (e.getValue() == null ? 0 : e.getValue().hashCode());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        assertFalse("heap contains larry which has been removed", mmHeap.contains("larry"));
        assertTrue("heap does not contain sergey", mmHeap.contains("sergey"));
        assertTrue("Could not remove larry", mmHeap.removeAll(Lists.newArrayList("sergey", "eric")));
        assertFalse("Could remove nikesh which is not in the heap", mmHeap.remove("nikesh"));
        assertEquals(4, mmHeap.size());
      }
    
      public void testCreateWithOrdering() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

            Iterator entries = requestProperties.entrySet().iterator();
            while (entries.hasNext()) {
                Map.Entry entry = (Map.Entry) entries.next();
                if (key.equalsIgnoreCase((String) entry.getKey())) {
                    entry.setValue(values);
                    found = true;
                    break;
                }
            }
            if (!found) requestProperties.put(key, values);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 20.4K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          int expectedEntrySetHash = 0;
          for (Entry<K, V> entry : entrySet) {
            assertTrue(map.containsKey(entry.getKey()));
            assertTrue(map.containsValue(entry.getValue()));
            int expectedHash =
                (entry.getKey() == null ? 0 : entry.getKey().hashCode())
                    ^ (entry.getValue() == null ? 0 : entry.getValue().hashCode());
            assertEquals(expectedHash, entry.hashCode());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

          ImmutableList.Builder<V> valuesBuilder = new ImmutableList.Builder<>(entries.size());
          for (int i = 0; i < entries.size(); i++) {
            Range<K> range = entries.get(i).getKey();
            if (i > 0) {
              Range<K> prevRange = entries.get(i - 1).getKey();
              if (range.isConnected(prevRange) && !range.intersection(prevRange).isEmpty()) {
                throw new IllegalArgumentException(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ExtraAttributeDoc.groovy

            this.titleCell = titleCell
            this.valueCell = valueCell
        }
    
        @Override
        String toString() {
            return "attribute[key: $key, value: $valueCell.textContent]"
        }
    
        String getKey() {
            return titleCell.textContent
        }
    
        List<Node> getTitle() {
            return titleCell.childNodes.collect { it }
        }
    
        List<Node> getValue() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java

        public boolean equals(@Nullable Object object) {
          assertTrue(Thread.holdsLock(mutex));
          return super.equals(object);
        }
    
        @Override
        public K getKey() {
          assertTrue(Thread.holdsLock(mutex));
          return super.getKey();
        }
    
        @Override
        public V getValue() {
          assertTrue(Thread.holdsLock(mutex));
          return super.getValue();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

            }
    
            private void putAll(Map<String, String> s, Map<String, String> t, Object excludeKey) {
                for (Map.Entry<String, String> e : t.entrySet()) {
                    if (!e.getKey().equals(excludeKey)) {
                        s.put(e.getKey(), e.getValue());
                    }
                }
            }
    
            @Override
            protected void mergePluginContainer_Plugins(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top