Search Options

Results per page
Sort
Preferred Languages
Advance

Results 591 - 600 of 1,926 for add (0.01 sec)

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

      /** Constructor for use by subclasses. */
      protected ForwardingListIterator() {}
    
      @Override
      protected abstract ListIterator<E> delegate();
    
      @Override
      public void add(@ParametricNullness E element) {
        delegate().add(element);
      }
    
      @Override
      public boolean hasPrevious() {
        return delegate().hasPrevious();
      }
    
      @Override
      public int nextIndex() {
        return delegate().nextIndex();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/ListMultimapPutTester.java

            resetContainer();
    
            List<V> values = multimap().get(key);
            List<V> expectedValues = copyToList(values);
    
            assertTrue(multimap().put(key, value));
            expectedValues.add(value);
    
            assertGet(key, expectedValues);
            assertEquals(value, values.get(values.size() - 1));
          }
        }
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/GraphConnections.java

       */
      @CanIgnoreReturnValue
      @Nullable V removeSuccessor(N node);
    
      /**
       * Add {@code node} as a predecessor to the origin node. In the case of an undirected graph, it
       * also becomes a successor. Associates {@code value} with the edge connecting the two nodes.
       */
      void addPredecessor(N node, V value);
    
      /**
       * Add {@code node} as a successor to the origin node. In the case of an undirected graph, it also
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

              internalExecuteAndCompare(reference, target, PREVIOUS_METHOD);
            }
          };
      Stimulus<E, ListIterator<E>> add =
          new Stimulus<E, ListIterator<E>>("add") {
            @Override
            void executeAndCompare(ListIterator<E> reference, ListIterator<E> target) {
              internalExecuteAndCompare(reference, target, newAddMethod());
            }
          };
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/CharSourceTest.java

                  final List<String> list = new ArrayList<>();
    
                  @Override
                  public boolean processLine(String line) throws IOException {
                    list.add(line);
                    return true;
                  }
    
                  @Override
                  public List<String> getResult() {
                    return list;
                  }
                });
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/ClassPathUtil.java

        for (String entry : Splitter.on(PATH_SEPARATOR.value()).split(JAVA_CLASS_PATH.value())) {
          try {
            try {
              urls.add(new File(entry).toURI().toURL());
            } catch (SecurityException e) { // File.toURI checks to see if the file is a directory
              urls.add(new URL("file", null, new File(entry).getAbsolutePath()));
            }
          } catch (MalformedURLException e) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

            } else {
                searchLog.setVirtualHost(StringUtil.EMPTY);
            }
    
            addDocumentsInResponse(queryResponseList, searchLog);
    
            searchLogQueue.add(searchLog);
        }
    
        /**
         * Adds documents in the response to the search log.
         *
         * @param queryResponseList The list of query responses.
         * @param searchLog The search log.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 26.3K bytes
    - Viewed (0)
  8. internal/lru/lru.go

    		c.removeFromBucket(ent) // remove the entry from its current bucket as expiresAt is renewed
    		ent.Value = value
    		ent.ExpiresAt = now.Add(c.ttl)
    		c.addToBucket(ent)
    		return false
    	}
    
    	// Add new item
    	ent := c.evictList.PushFrontExpirable(key, value, now.Add(c.ttl))
    	c.items[key] = ent
    	c.addToBucket(ent) // adds the entry to the appropriate bucket and sets entry.expireBucket
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/LinkedListMultimap.java

          if (next == null) {
            throw new NoSuchElementException();
          }
          current = next;
          seenKeys.add(current.getKey());
          do { // skip ahead to next unseen key
            next = next.next;
          } while ((next != null) && !seenKeys.add(next.getKey()));
          return current.getKey();
        }
    
        @Override
        public void remove() {
          checkForConcurrentModification();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

            final String executeType = System.getProperty("lasta.env");
            if (Constants.EXECUTE_TYPE_CRAWLER.equalsIgnoreCase(executeType)) {
                ptList.add(Constants.PROCESS_TYPE_REPLACE);
            } else {
                ptList.add(Constants.PROCESS_TYPE_DISPLAYING);
                ptList.add(Constants.PROCESS_TYPE_BOTH);
            }
            return ptList;
        }
    
        /**
         * Sets the path mapping list for a session.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top