Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 142 for charter (0.11 sec)

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

     *       doing something and finally closing the writer that was opened.
     * </ul>
     *
     * <p>Any {@link ByteSink} may be viewed as a {@code CharSink} with a specific {@linkplain Charset
     * character encoding} using {@link ByteSink#asCharSink(Charset)}. Characters written to the
     * resulting {@code CharSink} will written to the {@code ByteSink} as encoded bytes.
     *
     * @since 14.0
     * @author Colin Decker
     */
    @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/CharSource.java

      private final class AsByteSource extends ByteSource {
    
        final Charset charset;
    
        AsByteSource(Charset charset) {
          this.charset = checkNotNull(charset);
        }
    
        @Override
        public CharSource asCharSource(Charset charset) {
          if (charset.equals(this.charset)) {
            return CharSource.this;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  3. compat/maven-builder-support/src/main/java/org/apache/maven/building/StringSource.java

     * under the License.
     */
    package org.apache.maven.building;
    
    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.nio.charset.StandardCharsets;
    
    /**
     * Wraps an ordinary {@link CharSequence} as a source.
     *
     */
    public class StringSource implements Source {
        private final String content;
    
        private final String location;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

                    }
                }
            }
            return out.toString();
        }
    
        /**
         * <p>Returns an upper case hexadecimal <code>String</code> for the given
         * character.</p>
         *
         * @param ch The character to convert.
         * @return An upper case hexadecimal <code>String</code>
         */
        protected static String hex(char ch) {
            return Integer.toHexString(ch).toUpperCase(Locale.ENGLISH);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/TransposedTableTest.java

        Table<Integer, String, Character> original = HashBasedTable.create();
        Table<String, Integer, Character> transpose = transpose(original);
        transpose.put("foo", 1, 'a');
        assertEquals((Character) 'a', original.get(1, "foo"));
      }
    
      public void testTransposedViews() {
        Table<Integer, String, Character> original = HashBasedTable.create();
        Table<String, Integer, Character> transpose = transpose(original);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/TablesTransformValuesTest.java

    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class TablesTransformValuesTest extends AbstractTableTest<Character> {
    
      private static final Function<@Nullable String, @Nullable Character> FIRST_CHARACTER =
          new Function<@Nullable String, @Nullable Character>() {
            @Override
            public @Nullable Character apply(@Nullable String input) {
              return input == null ? null : input.charAt(0);
            }
          };
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/UnsignedInts.java

       *
       * @param string the string containing the unsigned integer representation to be parsed.
       * @param radix the radix to use while parsing {@code s}; must be between {@link
       *     Character#MIN_RADIX} and {@link Character#MAX_RADIX}.
       * @throws NumberFormatException if the string does not contain a valid unsigned {@code int}, or
       *     if supplied radix is invalid.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 21:17:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/UnsignedInts.java

       *
       * @param string the string containing the unsigned integer representation to be parsed.
       * @param radix the radix to use while parsing {@code s}; must be between {@link
       *     Character#MIN_RADIX} and {@link Character#MAX_RADIX}.
       * @throws NumberFormatException if the string does not contain a valid unsigned {@code int}, or
       *     if supplied radix is invalid.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 21:17:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

        abstract Table<String, Integer, Character> createTable();
    
        @Override
        @SuppressWarnings("unchecked")
        public Cell<String, Integer, Character>[] createArray(int length) {
          return (Cell<String, Integer, Character>[]) new Cell<?, ?, ?>[length];
        }
    
        @Override
        public List<Cell<String, Integer, Character>> order(
            List<Cell<String, Integer, Character>> insertionOrder) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/TableCollectionTest.java

        abstract Table<String, Integer, Character> createTable();
    
        @Override
        @SuppressWarnings("unchecked")
        public Cell<String, Integer, Character>[] createArray(int length) {
          return (Cell<String, Integer, Character>[]) new Cell<?, ?, ?>[length];
        }
    
        @Override
        public List<Cell<String, Integer, Character>> order(
            List<Cell<String, Integer, Character>> insertionOrder) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
Back to top