Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 187 for Adds (0.01 sec)

  1. android/guava/src/com/google/common/graph/MutableGraph.java

    /**
     * A subinterface of {@link Graph} which adds mutation methods. When mutation is not required, users
     * should prefer the {@link Graph} interface.
     *
     * @author James Sexton
     * @author Joshua O'Madadhain
     * @param <N> Node parameter type
     * @since 20.0
     */
    @Beta
    public interface MutableGraph<N> extends Graph<N> {
    
      /**
       * Adds {@code node} if it is not already present.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableList.java

         * ImmutableList#builder}.
         */
        public Builder() {
          this(DEFAULT_INITIAL_CAPACITY);
        }
    
        Builder(int capacity) {
          super(capacity);
        }
    
        /**
         * Adds {@code element} to the {@code ImmutableList}.
         *
         * @param element the element to add
         * @return this {@code Builder} object
         * @throws NullPointerException if {@code element} is null
         */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/QueryHelper.java

         */
        public String generateId() {
            return UUID.randomUUID().toString().replace("-", StringUtil.EMPTY);
        }
    
        /**
         * Adds a boost function to modify document scoring during search.
         * This method adds a boost function that applies to all documents.
         *
         * @param scoreFunction the score function to add for boosting
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/math/PairedStatsAccumulator.java

      // stat methods of this class.
      private final StatsAccumulator xStats = new StatsAccumulator();
      private final StatsAccumulator yStats = new StatsAccumulator();
      private double sumOfProductsOfDeltas = 0.0;
    
      /** Adds the given pair of values to the dataset. */
      public void add(double x, double y) {
        // We extend the recursive expression for the one-variable case at Art of Computer Programming
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/ingest/IngestFactory.java

        private Ingester[] ingesters = {};
    
        /**
         * Default constructor.
         */
        public IngestFactory() {
            // Default constructor
        }
    
        /**
         * Adds an ingester to the factory.
         * The ingester is inserted into the collection and the array is re-sorted by priority.
         * This method is thread-safe.
         *
         * @param ingester the ingester to add
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

          double prev = 0.0;
          for (double x : VALUES) {
            assertBitEquals(prev, aa.getAndSet(i, x));
            prev = x;
          }
        }
      }
    
      /** getAndAdd returns previous value and adds given value */
      public void testGetAndAdd() {
        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int i : new int[] {0, SIZE - 1}) {
          for (double x : VALUES) {
            for (double y : VALUES) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/collection/SLinkedList.java

            header.previous.remove();
            return last;
        }
    
        /**
         * Adds an element at the beginning.
         *
         * @param element the object to be added
         */
        public void addFirst(final E element) {
            header.next.addBefore(element);
        }
    
        /**
         * Adds an element at the end.
         *
         * @param element the object to be added
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/ImmutableValueGraph.java

          // modify this builder, so we make a copy instead.
          this.mutableValueGraph =
              graphBuilder.copy().incidentEdgeOrder(ElementOrder.<N>stable()).build();
        }
    
        /**
         * Adds {@code node} if it is not already present.
         *
         * <p><b>Nodes must be unique</b>, just as {@code Map} keys must be. They must also be non-null.
         *
         * @return this {@code Builder} object
         */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/MapRetrievalCache.java

    package com.google.common.graph;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    
    import java.util.Map;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link MapIteratorCache} that adds additional caching. In addition to the caching provided by
     * {@link MapIteratorCache}, this structure caches values for the two most recently retrieved keys.
     *
     * @author James Sexton
     */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/NetworkConnections.java

      @CanIgnoreReturnValue
      N removeOutEdge(E edge);
    
      /**
       * Add {@code edge} to the set of incoming edges. Implicitly adds {@code node} as a predecessor.
       */
      void addInEdge(E edge, N node, boolean isSelfLoop);
    
      /** Add {@code edge} to the set of outgoing edges. Implicitly adds {@code node} as a successor. */
      void addOutEdge(E edge, N node);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top