Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 914 for tofalse (0.22 sec)

  1. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        assertThat(ImmutableDoubleArray.of(0).isEmpty()).isFalse();
        assertThat(ImmutableDoubleArray.of(0, 1, 3).isEmpty()).isFalse();
        assertThat(ImmutableDoubleArray.of(0, 1, 3).subArray(1, 1).isEmpty()).isTrue();
        assertThat(ImmutableDoubleArray.of(0, 1, 3).subArray(1, 2).isEmpty()).isFalse();
      }
    
      public void testGet_good() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 06 15:23:21 GMT 2023
    - 20K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/UnmodifiableRowSortedTableColumnMapTest.java

    import java.util.Map;
    
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class UnmodifiableRowSortedTableColumnMapTest extends ColumnMapTests {
      public UnmodifiableRowSortedTableColumnMapTest() {
        super(false, false, false, false);
      }
    
      @Override
      Table<Integer, String, Character> makeTable() {
        RowSortedTable<Integer, String, Character> original = TreeBasedTable.create();
        return Tables.unmodifiableRowSortedTable(original);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/UnmodifiableTableColumnMapTest.java

    import java.util.Map;
    
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class UnmodifiableTableColumnMapTest extends ColumnMapTests {
      public UnmodifiableTableColumnMapTest() {
        super(false, false, false, false);
      }
    
      @Override
      Table<Integer, String, Character> makeTable() {
        Table<Integer, String, Character> original = HashBasedTable.create();
        return Tables.unmodifiableTable(original);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/MapContainsValueTester.java

      }
    
      public void testContains_no() {
        assertFalse("containsValue(notPresent) should return false", getMap().containsValue(v3()));
      }
    
      @MapFeature.Require(ALLOWS_NULL_VALUE_QUERIES)
      public void testContains_nullNotContainedButAllowed() {
        assertFalse("containsValue(null) should return false", getMap().containsValue(null));
      }
    
      @MapFeature.Require(absent = ALLOWS_NULL_VALUE_QUERIES)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 3.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

        assertThat(ImmutableLongArray.of().isEmpty()).isTrue();
        assertThat(ImmutableLongArray.of(0).isEmpty()).isFalse();
        assertThat(ImmutableLongArray.of(0, 1, 3).isEmpty()).isFalse();
        assertThat(ImmutableLongArray.of(0, 1, 3).subArray(1, 1).isEmpty()).isTrue();
        assertThat(ImmutableLongArray.of(0, 1, 3).subArray(1, 2).isEmpty()).isFalse();
      }
    
      public void testGet_good() {
        ImmutableLongArray iia = ImmutableLongArray.of(0, 1, 3);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 20.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Utf8.java

          if (byte1 < (byte) 0xE0) {
            // Two-byte form.
            if (index == end) {
              return false;
            }
            // Simultaneously check for illegal trailing-byte in leading position
            // and overlong 2-byte form.
            if (byte1 < (byte) 0xC2 || bytes[index++] > (byte) 0xBF) {
              return false;
            }
          } else if (byte1 < (byte) 0xF0) {
            // Three-byte form.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 10 14:11:51 GMT 2023
    - 7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ArrayTableRowMapTest.java

    import java.util.Arrays;
    import java.util.Map;
    
    @GwtIncompatible // TODO(hhchan): ArrayTable
    public class ArrayTableRowMapTest extends RowMapTests {
      public ArrayTableRowMapTest() {
        super(true, false, false, false);
      }
    
      @Override
      Table<String, Integer, Character> makeTable() {
        return ArrayTable.create(Arrays.asList("foo", "bar", "dog"), Arrays.asList(1, 2, 3));
      }
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 01 22:53:42 GMT 2022
    - 1.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ArrayTableRowTest.java

    import java.util.Arrays;
    import java.util.Map;
    
    @GwtIncompatible // TODO(hhchan): ArrayTable
    public class ArrayTableRowTest extends RowTests {
      public ArrayTableRowTest() {
        super(true, true, false, false, false);
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
        throw new UnsupportedOperationException();
      }
    
      @Override
      protected Map<String, Integer> makeEmptyMap() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Apr 01 22:53:42 GMT 2022
    - 1.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableMultimapAsMapImplementsMapTest.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class ImmutableMultimapAsMapImplementsMapTest
        extends AbstractMultimapAsMapImplementsMapTest {
    
      public ImmutableMultimapAsMapImplementsMapTest() {
        super(false, false, false);
      }
    
      @Override
      protected Map<String, Collection<Integer>> makeEmptyMap() {
        return ImmutableMultimap.<String, Integer>of().asMap();
      }
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

        public boolean equals(@Nullable Object o) {
          if (!(o instanceof ValidTestObject)) {
            return false;
          }
          ValidTestObject other = (ValidTestObject) o;
          if (aspect1 != other.aspect1) {
            return false;
          }
          if (aspect2 != other.aspect2) {
            return false;
          }
          return true;
        }
    
        @Override
        public int hashCode() {
          int result = 17;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 12.9K bytes
    - Viewed (0)
Back to top