Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,337 for entryAt (1.34 sec)

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

      }
    
      @LazyInit @CheckForNull private transient Set<Entry<K, V>> entrySet;
    
      @Override
      public Set<Entry<K, V>> entrySet() {
        Set<Entry<K, V>> result = entrySet;
        return (result == null) ? entrySet = new EntrySet() : result;
      }
    
      class BiMapEntry extends ForwardingMapEntry<K, V> {
        private final Entry<K, V> delegate;
    
        BiMapEntry(Entry<K, V> delegate) {
          this.delegate = delegate;
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ForwardingNavigableMap.java

      protected Entry<K, V> standardLastEntry() {
        return Iterables.<@Nullable Entry<K, V>>getFirst(descendingMap().entrySet(), null);
      }
    
      /**
       * A sensible definition of {@link #lastKey} in terms of {@code lastEntry}. If you override {@code
       * lastEntry}, you may wish to override {@code lastKey} to forward to this implementation.
       */
      protected K standardLastKey() {
        Entry<K, V> entry = lastEntry();
        if (entry == null) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 15 18:11:44 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ForwardingNavigableMap.java

      protected Entry<K, V> standardLastEntry() {
        return Iterables.<@Nullable Entry<K, V>>getFirst(descendingMap().entrySet(), null);
      }
    
      /**
       * A sensible definition of {@link #lastKey} in terms of {@code lastEntry}. If you override {@code
       * lastEntry}, you may wish to override {@code lastKey} to forward to this implementation.
       */
      protected K standardLastKey() {
        Entry<K, V> entry = lastEntry();
        if (entry == null) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 15 18:11:44 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ForwardingMap.java

       * @since 7.0
       */
      @CheckForNull
      protected V standardRemove(@CheckForNull Object key) {
        Iterator<Entry<K, V>> entryIterator = entrySet().iterator();
        while (entryIterator.hasNext()) {
          Entry<K, V> entry = entryIterator.next();
          if (Objects.equal(entry.getKey(), key)) {
            V value = entry.getValue();
            entryIterator.remove();
            return value;
          }
        }
        return null;
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/ldap/LdapManager.java

                } else {
                    final String entryDN = fessConfig.getLdapAdminRoleSecurityPrincipal(role.getName());
                    final BasicAttributes entry = new BasicAttributes();
                    addRoleAttributes(entry, role);
                    final Attribute oc = fessConfig.getLdapAdminRoleObjectClassAttribute();
                    entry.put(oc);
                    insert(entryDN, entry, adminEnv);
                }
            });
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 65.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

        @SuppressWarnings("unchecked") // Should get a CCE later if cast is wrong
        Entry<?, Object> entry = (Entry<?, Object>) map.entrySet().toArray(new Entry<?, ?>[0])[0];
        assertEquals(TypeToken.of(String.class), entry.getKey());
        assertEquals("test", entry.getValue());
        assertThrows(UnsupportedOperationException.class, () -> entry.setValue(1));
      }
    
      public void testPutAndGetInstance() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/MapsTest.java

        }
        Set<Entry<Number, String>> entries = unmod.entrySet();
        Entry<Number, String> entry = entries.iterator().next();
        try {
          entry.setValue("four");
          fail("UnsupportedOperationException expected");
        } catch (UnsupportedOperationException expected) {
        }
        @SuppressWarnings("unchecked")
        Entry<Integer, String> entry2 = (Entry<Integer, String>) entries.toArray()[0];
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 67.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/FilteredEntryMultimap.java

      }
    
      boolean removeEntriesIf(Predicate<? super Entry<K, Collection<V>>> predicate) {
        Iterator<Entry<K, Collection<V>>> entryIterator = unfiltered.asMap().entrySet().iterator();
        boolean changed = false;
        while (entryIterator.hasNext()) {
          Entry<K, Collection<V>> entry = entryIterator.next();
          K key = entry.getKey();
          Collection<V> collection = filterCollection(entry.getValue(), new ValuePredicate(key));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/systeminfo/AdminSysteminfoAction.java

            for (final Map.Entry<String, String> entry : System.getenv().entrySet()) {
                itemList.add(createItem(entry.getKey(), entry.getValue()));
            }
            return itemList;
        }
    
        public static List<Map<String, String>> getPropItems() {
            final List<Map<String, String>> itemList = new ArrayList<>();
            for (final Map.Entry<Object, Object> entry : System.getProperties().entrySet()) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. platforms/core-configuration/input-tracking/src/test/groovy/org/gradle/internal/configuration/inputs/AccessTrackingPropertiesNonStringTest.groovy

            1 * listener.onAccess('keyWithNonStringValue', NON_STRING_VALUE)
            0 * listener._
        }
    
        def "entrySet() contains(entry(#key, #requestedValue)) and containsAll(entry(#key, #requestedValue)) are tracked for non-strings"() {
            when:
            def containsResult = getMapUnderTestToRead().entrySet().contains(entry(key, requestedValue))
    
            then:
            containsResult == expectedResult
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 14.5K bytes
    - Viewed (0)
Back to top