public final class Replacement extends Object
Modifier and Type | Method and Description |
---|---|
static Replacement |
create(Range<Integer> replaceRange,
String replaceString) |
boolean |
equals(Object obj) |
String |
getReplacementString()
Returns the string to replace the range of characters with.
|
Range<Integer> |
getReplaceRange()
Returns the range of characters in the original source to replace.
|
int |
hashCode() |
String |
toString() |
public static Replacement create(Range<Integer> replaceRange, String replaceString)
public Range<Integer> getReplaceRange()
public String getReplacementString()
Copyright © 2015–2016 Google Inc.. All rights reserved.