Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 62 for getElement (0.05 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

            multiset.entrySet(),
            new Multiset.Entry<E>() {
              @Override
              public int getCount() {
                return 1;
              }
    
              @Override
              public E getElement() {
                return sampleElement;
              }
            });
        assertCollectionsAreEquivalent(multiset, copy);
      }
    
      /**
       * Verifies that a multimap is immutable.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

            multiset.entrySet(),
            new Multiset.Entry<E>() {
              @Override
              public int getCount() {
                return 1;
              }
    
              @Override
              public E getElement() {
                return sampleElement;
              }
            });
        assertCollectionsAreEquivalent(multiset, copy);
      }
    
      /**
       * Verifies that a multimap is immutable.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

        CollectorTester.of(
                ImmutableMultiset.<Multiset.Entry<String>, String>toImmutableMultiset(
                    Multiset.Entry::getElement, Multiset.Entry::getCount),
                equivalence)
            .expectCollects(ImmutableMultiset.of())
            .expectCollects(
                ImmutableMultiset.of("a", "a", "b", "c", "c", "c"),
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Multimaps.java

            Multiset.Entry<K> transform(Map.Entry<K, Collection<V>> backingEntry) {
              return new Multisets.AbstractEntry<K>() {
                @Override
                @ParametricNullness
                public K getElement() {
                  return backingEntry.getKey();
                }
    
                @Override
                public int getCount() {
                  return backingEntry.getValue().size();
                }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DocBookBuilder.java

        final Document document;
    
        DocBookBuilder(Document document) {
            this.document = document;
            stack.addFirst(document.createElement("root"));
        }
    
        List<Element> getElements() {
            List<Element> elements = new ArrayList<Element>();
            for (Node node = stack.getLast().getFirstChild(); node != null; node = node.getNextSibling()) {
                elements.add((Element) node);
            }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

              throw PermittedMetaException.UOE;
            }
          } else if (stackWithLastReturnedElementAtTop == null) {
            throw PermittedMetaException.ISE;
          }
        }
    
        private List<E> getElements() {
          List<E> elements = new ArrayList<>();
          Helpers.addAll(elements, previousElements);
          Helpers.addAll(elements, Helpers.reverse(nextElements));
          return elements;
        }
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

              throw PermittedMetaException.UOE;
            }
          } else if (stackWithLastReturnedElementAtTop == null) {
            throw PermittedMetaException.ISE;
          }
        }
    
        private List<E> getElements() {
          List<E> elements = new ArrayList<>();
          Helpers.addAll(elements, previousElements);
          Helpers.addAll(elements, Helpers.reverse(nextElements));
          return elements;
        }
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/CompactHashSet.java

       */
      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) {
        int entriesSize = requireEntries().length;
        if (newSize > entriesSize) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  9. apache-maven/src/main/appended-resources/licenses/EPL-2.0.txt

    Contributor must: a) promptly notify the Commercial Contributor in
    writing of such claim, and b) allow the Commercial Contributor to control,
    and cooperate with the Commercial Contributor in, the defense and any
    related settlement negotiations. The Indemnified Contributor may
    participate in any such claim at its own expense.
    
    For example, a Contributor might include the Program in a commercial
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Jun 04 06:45:16 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

            handler.add(new UnknownHtmlElementHandler(nodes, document, listener));
    
            lexer.visit(handler);
    
            return new DocCommentImpl(nodes.getElements());
        }
    
        private static class DocCommentImpl implements DocComment {
            private final List<Element> nodes;
    
            public DocCommentImpl(List<Element> nodes) {
                this.nodes = nodes;
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed May 21 06:20:45 UTC 2025
    - 29.3K bytes
    - Viewed (0)
Back to top