Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for setEntry (0.65 sec)

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

            }
    
            return count;
        }
    
        // ------------------------------------------------------------------------
        public MetadataGraphVertex getEntry() {
            return entry;
        }
    
        public void setEntry(MetadataGraphVertex entry) {
            this.entry = entry;
        }
    
        public TreeSet<MetadataGraphVertex> getVertices() {
            return vertices;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Oct 05 18:41:13 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  2. 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) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
  3. 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) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  4. 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. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 35.8K bytes
    - Viewed (0)
  5. 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. */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 39.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/collection/SLinkedList.java

         */
        public E get(final int index) {
            return getEntry(index).element;
        }
    
        /**
         * インデックスで指定された位置に要素を設定します。
         *
         * @param index
         *            インデックス
         * @param element
         *            要素
         * @return 元の要素
         */
        public E set(final int index, final E element) {
            final Entry entry = getEntry(index);
            final E oldValue = entry.element;
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11K bytes
    - Viewed (1)
  7. android/guava-tests/test/com/google/common/cache/CacheTesting.java

        }
      }
    
      static <K, V> ReferenceEntry<K, V> getReferenceEntry(Cache<K, V> cache, K key) {
        checkNotNull(cache);
        checkNotNull(key);
        LocalCache<K, V> map = toLocalCache(cache);
        return map.getEntry(key);
      }
    
      /**
       * Forces the segment containing the given {@code key} to expand (see {@link Segment#expand()}).
       */
      static <K, V> void forceExpandSegment(Cache<K, V> cache, K key) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/TreeRangeMap.java

          return range.upperBound;
        }
      }
    
      @Override
      @CheckForNull
      public V get(K key) {
        Entry<Range<K>, V> entry = getEntry(key);
        return (entry == null) ? null : entry.getValue();
      }
    
      @Override
      @CheckForNull
      public Entry<Range<K>, V> getEntry(K key) {
        Entry<Cut<K>, RangeMapEntry<K, V>> mapEntry =
            entriesByLowerBound.floorEntry(Cut.belowValue(key));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 21.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/CacheTesting.java

        }
      }
    
      static <K, V> ReferenceEntry<K, V> getReferenceEntry(Cache<K, V> cache, K key) {
        checkNotNull(cache);
        checkNotNull(key);
        LocalCache<K, V> map = toLocalCache(cache);
        return map.getEntry(key);
      }
    
      /**
       * Forces the segment containing the given {@code key} to expand (see {@link Segment#expand()}).
       */
      static <K, V> void forceExpandSegment(Cache<K, V> cache, K key) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        assertEquals(1, segment.count);
        assertSame(newValue, segment.get(key, hash));
    
        // cleared
        InternalEntry<Object, Object, ?> entry = segment.getEntry(key, hash);
        WeakValueReference<Object, Object, ?> oldValueRef =
            segment.newWeakValueReferenceForTesting(entry, oldValue);
        segment.setWeakValueReferenceForTesting(entry, oldValueRef);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
Back to top