JavaScript is disabled on your browser.
 
JavaScript is disabled on your browser.
 
 
  
 
 
 
 
Enclosing interface: 
Position  
 
 
public static final class Position.Bias 
extends Object  
A typesafe enumeration to indicate bias to a position
 in the model.  A position indicates a location between
 two characters.  The bias can be used to indicate an
 interest toward one of the two sides of the position
 in boundary conditions where a simple offset is
 ambiguous.
 
 
 
 
Field Summary 
Fields    
Modifier and Type 
Field 
Description 
 
static Position.Bias  
Backward  
Indicates a bias toward the previous character
 in the model.
 
 
static Position.Bias  
Forward  
Indicates to bias toward the next character
 in the model.
 
 
 
 
 
 
 
 
 
Method Detail 
 
toString 
public String  toString() 
string representation
Overrides:  
toString  in class Object  
Returns:  
a string representation of the object. 
 
 
 
 
 
 
 
 
 
 
 
JavaScript is disabled on your browser.
 
 
  
 
Report a bug or suggest an enhancement   For further API reference and developer documentation see the Java SE Documentation , which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples.  Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.  Copyright  © 1993, 2025, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA. All rights reserved. Use is subject to license terms  and the documentation redistribution policy . 
 
Scripting on this page tracks web page traffic, but does not change the content in any way.