Searched refs:toCharArray (Results 1 - 25 of 63) sorted by relevance

123

/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/ar/
H A DArabicStemmer.java49 ("" + ALEF + LAM).toCharArray(),
50 ("" + WAW + ALEF + LAM).toCharArray(),
51 ("" + BEH + ALEF + LAM).toCharArray(),
52 ("" + KAF + ALEF + LAM).toCharArray(),
53 ("" + FEH + ALEF + LAM).toCharArray(),
54 ("" + LAM + LAM).toCharArray(),
55 ("" + WAW).toCharArray(),
59 ("" + HEH + ALEF).toCharArray(),
60 ("" + ALEF + NOON).toCharArray(),
61 ("" + ALEF + TEH).toCharArray(),
[all...]
/lucene-3.6.0/lucene/contrib/analyzers/kuromoji/src/test/org/apache/lucene/analysis/ja/dict/
H A DUserDictionaryTest.java32 int[][] dictionaryEntryResult = dictionary.lookup(s.toCharArray(), 0, s.length());
47 int[][] dictionaryEntryResult2 = dictionary.lookup(s.toCharArray(), 0, s.length());
55 int[][] result = dictionary.lookup("日本経済新聞".toCharArray(), 0, 6);
58 assertEquals("ニホン", dictionary.getReading(wordIdNihon, "日本".toCharArray(), 0, 2));
60 result = dictionary.lookup("朝青龍".toCharArray(), 0, 3);
63 assertEquals("アサショウリュウ", dictionary.getReading(wordIdAsashoryu, "朝青龍".toCharArray(), 0, 3));
69 int[][] result = dictionary.lookup("日本経済新聞".toCharArray(), 0, 6);
/lucene-3.6.0/lucene/contrib/icu/src/test/org/apache/lucene/analysis/icu/segmentation/
H A DTestCharArrayIterator.java27 ci.setText("testing".toCharArray(), 0, "testing".length());
41 ci.setText("testing".toCharArray(), 0, "testing".length());
53 ci.setText("testing".toCharArray(), 0, "testing".length());
67 ci.setText("testing".toCharArray(), 0, "testing".length());
77 ci.setText("te".toCharArray(), 0, 2);
88 ci.setText("test".toCharArray(), 0, "test".length());
98 char text[] = "testing".toCharArray();
H A DTestLaoBreakIterator.java44 char text[] = sourceText.toCharArray();
/lucene-3.6.0/lucene/contrib/analyzers/common/src/test/org/apache/lucene/analysis/util/
H A DTestCharArrayIterator.java38 char text[] = _TestUtil.randomUnicodeString(random).toCharArray();
49 char text[] = _TestUtil.randomUnicodeString(random).toCharArray();
66 char text[] = _TestUtil.randomUnicodeString(random).toCharArray();
77 char text[] = _TestUtil.randomUnicodeString(random).toCharArray();
88 ci.setText("testing".toCharArray(), 0, "testing".length());
100 ci.setText("testing".toCharArray(), 0, "testing".length());
110 ci.setText("testing".toCharArray(), 0, "testing".length());
122 ci.setText("testing".toCharArray(), 0, "testing".length());
130 ci.setText("te".toCharArray(), 0, 2);
139 ci.setText("test".toCharArray(),
[all...]
/lucene-3.6.0/solr/core/src/test/org/apache/solr/util/
H A DArraysUtilsTest.java26 char[] leftChars = left.toCharArray();
27 char[] rightChars = right.toCharArray();
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/facet/taxonomy/directory/
H A DConsts.java31 static final char[] PAYLOAD_PARENT_CHARS = PAYLOAD_PARENT.toCharArray();
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/tartarus/snowball/
H A DAmong.java41 this.s = s.toCharArray();
/lucene-3.6.0/lucene/contrib/analyzers/smartcn/src/java/org/apache/lucene/analysis/cn/smart/
H A DUtility.java29 .toCharArray();
32 .toCharArray();
35 .toCharArray();
37 public static final char[] END_CHAR_ARRAY = new String("末##末").toCharArray();
H A DWordSegmenter.java78 .toCharArray();
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/util/
H A DTestArrayUtil.java64 test = ArrayUtil.parseInt("".toCharArray());
70 test = ArrayUtil.parseInt("foo".toCharArray());
76 test = ArrayUtil.parseInt(String.valueOf(Long.MAX_VALUE).toCharArray());
82 test = ArrayUtil.parseInt("0.34".toCharArray());
89 test = ArrayUtil.parseInt("1".toCharArray());
91 test = ArrayUtil.parseInt("-10000".toCharArray());
93 test = ArrayUtil.parseInt("1923".toCharArray());
95 test = ArrayUtil.parseInt("-1".toCharArray());
97 test = ArrayUtil.parseInt("foo 1923 bar".toCharArray(), 4, 4);
H A DTestCharsRef.java47 char[] charArray = _TestUtil.randomRealisticUnicodeString(random, 1, 100).toCharArray();
61 char[] charArray = _TestUtil.randomRealisticUnicodeString(random, 1, 100).toCharArray();
H A DTestCharacterUtils.java35 char[] cpAt3 = "Abc\ud801\udc1c".toCharArray();
36 char[] highSurrogateAt3 = "Abc\ud801".toCharArray();
88 char[] cpAt3 = "Abc\ud801\udc1c".toCharArray();
89 char[] highSurrogateAt3 = "Abc\ud801".toCharArray();
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/util/
H A DTestArrayUtil.java64 test = ArrayUtil.parseInt("".toCharArray());
70 test = ArrayUtil.parseInt("foo".toCharArray());
76 test = ArrayUtil.parseInt(String.valueOf(Long.MAX_VALUE).toCharArray());
82 test = ArrayUtil.parseInt("0.34".toCharArray());
89 test = ArrayUtil.parseInt("1".toCharArray());
91 test = ArrayUtil.parseInt("-10000".toCharArray());
93 test = ArrayUtil.parseInt("1923".toCharArray());
95 test = ArrayUtil.parseInt("-1".toCharArray());
97 test = ArrayUtil.parseInt("foo 1923 bar".toCharArray(), 4, 4);
H A DTestCharacterUtils.java35 char[] cpAt3 = "Abc\ud801\udc1c".toCharArray();
36 char[] highSurrogateAt3 = "Abc\ud801".toCharArray();
88 char[] cpAt3 = "Abc\ud801\udc1c".toCharArray();
89 char[] highSurrogateAt3 = "Abc\ud801".toCharArray();
/lucene-3.6.0/solr/core/src/test/org/apache/solr/analysis/
H A DTestTrimFilter.java48 char[] a = " a ".toCharArray();
49 char[] b = "b ".toCharArray();
50 char[] ccc = "cCc".toCharArray();
51 char[] whitespace = " ".toCharArray();
52 char[] empty = "".toCharArray();
65 a = " a".toCharArray();
66 b = "b ".toCharArray();
67 ccc = " c ".toCharArray();
68 whitespace = " ".toCharArray();
H A DTestCapitalizationFilter.java51 termBuffer = "kiTTEN".toCharArray();
57 termBuffer = "and".toCharArray();
61 termBuffer = "AnD".toCharArray();
66 termBuffer = "AnD".toCharArray();
71 termBuffer = "big".toCharArray();
74 termBuffer = "BIG".toCharArray();
129 termBuffer = "kiTTEN".toCharArray();
135 termBuffer = "kiTTEN".toCharArray();
140 termBuffer = "kiTTEN".toCharArray();
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/analysis/tokenattributes/
H A DTestCharTermAttributeImpl.java32 char[] content = "hello".toCharArray();
47 char[] content = buf.toString().toCharArray();
92 char[] content = "hello".toCharArray();
102 char[] content1a = "hello".toCharArray();
105 char[] content1b = "hello".toCharArray();
108 char[] content2 = "hello2".toCharArray();
122 char[] content = "hello".toCharArray();
169 t.append((CharSequence) CharBuffer.wrap("0123456789".toCharArray()), 3, 5);
178 CharBuffer buf = CharBuffer.wrap("0123456789".toCharArray(), 3, 5);
208 t.append((CharSequence) CharBuffer.wrap("01234567890123456789012345678901234567890123456789".toCharArray()),
[all...]
H A DTestTermAttributeImpl.java26 char[] content = "hello".toCharArray();
41 char[] content = buf.toString().toCharArray();
120 t.setTermBuffer("hello3".toCharArray(), 0, 6);
132 char[] content = "hello".toCharArray();
142 char[] content1a = "hello".toCharArray();
145 char[] content1b = "hello".toCharArray();
148 char[] content2 = "hello2".toCharArray();
162 char[] content = "hello".toCharArray();
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/analysis/tokenattributes/
H A DTestCharTermAttributeImpl.java32 char[] content = "hello".toCharArray();
47 char[] content = buf.toString().toCharArray();
92 char[] content = "hello".toCharArray();
102 char[] content1a = "hello".toCharArray();
105 char[] content1b = "hello".toCharArray();
108 char[] content2 = "hello2".toCharArray();
122 char[] content = "hello".toCharArray();
169 t.append((CharSequence) CharBuffer.wrap("0123456789".toCharArray()), 3, 5);
178 CharBuffer buf = CharBuffer.wrap("0123456789".toCharArray(), 3, 5);
208 t.append((CharSequence) CharBuffer.wrap("01234567890123456789012345678901234567890123456789".toCharArray()),
[all...]
H A DTestTermAttributeImpl.java26 char[] content = "hello".toCharArray();
41 char[] content = buf.toString().toCharArray();
120 t.setTermBuffer("hello3".toCharArray(), 0, 6);
132 char[] content = "hello".toCharArray();
142 char[] content1a = "hello".toCharArray();
145 char[] content1b = "hello".toCharArray();
148 char[] content2 = "hello2".toCharArray();
162 char[] content = "hello".toCharArray();
/lucene-3.6.0/lucene/contrib/analyzers/common/src/test/org/apache/lucene/analysis/reverse/
H A DTestReverseStringFilter.java83 char[] buffer = "abc瀛愯䇹鍟艱𩬅".toCharArray();
87 buffer = "abc瀛愯䇹鍟艱𩬅d".toCharArray();
91 buffer = "abc𩬅瀛愯䇹鍟艱".toCharArray();
95 buffer = "abcd𩬅瀛愯䇹鍟艱".toCharArray();
99 buffer = "abc瀛愯𩬅def".toCharArray();
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/analysis/
H A DTestToken.java34 char[] content = "hello".toCharArray();
73 char[] content = "hello".toCharArray();
88 char[] content = buf.toString().toCharArray();
161 char[] content1a = "hello".toCharArray();
164 char[] content1b = "hello".toCharArray();
167 char[] content2 = "hello2".toCharArray();
181 t.setTermBuffer("hello3".toCharArray(), 0, 6);
191 char[] content = "hello".toCharArray();
212 char[] content = "hello".toCharArray();
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/analysis/
H A DTestToken.java34 char[] content = "hello".toCharArray();
73 char[] content = "hello".toCharArray();
88 char[] content = buf.toString().toCharArray();
161 char[] content1a = "hello".toCharArray();
164 char[] content1b = "hello".toCharArray();
167 char[] content2 = "hello2".toCharArray();
181 t.setTermBuffer("hello3".toCharArray(), 0, 6);
191 char[] content = "hello".toCharArray();
212 char[] content = "hello".toCharArray();
/lucene-3.6.0/lucene/contrib/spellchecker/src/java/org/apache/lucene/search/spell/
H A DLevensteinDistance.java60 sa = target.toCharArray();

Completed in 66 milliseconds

123