Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for unos (0.13 sec)

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

      }
    
      public void testDuplicateValues() {
        ImmutableMap<String, Integer> map =
            new ImmutableMap.Builder<String, Integer>()
                .put("one", 1)
                .put("two", 2)
                .put("uno", 1)
                .put("dos", 2)
                .buildOrThrow();
    
        try {
          ImmutableBiMap.copyOf(map);
          fail();
        } catch (IllegalArgumentException expected) {
    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)
  2. guava-tests/test/com/google/common/collect/TableCollectorsTest.java

        try {
          Stream.of(immutableCell("one", "uno", 1)).collect(collector);
          fail("Expected NullPointerException");
        } catch (NullPointerException expected) {
        }
        collector =
            TableCollectors.toImmutableTable(Cell::getRowKey, Cell::getColumnKey, Cell::getValue);
        try {
          Stream.of(immutableCell("one", "uno", 1), immutableCell("one", "uno", (Integer) null))
              .collect(collector);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 16:03:18 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/ByteStreamsTest.java

        // create a null output stream
        OutputStream nos = ByteStreams.nullOutputStream();
        // write to the output stream
        nos.write('n');
        String test = "Test string for NullOutputStream";
        byte[] bytes = test.getBytes(Charsets.US_ASCII);
        nos.write(bytes);
        nos.write(bytes, 2, 10);
        nos.write(bytes, bytes.length - 5, 5);
        // nothing really to assert?
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/ByteStreamsTest.java

        // create a null output stream
        OutputStream nos = ByteStreams.nullOutputStream();
        // write to the output stream
        nos.write('n');
        String test = "Test string for NullOutputStream";
        byte[] bytes = test.getBytes(Charsets.US_ASCII);
        nos.write(bytes);
        nos.write(bytes, 2, 10);
        nos.write(bytes, bytes.length - 5, 5);
        // nothing really to assert?
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.9K bytes
    - Viewed (1)
  5. guava-tests/test/com/google/common/base/FunctionsTest.java

        mIntegerToSpanish.put(1, "Uno");
        mIntegerToSpanish.put(3, "Tres");
        mIntegerToSpanish.put(4, "Cuatro");
        Function<Integer, String> integerToSpanish = Functions.forMap(mIntegerToSpanish);
    
        Function<String, String> japaneseToSpanish =
            Functions.compose(integerToSpanish, japaneseToInteger);
    
        assertEquals("Uno", japaneseToSpanish.apply("Ichi"));
        try {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 16K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/FunctionsTest.java

        mIntegerToSpanish.put(1, "Uno");
        mIntegerToSpanish.put(3, "Tres");
        mIntegerToSpanish.put(4, "Cuatro");
        Function<Integer, String> integerToSpanish = Functions.forMap(mIntegerToSpanish);
    
        Function<String, String> japaneseToSpanish =
            Functions.compose(integerToSpanish, japaneseToInteger);
    
        assertEquals("Uno", japaneseToSpanish.apply("Ichi"));
        try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 16K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

      }
    
      public void testDuplicateValues() {
        ImmutableMap<String, Integer> map =
            new ImmutableMap.Builder<String, Integer>()
                .put("one", 1)
                .put("two", 2)
                .put("uno", 1)
                .put("dos", 2)
                .buildOrThrow();
    
        try {
          ImmutableBiMap.copyOf(map);
          fail();
        } catch (IllegalArgumentException expected) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableTableTest.java

        CollectorTester.of(collector)
            .expectCollects(ImmutableTable.of())
            .expectCollects(
                ImmutableTable.of("one", "uno", 3),
                Tables.immutableCell("one", "uno", 1),
                Tables.immutableCell("one", "uno", 2));
      }
    
      public void testBuilder() {
        ImmutableTable.Builder<Character, Integer, String> builder = new ImmutableTable.Builder<>();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 20K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableTableTest.java

      public void testToImmutableTable_java7_combine() {
        ImmutableTable.Builder<String, String, Integer> zis =
            ImmutableTable.<String, String, Integer>builder().put("one", "uno", 1).put("two", "dos", 2);
        ImmutableTable.Builder<String, String, Integer> zat =
            ImmutableTable.<String, String, Integer>builder()
                .put("one", "eins", 1)
                .put("two", "twei", 2);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 19.6K bytes
    - Viewed (0)
Back to top