Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 110 for getKeys (0.53 sec)

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

          this.samples =
              new SampleElements<>(
                  mapSamples.e0().getKey(),
                  mapSamples.e1().getKey(),
                  mapSamples.e2().getKey(),
                  mapSamples.e3().getKey(),
                  mapSamples.e4().getKey());
        }
    
        @Override
        public SampleElements<K> samples() {
          return samples;
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ArrayTable.java

        }
    
        Entry<K, V> getEntry(int index) {
          checkElementIndex(index, size());
          return new AbstractMapEntry<K, V>() {
            @Override
            public K getKey() {
              return ArrayMap.this.getKey(index);
            }
    
            @Override
            @ParametricNullness
            public V getValue() {
              return ArrayMap.this.getValue(index);
            }
    
            @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 19:39:21 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java

            assertTrue(result);
            assertEquals(1, chain.changePasswordCalls.size());
            assertEquals("testuser", chain.changePasswordCalls.get(0).getKey());
            assertEquals("newpassword123", chain.changePasswordCalls.get(0).getValue());
        }
    
        // Test changePassword with failure
        public void test_changePassword_failure() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/TreeRangeMap.java

        RangeMapEntry(Range<K> range, V value) {
          super(range, value);
        }
    
        boolean contains(K value) {
          return getKey().contains(value);
        }
    
        Cut<K> getLowerBound() {
          return getKey().lowerBound;
        }
    
        Cut<K> getUpperBound() {
          return getKey().upperBound;
        }
      }
    
      @Override
      public @Nullable V get(K key) {
        Entry<Range<K>, V> entry = getEntry(key);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 22.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/util/DocMapTest.java

            docMap.put("banana", "value3");
    
            Set<Map.Entry<String, Object>> entrySet = docMap.entrySet();
            assertEquals(4, entrySet.size());
    
            String[] keys = entrySet.stream().map(Map.Entry::getKey).toArray(String[]::new);
    
            boolean langFirst = "lang".equals(keys[0]);
            assertTrue("lang should be first or sorted normally", langFirst || Arrays.asList(keys).contains("lang"));
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

            // don't let the new entry get GCed
            warmed.add(entryOf(entry.getKey(), newValue));
            Object newKey = new Object();
            assertNull(cache.asMap().put(newKey, entry.getValue()));
            // this getUnchecked() call shouldn't be a cache miss; verified below
            assertEquals(newValue, cache.getUnchecked(entry.getKey()));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

        public int compare(Entry<K, V> a, Entry<K, V> b) {
          return (keyComparator == null)
              ? ((Comparable) a.getKey()).compareTo(b.getKey())
              : keyComparator.compare(a.getKey(), b.getKey());
        }
      }
    
      public static <K extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

            return ImmutableMap.<K, V>of(entry.getKey(), entry.getValue());
          default:
            Map<K, V> orderPreservingCopy = Maps.newLinkedHashMap();
            for (Entry<? extends K, ? extends V> e : map.entrySet()) {
              orderPreservingCopy.put(checkNotNull(e.getKey()), checkNotNull(e.getValue()));
            }
            return new RegularImmutableMap<K, V>(orderPreservingCopy);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  9. android/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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 43.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/RegularImmutableMap.java

          // requireNonNull is safe because the first `n` elements have been filled in.
          Entry<K, V> entry = requireNonNull(entryArray[entryIndex]);
          K key = entry.getKey();
          V value = entry.getValue();
          checkEntryNotNull(key, value);
          int tableIndex = Hashing.smear(key.hashCode()) & mask;
          ImmutableMapEntry<K, V> keyBucketHead = table[tableIndex];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top