Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for removeFirst (0.17 sec)

  1. android/guava-tests/test/com/google/common/collect/ListsTest.java

                    CollectionSize.SEVERAL,
                    CollectionFeature.SERIALIZABLE,
                    CollectionFeature.ALLOWS_NULL_VALUES)
                .createTestSuite());
    
        final Function<String, String> removeFirst = new RemoveFirstFunction();
    
        suite.addTest(
            ListTestSuiteBuilder.using(
                    new TestStringListGenerator() {
                      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/Traverser.java

                 */
                requireNonNull(element);
                if (visited.add(element)) {
                  return element;
                }
              }
              horizon.removeFirst();
              return null;
            }
          };
        }
    
        static <N> Traversal<N> inTree(SuccessorsFunction<N> tree) {
          return new Traversal<N>(tree) {
            @CheckForNull
            @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 30 20:12:45 GMT 2023
    - 19.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ListsTest.java

                    CollectionSize.SEVERAL,
                    CollectionFeature.SERIALIZABLE,
                    CollectionFeature.ALLOWS_NULL_VALUES)
                .createTestSuite());
    
        final Function<String, String> removeFirst = new RemoveFirstFunction();
    
        suite.addTest(
            ListTestSuiteBuilder.using(
                    new TestStringListGenerator() {
                      @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/Closer.java

       */
      @Override
      public void close() throws IOException {
        Throwable throwable = thrown;
    
        // close closeables in LIFO order
        while (!stack.isEmpty()) {
          Closeable closeable = stack.removeFirst();
          try {
            closeable.close();
          } catch (Throwable e) {
            if (throwable == null) {
              throwable = e;
            } else {
              suppressor.suppress(closeable, throwable, e);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

        return poll();
      }
    
      /**
       * Removes and returns the least element of this queue.
       *
       * @throws NoSuchElementException if the queue is empty
       */
      @CanIgnoreReturnValue
      public E removeFirst() {
        return remove();
      }
    
      /**
       * Retrieves, but does not remove, the least element of this queue, or returns {@code null} if the
       * queue is empty.
       */
      @CheckForNull
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
Back to top