From: Svjatoslav Agejenko Date: Fri, 3 May 2013 10:26:06 +0000 (+0300) Subject: improved cuttable string X-Git-Tag: svjatoslavcommons-1.8~145 X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=commitdiff_plain;h=fd11188a5ee3da3c65fda5c2006a14c216ed6da3;p=svjatoslav_commons.git improved cuttable string --- diff --git a/src/main/java/eu/svjatoslav/commons/string/CuttableString.java b/src/main/java/eu/svjatoslav/commons/string/CuttableString.java index 11de15b..2adeba2 100644 --- a/src/main/java/eu/svjatoslav/commons/string/CuttableString.java +++ b/src/main/java/eu/svjatoslav/commons/string/CuttableString.java @@ -26,8 +26,15 @@ public class CuttableString { return result; } - public boolean isEmpty() { - return value.length() == 0; + public int getLength() { + return value.length(); }; + public String getValue() { + return value; + } + + public boolean isEmpty() { + return value.length() == 0; + } }