Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
mederly committed Feb 14, 2018
2 parents 0045f13 + dab8050 commit 37f5ec4
Show file tree
Hide file tree
Showing 2 changed files with 889 additions and 807 deletions.
Expand Up @@ -163,6 +163,26 @@ public String substring(int from, int to) {
return this.orig.substring(from,to);
}

/**
* Helper function that checks whether this original string begins with the specified value.
*
* @param value the value
* @return the string
*/
public boolean startsWith(String value) {
return this.orig.startsWith(value);
}

/**
* Helper function that checks whether this original string ends with the specified value.
*
* @param value the value
* @return the string
*/
public boolean endsWith(String value) {
return this.orig.endsWith(value);
}

@Override
public int hashCode() {
final int prime = 31;
Expand Down

0 comments on commit 37f5ec4

Please sign in to comment.