Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 969 for true (0.77 sec)

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

    import com.google.common.collect.TableCollectionTest.RowTests;
    
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class HashBasedTableRowTest extends RowTests {
      public HashBasedTableRowTest() {
        super(false, true, true, true, true);
      }
    
      @Override
      Table<Character, String, Integer> makeTable() {
        return HashBasedTable.create();
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/TablesTransposeColumnTest.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class TablesTransposeColumnTest extends ColumnTests {
      public TablesTransposeColumnTest() {
        super(false, true, true, true, true);
      }
    
      @Override
      Table<String, Character, Integer> makeTable() {
        Table<Character, String, Integer> original = TreeBasedTable.create();
        return Tables.transpose(original);
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveIfTester.java

            "removeIf(isEqual(present)) should return true",
            collection.removeIf(Predicate.isEqual(samples.e0())));
        expectMissing(samples.e0());
      }
    
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRemoveIf_allPresent() {
        assertTrue("removeIf(x -> true) should return true", collection.removeIf(x -> true));
        expectContents();
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RegularImmutableSortedSet.java

     * An immutable sorted set with one or more elements. TODO(jlevy): Consider separate class for a
     * single-element sorted set.
     *
     * @author Jared Levy
     * @author Louis Wasserman
     */
    @GwtCompatible(serializable = true, emulated = true)
    @SuppressWarnings({"serial", "rawtypes"})
    @ElementTypesAreNonnullByDefault
    final class RegularImmutableSortedSet<E> extends ImmutableSortedSet<E> {
      static final RegularImmutableSortedSet<Comparable> NATURAL_EMPTY_SET =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java

              : getUninterruptibly(future, timeoutDuration, timeoutUnit);
        } catch (InterruptedException e) {
          future.cancel(true);
          throw e;
        } catch (ExecutionException e) {
          throw throwCause(e, true /* combineStackTraces */);
        } catch (TimeoutException e) {
          future.cancel(true);
          throw new UncheckedTimeoutException(e);
        }
      }
    
      @CanIgnoreReturnValue
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 27 14:21:11 GMT 2023
    - 9.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ForwardingSortedMapImplementsMapTest.java

          this.delegate = delegate;
        }
    
        @Override
        protected SortedMap<K, V> delegate() {
          return delegate;
        }
      }
    
      public ForwardingSortedMapImplementsMapTest() {
        super(true, true, true, true, true);
      }
    
      @Override
      protected SortedMap<String, Integer> makeEmptyMap() {
        return new SimpleForwardingSortedMap<>(
            new TreeMap<String, Integer>(Ordering.<String>natural().nullsFirst()));
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

        inputFuture.cancel(true); // argument is ignored
        assertThrows(CancellationException.class, () -> resultFuture.get());
      }
    
      public void testFutureGetThrowsCancellationIfOutputCancelled() throws Exception {
        inputFuture.set(SLOW_OUTPUT_VALID_INPUT_DATA);
        outputFuture.cancel(true); // argument is ignored
        assertThrows(CancellationException.class, () -> resultFuture.get());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java

        assertTrue("addAll(n, hasDuplicates) should return true", getList().addAll(0, elementsToAdd));
        expectAdded(0, e0(), e1(), e0(), e1());
      }
    
      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      public void testAddAllAtIndex_nullSupported() {
        List<E> containsNull = singletonList(null);
        assertTrue("addAll(n, containsNull) should return true", getList().addAll(0, containsNull));
        /*
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.5K bytes
    - Viewed (1)
  9. guava-tests/test/com/google/common/collect/HashBasedTableColumnTest.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class HashBasedTableColumnTest extends ColumnTests {
      public HashBasedTableColumnTest() {
        super(false, true, true, true, false);
      }
    
      @Override
      Table<String, Character, Integer> makeTable() {
        return HashBasedTable.create();
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/HashBasedTableColumnTest.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class HashBasedTableColumnTest extends ColumnTests {
      public HashBasedTableColumnTest() {
        super(false, true, true, true, false);
      }
    
      @Override
      Table<String, Character, Integer> makeTable() {
        return HashBasedTable.create();
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1K bytes
    - Viewed (0)
Back to top