Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 108 for previous (0.27 sec)

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

          protected @Nullable Integer computeNext(Integer previous) {
            return (previous == last) ? null : previous * 2;
          }
        };
      }
    
      private static class EmptyAbstractSequentialIterator<T> extends AbstractSequentialIterator<T> {
    
        public EmptyAbstractSequentialIterator() {
          super(null);
        }
    
        @Override
        protected T computeNext(T previous) {
          throw new AssertionFailedError();
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 17:19:08 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Cut.java

          switch (boundType) {
            case CLOSED:
              return this;
            case OPEN:
              C previous = domain.previous(endpoint);
              return (previous == null) ? Cut.<C>belowAll() : new AboveValue<C>(previous);
            default:
              throw new AssertionError();
          }
        }
    
        @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/DiscreteDomain.java

       *     minValue()}
       */
      @CheckForNull
      public abstract C previous(C value);
    
      /**
       * Returns a signed value indicating how many nested invocations of {@link #next} (if positive) or
       * {@link #previous} (if negative) are needed to reach {@code end} starting from {@code start}.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/UnmodifiableListIteratorTest.java

      public void testAdd() {
        ListIterator<String> iterator = create();
    
        assertTrue(iterator.hasNext());
        assertEquals("a", iterator.next());
        assertEquals("b", iterator.next());
        assertEquals("b", iterator.previous());
        try {
          iterator.add("c");
          fail();
        } catch (UnsupportedOperationException expected) {
        }
      }
    
      @SuppressWarnings("DoNotCall")
      public void testSet() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/DiscreteDomain.java

       *     minValue()}
       */
      @CheckForNull
      public abstract C previous(C value);
    
      /**
       * Returns a signed value indicating how many nested invocations of {@link #next} (if positive) or
       * {@link #previous} (if negative) are needed to reach {@code end} starting from {@code start}.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

            }
          };
      Stimulus<E, ListIterator<E>> previous =
          new Stimulus<E, ListIterator<E>>("previous") {
            @Override
            void executeAndCompare(ListIterator<E> reference, ListIterator<E> target) {
              internalExecuteAndCompare(reference, target, PREVIOUS_METHOD);
            }
          };
      Stimulus<E, ListIterator<E>> add =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  7. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

            /**
             * Run at the beginning of each build. Kill potentially leaked processes in previous builds.
             * Only kill local Gradle processes (classpath in checkout directory).
             * Not clean up global Gradle processes (i.e. classpath in ~/.gradle/...).
             */
            KILL_LEAKED_PROCESSES_FROM_PREVIOUS_BUILDS,
            /**
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 26 09:46:00 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

            while (!aa.weakCompareAndSet(i, prev, x)) {
              ;
            }
            assertBitEquals(x, aa.get(i));
            prev = x;
          }
        }
      }
    
      /** getAndSet returns previous value and sets to given value at given index */
      public void testGetAndSet() {
        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int i : new int[] {0, SIZE - 1}) {
          double prev = 0.0;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/RegularContiguousSet.java

          final C first = first();
    
          @Override
          @CheckForNull
          protected C computeNext(C previous) {
            return equalsOrThrow(previous, first) ? null : domain.previous(previous);
          }
        };
      }
    
      private static boolean equalsOrThrow(Comparable<?> left, @CheckForNull Comparable<?> right) {
        return right != null && Range.compareOrThrow(left, right) == 0;
      }
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

            }
          };
      Stimulus<E, ListIterator<E>> previous =
          new Stimulus<E, ListIterator<E>>("previous") {
            @Override
            void executeAndCompare(ListIterator<E> reference, ListIterator<E> target) {
              internalExecuteAndCompare(reference, target, PREVIOUS_METHOD);
            }
          };
      Stimulus<E, ListIterator<E>> add =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
Back to top