From d0dd09a5a46d23ea2fbf3a126d45611e86a57da4 Mon Sep 17 00:00:00 2001 From: Hannes Janetzek Date: Sun, 6 Oct 2013 21:44:40 +0200 Subject: [PATCH] docs --- vtm/src/org/oscim/theme/rule/NegativeMatcher.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/vtm/src/org/oscim/theme/rule/NegativeMatcher.java b/vtm/src/org/oscim/theme/rule/NegativeMatcher.java index b9f78cb0..9fec9cf3 100644 --- a/vtm/src/org/oscim/theme/rule/NegativeMatcher.java +++ b/vtm/src/org/oscim/theme/rule/NegativeMatcher.java @@ -22,13 +22,16 @@ class NegativeMatcher implements AttributeMatcher { private final String[] mKeyList; private final String[] mValueList; - // - exclusive negation matches when either KEY is not present + // (-) 'exclusive negation' matches when either KEY is not present // or KEY is present and any VALUE is NOT present // - // - non-exclusive negation matches when either KEY is not present + // (\) 'except negation' matches when KEY is present + // none items of VALUE is present (TODO). + // (can be emulated by ...) + // + // (~) 'non-exclusive negation' matches when either KEY is not present // or KEY is present and any VALUE is present // - // - TODO 'MUST NOT contain key' private final boolean mExclusive; NegativeMatcher(List keyList, List valueList, boolean exclusive) {