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
Indicates a bias toward the previous character
in the model.
Indicates to bias toward the next character
in the model.
Method Summary
All Methods Instance Methods Concrete Methods
Field Details
Forward
Indicates to bias toward the next character
in the model.
Backward
Indicates a bias toward the previous character
in the model.
Method Details
toString
string representation
Overrides:
toString
in class Object
Returns:
a string representation of the object.
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. Other versions. Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries. Copyright © 1993, 2024, 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 .