Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 290 for charactersOf (0.06 sec)

  1. android/guava-tests/test/com/google/common/graph/TraverserTest.java

        assertEqualCharNodes(traverser.breadthFirst(charactersOf("")), "");
        assertEqualCharNodes(traverser.breadthFirst(charactersOf("bc")), "bcd");
        assertEqualCharNodes(traverser.breadthFirst(charactersOf("a")), "abcd");
        assertEqualCharNodes(traverser.breadthFirst(charactersOf("acdb")), "acdb");
        assertEqualCharNodes(traverser.breadthFirst(charactersOf("db")), "db");
      }
    
      @Test
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/TraverserTest.java

        assertEqualCharNodes(traverser.breadthFirst(charactersOf("")), "");
        assertEqualCharNodes(traverser.breadthFirst(charactersOf("bc")), "bcd");
        assertEqualCharNodes(traverser.breadthFirst(charactersOf("a")), "abcd");
        assertEqualCharNodes(traverser.breadthFirst(charactersOf("acdb")), "acdb");
        assertEqualCharNodes(traverser.breadthFirst(charactersOf("db")), "db");
      }
    
      @Test
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing.google;
    
    import static com.google.common.collect.Lists.charactersOf;
    import static java.lang.System.arraycopy;
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.ImmutableList;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing.google;
    
    import static com.google.common.collect.Lists.charactersOf;
    import static java.lang.System.arraycopy;
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.ImmutableList;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.Lists.charactersOf;
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.Ascii;
    import com.google.common.collect.testing.SpliteratorTester;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ListsTest.java

                .named("Lists.charactersOf[CharSequence]")
                .withFeatures(CollectionSize.ANY, CollectionFeature.ALLOWS_NULL_QUERIES)
                .createTestSuite());
    
        return suite;
      }
    
      public void testCharactersOfIsView() {
        StringBuilder builder = new StringBuilder("abc");
        List<Character> chars = charactersOf(builder);
        assertEquals(asList('a', 'b', 'c'), chars);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ListsTest.java

                .named("Lists.charactersOf[CharSequence]")
                .withFeatures(CollectionSize.ANY, CollectionFeature.ALLOWS_NULL_QUERIES)
                .createTestSuite());
    
        return suite;
      }
    
      public void testCharactersOfIsView() {
        StringBuilder builder = new StringBuilder("abc");
        List<Character> chars = charactersOf(builder);
        assertEquals(asList('a', 'b', 'c'), chars);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Lists.java

       *
       * @param sequence the character sequence to view as a {@code List} of characters
       * @return an {@code List<Character>} view of the character sequence
       * @since 7.0
       */
      public static List<Character> charactersOf(CharSequence sequence) {
        return new CharSequenceAsList(checkNotNull(sequence));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/net/UrlEscapers.java

      static final String URL_FORM_PARAMETER_OTHER_SAFE_CHARS = "-_.*";
    
      static final String URL_PATH_OTHER_SAFE_CHARS_LACKING_PLUS =
          "-._~" // Unreserved characters.
              + "!$'()*,;&=" // The subdelim characters (excluding '+').
              + "@:"; // The gendelim characters permitted in paths.
    
      /**
       * Returns an {@link Escaper} instance that escapes strings so they can be safely included in <a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Ascii.java

     *   <li>{@link StandardCharsets#US_ASCII} specifies the {@code Charset} of ASCII characters.
     *   <li>{@link CharMatcher#ascii} matches ASCII characters and provides text processing methods
     *       which operate only on the ASCII characters of a string.
     * </ul>
     *
     * @author Catherine Berry
     * @author Gregory Kick
     * @since 7.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class Ascii {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 21.7K bytes
    - Viewed (0)
Back to top