Package org.mantoux.delta
Class Op
- java.lang.Object
-
- org.mantoux.delta.Op
-
public class Op extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOp.Type
-
Constructor Summary
Constructors Constructor Description Op()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarg()StringargAsString()AttributeMapattributes()Opcopy()static Opdelete(int length)booleanequals(Object o)booleanhasAttributes()inthashCode()static Opinsert(String arg)static Opinsert(String arg, AttributeMap attributes)booleanisDelete()booleanisInsert()booleanisRetain()booleanisTextInsert()intlength()static Opretain(int length)static Opretain(int length, AttributeMap attributes)StringtoString()Op.Typetype()
-
-
-
Method Detail
-
isDelete
public boolean isDelete()
-
isInsert
public boolean isInsert()
-
isTextInsert
public boolean isTextInsert()
-
isRetain
public boolean isRetain()
-
insert
public static Op insert(String arg, AttributeMap attributes)
-
retain
public static Op retain(int length)
-
retain
public static Op retain(int length, AttributeMap attributes)
-
delete
public static Op delete(int length)
-
type
public Op.Type type()
-
copy
public Op copy()
-
length
public int length()
-
attributes
public AttributeMap attributes()
-
arg
public String arg()
-
argAsString
public String argAsString()
-
hasAttributes
public boolean hasAttributes()
-
-