Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 521 for Klemenz (0.18 sec)

  1. android/guava/src/com/google/common/collect/Multiset.java

       * #add(Object, int) add}{@code (element, 1)} instead.
       *
       * @param element the element to add one occurrence of; may be null only if explicitly allowed by
       *     the implementation
       * @return {@code true} always, since this call is required to modify the multiset, unlike other
       *     {@link Collection} types
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 19.7K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

        /**
         * Returns the number of occurrences of {@code element} in this multiset.
         *
         * @param element the element to look for
         * @return the nonnegative number of occurrences of the element
         */
        @Override
        public int count(@Nullable Object element) {
          try {
            return unbox(countMap.get(element));
          } catch (NullPointerException | ClassCastException e) {
            return 0;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed May 09 15:17:25 GMT 2018
    - 16.6K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

                listener.warning(String.format("Unsupported HTML element <%s>", elementName));
                Element element = document.createElement("UNHANDLED-ELEMENT");
                element.appendChild(document.createTextNode(String.format("<%s>", elementName)));
                nodes.push(element);
                return true;
            }
    
            @Override
            public void onText(String text) {
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 29.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

      }
    
      /**
       * Adds the given element to this queue. If this queue has a maximum size, after adding {@code
       * element} the queue will automatically evict its greatest element (according to its comparator),
       * which may be {@code element} itself.
       *
       * @return {@code true} always
       */
      @CanIgnoreReturnValue
      @Override
      public boolean add(E element) {
        offer(element);
        return true;
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ObjectArrays.java

        T[] result = newArray(array, array.length + 1);
        result[0] = element;
        System.arraycopy(array, 0, result, 1, array.length);
        return result;
      }
    
      /**
       * Returns a new array that appends {@code element} to {@code array}.
       *
       * @param array the array of elements to prepend
       * @param element the element to append to the end
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 12 15:59:22 GMT 2023
    - 9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

       *     Integer#MAX_VALUE} occurrences of {@code element} in this multiset.
       */
      @CanIgnoreReturnValue
      @Override
      public int add(@ParametricNullness E element, int occurrences) {
        if (occurrences == 0) {
          return count(element);
        }
        checkArgument(occurrences > 0, "occurrences cannot be negative: %s", occurrences);
        Count frequency = backingMap.get(element);
        int oldCount;
        if (frequency == null) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/QueueElementTester.java

      public void testElement_empty() {
        try {
          getQueue().element();
          fail("emptyQueue.element() should throw");
        } catch (NoSuchElementException expected) {
        }
        expectUnchanged();
      }
    
      @CollectionSize.Require(ONE)
      public void testElement_size1() {
        assertEquals("size1Queue.element() should return first element", e0(), getQueue().element());
        expectUnchanged();
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 2.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/DescendingImmutableSortedSet.java

      @Override
      @CheckForNull
      public E lower(E element) {
        return forward.higher(element);
      }
    
      @Override
      @CheckForNull
      public E floor(E element) {
        return forward.ceiling(element);
      }
    
      @Override
      @CheckForNull
      public E ceiling(E element) {
        return forward.floor(element);
      }
    
      @Override
      @CheckForNull
      public E higher(E element) {
        return forward.lower(element);
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDescriptionRenderer.java

            for (Element element : classDoc.getComment()) {
                parent.appendChild(document.importNode(element, true));
            }
            NodeList otherContent = classDoc.getClassSection().getChildNodes();
            for (int i = 0; i < otherContent.getLength(); i++) {
                Node child = otherContent.item(i);
                if (child instanceof Element && !((Element) child).getTagName().equals("section")) {
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.1K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SingletonImmutableSet.java

      //
      // Although this reference is non-final, it doesn't change after set creation.
      E element;
    
      SingletonImmutableSet(E element) {
        this.element = checkNotNull(element);
      }
    
      @Override
      public int size() {
        return 1;
      }
    
      @Override
      public UnmodifiableIterator<E> iterator() {
        return Iterators.singletonIterator(element);
      }
    
      @Override
      public boolean contains(@Nullable Object object) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 1.5K bytes
    - Viewed (0)
Back to top