Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for unos (4.04 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. guava-tests/test/com/google/common/collect/MapsTest.java

      /** Can't create the map if more than one value maps to the same key. */
      public void testUniqueIndexDuplicates() {
        try {
          Map<Integer, String> unused =
              Maps.uniqueIndex(ImmutableSet.of("one", "uno"), Functions.constant(1));
          fail();
        } catch (IllegalArgumentException expected) {
          assertThat(expected.getMessage()).contains("Multimaps.index");
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MapsTest.java

      /** Can't create the map if more than one value maps to the same key. */
      public void testUniqueIndexDuplicates() {
        try {
          Map<Integer, String> unused =
              Maps.uniqueIndex(ImmutableSet.of("one", "uno"), Functions.constant(1));
          fail();
        } catch (IllegalArgumentException expected) {
          assertThat(expected.getMessage()).contains("Multimaps.index");
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  5. 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)
  6. 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 (0)
  7. 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)
  8. 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)
  9. 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)
  10. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixPatterns.java

    o,h-morf,kiw-sndnyd,m-morf,p&aerocne,detsoh,?r-morf,w-morf,z&ihcppa,nilppa,??jn-morf,k&a&-morf,erfocsic,?cils-si,eeg&-a&-si,si,?sndd,?h,latsnaebcitsale:.&1-&ht&ron-ue,uos-&em,fa,pa,ue,??lartnec-&ac,li,ue,?ts&ae&-&as,pa,su,vog-su,?ht&ron-pa,uos-pa,??ew-&su,ue,vog-su,???2-ts&ae&-su,ht&ron-pa,uos-pa,??ew-&su,ue,??3-ts&aeht&ron-pa,uos-pa,?ew-ue,??,nil-kaerts,o-morf,r&adhtiwtliub,ow&-&sndnyd,ta-sndnyd,?ten-orehkcats,??sedal,u,?l&a&-morf,colottad,rebil-a-si,?f-morf,i&-morf,am&-sndnyd,detsohpw,??l&ecel...
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 21 21:04:43 GMT 2024
    - 72.4K bytes
    - Viewed (1)
Back to top