Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for decoder (0.15 sec)

  1. android/guava/src/com/google/common/io/Files.java

       *
       * <p><b>{@link java.nio.file.Path} equivalent:</b> {@link
       * java.nio.file.Files#newBufferedReader(java.nio.file.Path, Charset)}.
       *
       * @param file the file to read from
       * @param charset the charset used to decode the input stream; see {@link StandardCharsets} for
       *     helpful predefined constants
       * @return the buffered reader
       */
      public static BufferedReader newReader(File file, Charset charset) throws FileNotFoundException {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Ints.java

      /**
       * Returns a serializable converter object that converts between strings and integers using {@link
       * Integer#decode} and {@link Integer#toString()}. The returned converter throws {@link
       * NumberFormatException} if the input string is invalid.
       *
       * <p><b>Warning:</b> please see {@link Integer#decode} to understand exactly how strings are
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Platform.java

       * @param length the length of the new array
       */
      /*
       * The new array contains nulls, even if the old array did not. If we wanted to be accurate, we
       * would declare a return type of `@Nullable T[]`. However, we've decided not to think too hard
       * about arrays for now, as they're a mess. (We previously discussed this in the review of
       * ObjectArrays, which is the main caller of this method.)
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        } catch (IllegalStateException e) {
          /* expected */
        }
    
        assertEquals(
            "After remove() throws exception, peek should still be ok", "B", peekingIterator.peek());
    
        /* Should recover to be able to remove() after next(). */
        assertEquals("B", peekingIterator.next());
        peekingIterator.remove();
        assertEquals("Should have removed an element", 2, list.size());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

        assertThat(UnsignedLongs.decode("0xffffffffffffffff")).isEqualTo(0xffffffffffffffffL);
        assertThat(UnsignedLongs.decode("01234567")).isEqualTo(01234567); // octal
        assertThat(UnsignedLongs.decode("#1234567890abcdef")).isEqualTo(0x1234567890abcdefL);
        assertThat(UnsignedLongs.decode("987654321012345678")).isEqualTo(987654321012345678L);
        assertThat(UnsignedLongs.decode("0x135791357913579")).isEqualTo(0x135791357913579L);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:36:17 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Iterators.java

             * element anymore. Otherwise, when we remove from the old iterator, we may be invalidating
             * the new one. The result is a ConcurrentModificationException or other bad behavior.
             *
             * (If we decide that we really, really hate allocating two Iterators per cycle instead of
             * one, we can optimistically store the new Iterator and then be willing to throw it out if
             * the user calls remove().)
             */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

     * by it and by its input steps.
     *
     * <h3>Ending a pipeline</h3>
     *
     * Each {@code ClosingFuture} pipeline must be ended. To end a pipeline, decide whether you want to
     * close the captured objects automatically or manually.
     *
     * <h4>Automatically closing</h4>
     *
     * You can extract a {@link Future} that represents the result of the last step in the pipeline by
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/MapsCollectionTest.java

      }
    
      private static final Function<String, String> DECODE_FUNCTION =
          new Function<String, String>() {
            @Override
            public String apply(String input) {
              return new String(BaseEncoding.base64().decode(input), Charsets.UTF_8);
            }
          };
    
      private static final EntryTransformer<String, String, String> DECODE_ENTRY_TRANSFORMER =
          new EntryTransformer<String, String, String>() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 32.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Shorts.java

      }
    
      /**
       * Returns a serializable converter object that converts between strings and shorts using {@link
       * Short#decode} and {@link Short#toString()}. The returned converter throws {@link
       * NumberFormatException} if the input string is invalid.
       *
       * <p><b>Warning:</b> please see {@link Short#decode} to understand exactly how strings are
       * parsed. For example, the string {@code "0123"} is treated as <i>octal</i> and converted to the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 25.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Longs.java

      }
    
      /**
       * Returns a serializable converter object that converts between strings and longs using {@link
       * Long#decode} and {@link Long#toString()}. The returned converter throws {@link
       * NumberFormatException} if the input string is invalid.
       *
       * <p><b>Warning:</b> please see {@link Long#decode} to understand exactly how strings are parsed.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 28.7K bytes
    - Viewed (0)
Back to top