/** Add this CharSequence into the set */ public boolean add(CharSequence text) { return map.put(text, PLACEHOLDER) == null; }
/** Add this CharSequence into the set */ public boolean add(CharSequence text) { return map.put(text, PLACEHOLDER) == null; }
/** Add this String into the set */ public boolean add(String text) { return map.put(text, PLACEHOLDER) == null; }
/** Add this char[] directly to the set. * If ignoreCase is true for this Set, the text array will be directly modified. * The user should never modify this text array after calling this method. */ public boolean add(char[] text) { return map.put(text, PLACEHOLDER) == null; }
/** Add this char[] directly to the set. * If ignoreCase is true for this Set, the text array will be directly modified. * The user should never modify this text array after calling this method. */ public boolean add(char[] text) { return map.put(text, PLACEHOLDER) == null; }
@Override public boolean add(Object o) { return map.put(o, PLACEHOLDER) == null; }
/** Add this String into the set */ public boolean add(String text) { return map.put(text, PLACEHOLDER) == null; }
@Override public boolean add(Object o) { return map.put(o, PLACEHOLDER) == null; }
/** Add the given mapping. */ public V put(CharSequence text, V value) { return put(text.toString(), value); // could be more efficient }
/** Add the given mapping. */ public V put(CharSequence text, V value) { return put(text.toString(), value); // could be more efficient }
/** Add the given mapping. */ public V put(String text, V value) { return put(text.toCharArray(), value); }
/** Add the given mapping. */ public V put(String text, V value) { return put(text.toCharArray(), value); }
/** * Assign an {@link Analyzer} to be used with that key. That analyzer is used * to process tokens generated by the {@link ExtendedJsonTokenizer}. * * @param datatype The datatype key * @param a the associated {@link Analyzer} */ public void registerDatatype(final char[] datatype, final Analyzer a) { if (!regAnalyzers.containsKey(datatype)) { regAnalyzers.put(datatype, a); } }
/** * Map the given analyzer to that dataTypeURI */ public void register(final char[] dataTypeURI, final Analyzer analyzer) { if (!dtsAnalyzer.containsKey(dataTypeURI)) { dtsAnalyzer.put(dataTypeURI, analyzer); } }
/** * Assign an {@link Analyzer} to be used with that key. That analyzer is used * to process tokens outputed from the {@link TupleTokenizer}. * @param datatype the Datatype * @param a the associated {@link Analyzer} */ public void registerDatatype(final char[] datatype, final Analyzer a) { if (!regLitAnalyzers.containsKey(datatype)) { regLitAnalyzers.put(datatype, a); } }
/** * Map the given analyzer to that dataTypeURI */ public void register(final char[] dataTypeURI, final Analyzer analyzer) { if (!dtsAnalyzer.containsKey(dataTypeURI)) { dtsAnalyzer.put(dataTypeURI, analyzer); } }
/** * Assign an {@link Analyzer} to be used with that key. That analyzer is used * to process tokens outputed from the {@link TupleTokenizer}. * @param datatype the Datatype * @param a the associated {@link Analyzer} */ public void registerDatatype(final char[] datatype, final Analyzer a) { if (!regLitAnalyzers.containsKey(datatype)) { regLitAnalyzers.put(datatype, a); } }
/** * Assign an {@link Analyzer} to be used with that key. That analyzer is used * to process tokens generated by the {@link JsonTokenizer}. * * @param datatype The datatype key * @param a the associated {@link Analyzer} */ public void registerDatatype(final char[] datatype, final Analyzer a) { if (!regAnalyzers.containsKey(datatype)) { regAnalyzers.put(datatype, a); } }