Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 137 for usable (0.2 sec)

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

        assertTrue(multimap.keySet() instanceof SortedSet);
        assertTrue(multimap.asMap() instanceof SortedMap);
      }
    
      // J2kt cannot translate the Comparable rawtype in a usable way (it becomes Comparable<Object>
      // but types are typically only Comparable to themselves).
      @SuppressWarnings({"rawtypes", "unchecked"})
      private static MultimapBuilderWithKeys<Comparable<?>> rawtypeToWildcard(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 27 09:26:07 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MultimapBuilderTest.java

        assertTrue(multimap.keySet() instanceof SortedSet);
        assertTrue(multimap.asMap() instanceof SortedMap);
      }
    
      // J2kt cannot translate the Comparable rawtype in a usable way (it becomes Comparable<Object>
      // but types are typically only Comparable to themselves).
      @SuppressWarnings({"rawtypes", "unchecked"})
      private static MultimapBuilderWithKeys<Comparable<?>> rawtypeToWildcard(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 27 09:26:07 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/HostSpecifier.java

       * host specifier is a domain name, the string will be normalized to all lower case. If the
       * specifier was an IPv6 address without brackets, brackets are added so that the result will be
       * usable in the host part of a URI.
       */
      @Override
      public String toString() {
        return canonicalForm;
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 05 09:18:40 GMT 2023
    - 6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

        builder.add("a");
        assertEquals(1, builder.size);
        builder.add("b", "c", "d");
        assertEquals(4, builder.size);
        Object[] table = builder.hashTable;
        assertNotNull(table);
        assertSame(table, ((RegularImmutableSet<String>) builder.build()).table);
      }
    
      @GwtIncompatible("Builder impl")
      public void testPresizedBuilderForceCopy() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

          // We don't specify which of the two dups should be reported.
        }
      }
    
      // TODO(b/172823566): Use mainline testToImmutableBiMap once CollectorTester is usable to java7.
      public void testToImmutableBiMap_java7_combine() {
        ImmutableBiMap.Builder<String, Integer> zis =
            ImmutableBiMap.<String, Integer>builder().put("one", 1);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

        SerializableTester.reserializeAndAssert(test.keySet());
    
        SerializableTester.reserializeAndAssert(nonEmptyRangeMap);
      }
    
      // TODO(b/172823566): Use mainline testToImmutableRangeMap once CollectorTester is usable to java7
      public void testToImmutableRangeMap() {
        Range<Integer> rangeOne = Range.closedOpen(1, 5);
        Range<Integer> rangeTwo = Range.openClosed(6, 7);
    
        ImmutableRangeMap.Builder<Integer, Integer> zis =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

          fail();
        } catch (NullPointerException expected) {
        }
      }
    
      // TODO(b/172823566): Use mainline testToImmutableSetMultimap once CollectorTester is usable.
      public void testToImmutableSetMultimap_java7_combine() {
        ImmutableSetMultimap.Builder<String, Integer> zis =
            ImmutableSetMultimap.<String, Integer>builder().put("a", 1).put("b", 2);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

            assertEquals(mutable, copy);
          }
    
          ImmutableRangeSet<Integer> built = builder.build();
          assertEquals(mutable, built);
          assertEquals(ImmutableRangeSet.copyOf(mutable), built);
          assertEquals(mutable.complement(), built.complement());
    
          for (int i = 0; i <= 11; i++) {
            assertEquals(mutable.contains(i), built.contains(i));
          }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        assertMapEquals(copy, "one", 1, "two", 2, "three", 3);
        assertSame(copy, ImmutableMap.copyOf(copy));
      }
    
      // TODO(b/172823566): Use mainline testToImmutableMap once CollectorTester is usable to java7.
      public void testToImmutableMap_java7_combine() {
        ImmutableMap.Builder<String, Integer> zis =
            ImmutableMap.<String, Integer>builder().put("one", 1);
        ImmutableMap.Builder<String, Integer> zat =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 14:39:16 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

          fail("Expected NPE");
        } catch (NullPointerException expected) {
        }
      }
    
      // TODO(b/172823566): Use mainline testToImmutableList once CollectorTester is usable to java7.
      public void testToImmutableList_java7_combine() {
        ImmutableList.Builder<String> zis = ImmutableList.<String>builder().add("a", "b");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.9K bytes
    - Viewed (0)
Back to top