Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for setEntry (0.24 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/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java

                res.setVersionedVertices(false);
                res.setScopedVertices(false);
    
                MetadataGraphVertex resEntry = res.addVertex(entry.getMd());
                res.setEntry(resEntry);
    
                res.setScope(requestedScope);
    
                for (MetadataGraphVertex v : vertices) {
                    final List<MetadataGraphEdge> ins = graph.getIncidentEdges(v);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 8.2K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top