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 Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method
Description
String
toString ()
string representation
Field Details
Indicates to bias toward the next character
in the model.
Indicates a bias toward the previous character
in the model.
Method Details
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. Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries. Copyright © 1993, 2020, 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 .