Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 397 for element (0.38 sec)

  1. guava/src/com/google/common/collect/ForwardingMultiset.java

      @Override
      public int count(@CheckForNull Object element) {
        return delegate().count(element);
      }
    
      @CanIgnoreReturnValue
      @Override
      public int add(@ParametricNullness E element, int occurrences) {
        return delegate().add(element, occurrences);
      }
    
      @CanIgnoreReturnValue
      @Override
      public int remove(@CheckForNull Object element, int occurrences) {
        return delegate().remove(element, occurrences);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Collections2.java

        }
    
        @Override
        public boolean add(@ParametricNullness E element) {
          checkArgument(predicate.apply(element));
          return unfiltered.add(element);
        }
    
        @Override
        public boolean addAll(Collection<? extends E> collection) {
          for (E element : collection) {
            checkArgument(predicate.apply(element));
          }
          return unfiltered.addAll(collection);
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Iterables.java

          Iterable<? extends @Nullable Object> iterable, @CheckForNull Object element) {
        if (iterable instanceof Collection) {
          Collection<?> collection = (Collection<?>) iterable;
          return Collections2.safeContains(collection, element);
        }
        return Iterators.contains(iterable.iterator(), element);
      }
    
      /**
       * Removes, from an iterable, every element that belongs to the provided collection.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

     * elements FIFO (first-in-first-out). The head of the queue is that element that has been
     * on the queue the longest time. The tail of the queue is that element that has been on
     * the queue the shortest time. New elements are inserted at the tail of the queue, and the queue
     * retrieval operations obtain elements at the head of the queue.
     *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/collection/SLinkedList.java

        /**
         * 先頭に追加します。
         *
         * @param element
         *            追加するオブジェクト
         */
        public void addFirst(final E element) {
            header.next.addBefore(element);
        }
    
        /**
         * 最後に追加します。
         *
         * @param element
         *            追加するオブジェクト
         */
        public void addLast(final E element) {
            header.addBefore(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)
  6. guava-tests/test/com/google/common/collect/TableCollectionTest.java

                        List<Integer> columnKeys = Lists.newArrayList();
                        for (Object element : elements) {
                          @SuppressWarnings("unchecked")
                          Cell<String, Integer, Character> cell =
                              (Cell<String, Integer, Character>) element;
                          columnKeys.add(cell.getColumnKey());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/xml/DomUtil.java

        }
    
        /**
         * {@link Element}を文字列に変換します。
         *
         * @param element
         *            要素。{@literal null}であってはいけません
         * @return 変換された文字列
         */
        public static String toString(final Element element) {
            assertArgumentNotNull("element", element);
    
            final StringBuilder buf = new StringBuilder(1000);
            appendElement(element, buf);
            return new String(buf);
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableCollection.java

         * @throws NullPointerException if {@code elements} is null or contains a null element
         */
        @CanIgnoreReturnValue
        public Builder<E> addAll(Iterable<? extends E> elements) {
          for (E element : elements) {
            add(element);
          }
          return this;
        }
    
        /**
         * Adds each element of {@code elements} to the {@code ImmutableCollection} being built.
         *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultInheritanceAssembler.java

                    for (Plugin element : tgt) {
                        Object key = getPluginKey().apply(element);
                        Plugin existing = master.get(key);
                        if (existing != null) {
                            element = mergePlugin(element, existing, sourceDominant, context);
    
                            master.put(key, element);
    
                            if (!pending.isEmpty()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableCollection.java

         * @throws NullPointerException if {@code elements} is null or contains a null element
         */
        @CanIgnoreReturnValue
        public Builder<E> addAll(Iterable<? extends E> elements) {
          for (E element : elements) {
            add(element);
          }
          return this;
        }
    
        /**
         * Adds each element of {@code elements} to the {@code ImmutableCollection} being built.
         *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 18.7K bytes
    - Viewed (1)
Back to top