Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for getEntry (0.19 sec)

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

            }
    
            if (graph == null) {
                return null;
            }
    
            final MetadataGraphVertex entry = graph.getEntry();
            if (entry == null) {
                return null;
            }
    
            if (graph.isEmpty()) {
                throw new GraphConflictResolutionException("graph with an entry, but not vertices do not exist");
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 8.2K bytes
    - Viewed (0)
  2. 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 Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  3. 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 Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11K bytes
    - Viewed (1)
  4. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  5. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/project/ExtensionDescriptorBuilder.java

            ExtensionDescriptor extensionDescriptor = null;
    
            if (extensionJar.isFile()) {
                try (JarFile pluginJar = new JarFile(extensionJar, false)) {
                    ZipEntry pluginDescriptorEntry = pluginJar.getEntry(getExtensionDescriptorLocation());
    
                    if (pluginDescriptorEntry != null) {
                        try (InputStream is = pluginJar.getInputStream(pluginDescriptorEntry)) {
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultClasspathTransformation.java

                    // single entry in the classpath, populated from itself
                    ArtifactMetadata amd = cleanGraph.getEntry().getMd();
                    cpc.add(amd);
                } else {
                    ClasspathGraphVisitor v = new ClasspathGraphVisitor(cleanGraph, cpc);
                    MetadataGraphVertex entry = cleanGraph.getEntry();
                    // entry point
                    v.visit(entry);
                }
    
                return cpc;
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 6.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 Apr 26 12:43:10 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/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)
  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