Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for setEntry (0.04 sec)

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

      }
    
      /**
       * Creates a fresh entry with the specified object at the specified position in the entry arrays.
       */
      void insertEntry(int entryIndex, @ParametricNullness E object, int hash, int mask) {
        setEntry(entryIndex, CompactHashing.maskCombine(hash, UNSET, mask));
        setElement(entryIndex, object);
      }
    
      /** Resizes the entries storage if necessary. */
      private void resizeMeMaybe(int newSize) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/CompactHashMap.java

       */
      void insertEntry(
          int entryIndex, @ParametricNullness K key, @ParametricNullness V value, int hash, int mask) {
        this.setEntry(entryIndex, CompactHashing.maskCombine(hash, UNSET, mask));
        this.setKey(entryIndex, key);
        this.setValue(entryIndex, value);
      }
    
      /** Resizes the entries storage if necessary. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/CompactHashMap.java

       */
      void insertEntry(
          int entryIndex, @ParametricNullness K key, @ParametricNullness V value, int hash, int mask) {
        this.setEntry(entryIndex, CompactHashing.maskCombine(hash, UNSET, mask));
        this.setKey(entryIndex, key);
        this.setValue(entryIndex, value);
      }
    
      /** Resizes the entries storage if necessary. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/collection/SLinkedList.java

         */
        public E get(final int index) {
            return getEntry(index).element;
        }
    
        /**
         * Sets the element at the specified position.
         *
         * @param index the index
         * @param element the element
         * @return the original element
         */
        public E set(final int index, final E element) {
            final Entry entry = getEntry(index);
            final E oldValue = entry.element;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/TreeRangeMap.java

          return getKey().upperBound;
        }
      }
    
      @Override
      public @Nullable V get(K key) {
        Entry<Range<K>, V> entry = getEntry(key);
        return (entry == null) ? null : entry.getValue();
      }
    
      @Override
      public @Nullable Entry<Range<K>, V> getEntry(K key) {
        Entry<Cut<K>, RangeMapEntry<K, V>> mapEntry =
            entriesByLowerBound.floorEntry(Cut.belowValue(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)
  6. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

          for (int i = 0; i < SMALL_MAX_SIZE; i++) {
            Object key = new Object();
            int hash = map.hash(key);
    
            map.get(key, loader);
            ReferenceEntry<Object, Object> entry = segment.getEntry(key, hash);
            writeOrder.add(entry);
            readOrder.add(entry);
          }
    
          checkEvictionQueues(map, segment, readOrder, writeOrder);
          checkExpirationTimes(map);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/RegularImmutableMultiset.java

        @Override
        @GwtIncompatible
        @J2ktIncompatible
            Object writeReplace() {
          return super.writeReplace();
        }
      }
    
      @Override
      Entry<E> getEntry(int index) {
        return contents.getEntry(index);
      }
    
      @GwtIncompatible
      private static class SerializedForm implements Serializable {
        final Object[] elements;
        final int[] counts;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ArrayTable.java

            @Override
            protected Entry<K, V> get(int index) {
              return getEntry(index);
            }
          };
        }
    
        @Override
        Spliterator<Entry<K, V>> entrySpliterator() {
          return CollectSpliterators.indexed(size(), Spliterator.ORDERED, this::getEntry);
        }
    
        // TODO(lowasser): consider an optimized values() implementation
    
        @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)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableMultiset.java

      public int count(@Nullable Object element) {
        throw new AssertionError();
      }
    
      @Override
      public ImmutableSet<E> elementSet() {
        throw new AssertionError();
      }
    
      @Override
      Entry<E> getEntry(int index) {
        throw new AssertionError();
      }
    
      @Override
      boolean isPartialView() {
        throw new AssertionError();
      }
    
      @Override
      public int size() {
        throw new AssertionError();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableMultiset.java

      }
    
      abstract Entry<E> getEntry(int index);
    
      @WeakOuter
      private final class EntrySet extends IndexedImmutableSet<Entry<E>> {
        @Override
        boolean isPartialView() {
          return ImmutableMultiset.this.isPartialView();
        }
    
        @Override
        Entry<E> get(int index) {
          return getEntry(index);
        }
    
        @Override
        public int size() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
Back to top