Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for setEntry (0.29 sec)

  1. maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultClasspathTransformationTestType.java

            /*
             *       v2
             *   v1<
             *       v3-v4
             *
             */
            v1 = graph.addVertex(new ArtifactMetadata("g", "a1", "1.0"));
            graph.setEntry(v1);
            v2 = graph.addVertex(new ArtifactMetadata("g", "a2", "1.0"));
            v3 = graph.addVertex(new ArtifactMetadata("g", "a3", "1.0"));
            v4 = graph.addVertex(new ArtifactMetadata("g", "a4", "1.0"));
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolverTest.java

             *       v2
             *   v1<
             *      v3-v4
             *
             */
            graph = new MetadataGraph(4, 3);
            v1 = graph.addVertex(new ArtifactMetadata("g", "a1", "1.0"));
            graph.setEntry(v1);
            v2 = graph.addVertex(new ArtifactMetadata("g", "a2", "1.0"));
            v3 = graph.addVertex(new ArtifactMetadata("g", "a3", "1.0"));
            v4 = graph.addVertex(new ArtifactMetadata("g", "a4", "1.0"));
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

            list.addLast("1");
            list.addLast("2");
            list.addLast("3");
            assertThat(list.getEntry(0).getElement(), is("1"));
            assertThat(list.getEntry(1).getElement(), is("2"));
            assertThat(list.getEntry(2).getElement(), is("3"));
            try {
                list.getEntry(-1);
                fail();
            } catch (final ClIndexOutOfBoundsException ex) {
                System.out.println(ex);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8.3K 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/src/com/google/common/collect/RegularImmutableSortedMultiset.java

      }
    
      @Override
      Entry<E> getEntry(int index) {
        return Multisets.immutableEntry(elementSet.asList().get(index), getCount(index));
      }
    
      @Override
      @CheckForNull
      public Entry<E> firstEntry() {
        return isEmpty() ? null : getEntry(0);
      }
    
      @Override
      @CheckForNull
      public Entry<E> lastEntry() {
        return isEmpty() ? null : getEntry(length - 1);
      }
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  8. 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)
  9. android/guava/src/com/google/common/collect/RegularImmutableMultiset.java

        @J2ktIncompatible // serialization
        @GwtIncompatible // serialization
        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;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  10. 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)
Back to top