Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for figure (0.18 sec)

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

        assertEquals("b", consumingIterator.next());
        assertThat(list).isEmpty();
    
        assertFalse(consumingIterator.hasNext());
      }
    
      @GwtIncompatible // ?
      // TODO: Figure out why this is failing in GWT.
      public void testConsumingIterator_duelingIterators() {
        // Test data
        List<String> list = Lists.newArrayList("a", "b");
    
        // Test & Verify
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Iterators.java

        return (UnmodifiableListIterator<T>) ArrayItr.EMPTY;
      }
    
      /**
       * This is an enum singleton rather than an anonymous class so ProGuard can figure out it's only
       * referenced by emptyModifiableIterator().
       */
      private enum EmptyModifiableIterator implements Iterator<Object> {
        INSTANCE;
    
        @Override
        public boolean hasNext() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

      }
    
      void assertThatFutureFailsWithException(Future<?> future) {
        try {
          getUninterruptibly(future);
          fail("Expected future to fail: " + future);
        } catch (ExecutionException e) {
          assertThat(e).hasCauseThat().isSameInstanceAs(exception);
        }
      }
    
      static void assertThatFutureBecomesCancelled(Future<?> future) throws ExecutionException {
        try {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Iterators.java

        return (UnmodifiableListIterator<T>) ArrayItr.EMPTY;
      }
    
      /**
       * This is an enum singleton rather than an anonymous class so ProGuard can figure out it's only
       * referenced by emptyModifiableIterator().
       */
      private enum EmptyModifiableIterator implements Iterator<Object> {
        INSTANCE;
    
        @Override
        public boolean hasNext() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Sets.java

       * asList}{@code (...))}, or for creating an empty set then calling {@link Collections#addAll}.
       * This method is not actually very useful and will likely be deprecated in the future.
       */
      @SuppressWarnings("nullness") // TODO: b/316358623 - Remove after checker fix.
      public static <E extends @Nullable Object> HashSet<E> newHashSet(E... elements) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertEquals("b", consumingIterator.next());
        assertThat(list).isEmpty();
    
        assertFalse(consumingIterator.hasNext());
      }
    
      @GwtIncompatible // ?
      // TODO: Figure out why this is failing in GWT.
      public void testConsumingIterator_duelingIterators() {
        // Test data
        List<String> list = Lists.newArrayList("a", "b");
    
        // Test & Verify
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/reflect/TypeToken.java

          Type subtypeParam = getCovariantTypeResolver().resolveType(typeVars[i]);
          // If 'supertype' is "List<? extends CharSequence>"
          // and 'this' is StringArrayList,
          // First step is to figure out StringArrayList "is-a" List<E> where <E> = String.
          // String is then matched against <? extends CharSequence>, the supertypeArgs[0].
          if (!of(subtypeParam).is(supertypeArgs[i], typeVars[i])) {
            return false;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

              // misconfigured mock. Try to switch to Failure.
              Failure failure;
              try {
                failure = new Failure(t);
              } catch (Exception | Error oomMostLikely) { // sneaky checked exception
                failure = Failure.FALLBACK_INSTANCE;
              }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

            setSystemProperty(Constants.IGNORE_FAILURE_TYPE_PROPERTY, value);
        }
    
        default String getIgnoreFailureType() {
            return getSystemProperty(Constants.IGNORE_FAILURE_TYPE_PROPERTY, Constants.DEFAULT_IGNORE_FAILURE_TYPE);
        }
    
        default void setFailureCountThreshold(final int value) {
            setSystemPropertyAsInt(Constants.FAILURE_COUNT_THRESHOLD_PROPERTY, value);
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 85K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Preconditions.java

     * environment if possible) before spending a lot of effort on tweaking a particular element.
     *
     * <h3>Other types of preconditions</h3>
     *
     * <p>Not every type of precondition failure is supported by these methods. Continue to throw
     * standard JDK exceptions such as {@link java.util.NoSuchElementException} or {@link
     * UnsupportedOperationException} in the situations they are intended for.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
Back to top