Home
last modified time | relevance | path

Searched refs:countTokens (Results 1 – 4 of 4) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DStringTokenizerTest.java46 assertTrue("Created incorrect tokenizer", st.countTokens() == 5 in test_ConstructorLjava_lang_StringLjava_lang_String()
68 assertTrue("Created incorrect tokenizer", st.countTokens() == 8 in test_ConstructorLjava_lang_StringLjava_lang_StringZ()
88 assertEquals("Incorrect token count returned", 5, st.countTokens()); in test_countTokens()
/libcore/ojluni/src/main/java/java/util/
DStringTokenizer.java419 public int countTokens() { in countTokens() method in StringTokenizer
/libcore/ojluni/src/main/java/java/lang/
DRuntime.java526 String[] cmdarray = new String[st.countTokens()]; in exec()
/libcore/ojluni/src/main/java/sun/misc/
DURLClassPath.java612 URL[] urls = new URL[st.countTokens()];
1236 URL[] urls = new URL[st.countTokens()];