Code examples for BreakIterator

Codota analyzed 7,668,838 open source code samples to find the most common, credible and clear examples.
You can now enable Codota on your own code to easily search and navigate your Java codebase.
39:	bi.setText(buffer.substring(0, start)); 
40:	bi.last(); 
41:	return bi.previous(); 
Full Snippet Info
7
CodeRank
106:	iterator.isBoundary(2); 
-
110:	iterator.setText(TEXT); 
111:	assertTrue(iterator.isBoundary(2)); 
112:	assertFalse(iterator.isBoundary(1)); 
113:	assertTrue(iterator.isBoundary(0)); 
-
115:	iterator.isBoundary(-1); 
-
120:	iterator.isBoundary(TEXT.length()); 
Full Snippet Info
6
CodeRank
92:	int start = breaker.current(); 
93:	int end = breaker.next(); 
-
125:	breaker.setText(charIterator); 
126:	int end = breaker.next(); 
Full Snippet Info
6
CodeRank
45:	proto.setText("ภาษาไทย"); 
46:	DBBI_AVAILABLE = proto.isBoundary(4); 
Full Snippet Info
6
CodeRank
38:	bi.setText(buffer.substring(0, start)); 
39:	bi.last(); 
40:	return bi.previous(); 
Full Snippet Info
6
CodeRank
58:	if (wordInstance.isBoundary(end) != false) 
-
63:	int preceding = wordInstance.preceding(end); 
-
68:	return lineBreakMeasurer.nextLayout(INFINITY, wordInstance.following(end), false); 
Full Snippet Info
6
CodeRank
92:	int start = breaker.current(); 
93:	int end = breaker.next(); 
-
127:	breaker.setText(charIterator); 
128:	int end = breaker.next(); 
Full Snippet Info
5
CodeRank
38:	bi.setText(buffer.substring(0, start)); 
39:	bi.last(); 
40:	return bi.previous(); 
Full Snippet Info
5
CodeRank
38:	bi.setText(buffer.substring(0, start)); 
39:	bi.last(); 
40:	return bi.previous(); 
Full Snippet Info
5
CodeRank
93:	iterator.setText(wrapper); 
Full Snippet Info
5
CodeRank
63:	bdry.setText(buffer); 
64:	start = bdry.first(); 
-
69:	int end = bdry.next(); 
Full Snippet Info
5
CodeRank
68:	endSentence = sentences.first(); 
-
244:	sentences.setText(phrase); 
Full Snippet Info
5
CodeRank
57:	boundary.setText(buffer.toString()); 
58:	currentBoundary = boundary.first(); 
Full Snippet Info
5
CodeRank
68:	endSentence = sentences.first(); 
-
244:	sentences.setText(phrase); 
Full Snippet Info
4
CodeRank
35:	maxStartOffset = Math.min(Math.max(0, maxStartOffset + 1), breakIterator.getText() 
-
37:	currentStart = breakIterator.preceding(maxStartOffset); 
-
41:	currentEnd = breakIterator.next(); 
Full Snippet Info
4
CodeRank
55:	boundary.setText(buffer.toString()); 
56:	currentBoundary = boundary.first(); 
Full Snippet Info
5
CodeRank
65:	int start = bi.current(); 
66:	int next = bi.next(); 
Full Snippet Info
5
CodeRank
65:	bdry.setText(buffer); 
66:	start = bdry.first(); 
-
71:	int end = bdry.next(); 
Full Snippet Info
4
CodeRank
46:	proto.setText("ภาษาไทย"); 
47:	DBBI_AVAILABLE = proto.isBoundary(4); 
Full Snippet Info
4
CodeRank
312:	this.fSuccessor = this.fWordIterator.next(); 
Full Snippet Info
4
CodeRank