]> git.mxchange.org Git - jcore.git/blobdiff - src/org/mxchange/jcore/criteria/Criteria.java
Continued with jcore:
[jcore.git] / src / org / mxchange / jcore / criteria / Criteria.java
index 0016a5057858e8eb00c3199607175d1c2564619b..bddd6d0688b9f4c577d055aa86e02156e2523dc3 100644 (file)
@@ -1,5 +1,3 @@
-package org.mxchange.jcore.criteria;
-
 /*
  * Copyright (C) 2015 Roland Haeder
  *
@@ -16,7 +14,7 @@ package org.mxchange.jcore.criteria;
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
-
+package org.mxchange.jcore.criteria;
 
 import java.util.Map;
 import java.util.Set;
@@ -29,13 +27,21 @@ import org.mxchange.jcore.FrameworkInterface;
  */
 public interface Criteria extends FrameworkInterface {
        /**
-        * Adds a binary criteria
+        * Adds a boolean criteria
         *
         * @param key Key of criteria
         * @param value Value of criteria
         */
        public void addCriteria (final String key, final boolean value);
 
+       /**
+        * Adds a string criteria
+        *
+        * @param key Key of criteria
+        * @param value Value of criteria
+        */
+       public void addCriteria (final String key, final String value);
+
        /**
         * Gets all values from underlaying map in an iterator.
         *