org.joni
Class OptAnchorInfo

java.lang.Object
  extended by org.joni.OptAnchorInfo
All Implemented Interfaces:
AnchorType

final class OptAnchorInfo
extends Object
implements AnchorType


Field Summary
(package private)  int leftAnchor
           
(package private)  int rightAnchor
           
 
Fields inherited from interface org.joni.constants.AnchorType
ALLOWED_IN_LB, ALLOWED_IN_LB_NOT, ANYCHAR_STAR, ANYCHAR_STAR_MASK, ANYCHAR_STAR_ML, BEGIN_BUF, BEGIN_LINE, BEGIN_POSITION, END_BUF, END_BUF_MASK, END_LINE, LOOK_BEHIND, LOOK_BEHIND_NOT, NOT_WORD_BOUND, PREC_READ, PREC_READ_NOT, SEMI_END_BUF, WORD_BEGIN, WORD_BOUND, WORD_END
 
Constructor Summary
OptAnchorInfo()
           
 
Method Summary
(package private)  void add(int anchor)
           
(package private)  void altMerge(OptAnchorInfo other)
           
(package private) static String anchorToString(int anchor)
           
(package private)  void clear()
           
(package private)  void concat(OptAnchorInfo left, OptAnchorInfo right, int leftLength, int rightLength)
           
(package private)  void copy(OptAnchorInfo other)
           
(package private) static boolean isLeftAnchor(int anchor)
           
(package private)  boolean isSet(int anchor)
           
(package private)  void remove(int anchor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

leftAnchor

int leftAnchor

rightAnchor

int rightAnchor
Constructor Detail

OptAnchorInfo

OptAnchorInfo()
Method Detail

clear

void clear()

copy

void copy(OptAnchorInfo other)

concat

void concat(OptAnchorInfo left,
            OptAnchorInfo right,
            int leftLength,
            int rightLength)

isSet

boolean isSet(int anchor)

add

void add(int anchor)

remove

void remove(int anchor)

altMerge

void altMerge(OptAnchorInfo other)

isLeftAnchor

static boolean isLeftAnchor(int anchor)

anchorToString

static String anchorToString(int anchor)


Copyright © 2013. All Rights Reserved.