Examples of CaseInsensitiveString


Examples of org.openntf.domino.types.CaseInsensitiveString

      if (doc.hasItem(itemName)) {
        Map termMap = doc.getItemValue(itemName, Map.class);
        //        Database db = session.getDatabaseByReplicaID(serverName, dbid);
        //        if (db != null) {
        for (Object key : itemNames) {
          CaseInsensitiveString ciskey = null;
          if (key instanceof CaseInsensitiveString) {
            ciskey = (CaseInsensitiveString) key;
          } else if (key instanceof String) {
            ciskey = new CaseInsensitiveString((String) key);
          } else {
            ciskey = new CaseInsensitiveString(String.valueOf(key));
          }
          Object termObj = termMap.get(ciskey);
          if (termObj != null) {
            if (termObj instanceof Collection) {
              for (Object unid : (Collection) termObj) {
View Full Code Here

Examples of org.openntf.domino.types.CaseInsensitiveString

      String itemName = item.getName();
      if (itemName.startsWith(TERM_MAP_PREFIX)) {
        //        String dbid = itemName.substring(TERM_MAP_PREFIX.length());
        Map termMap = doc.getItemValue(itemName, Map.class);
        for (String key : itemNames) {
          CaseInsensitiveString ciskey = new CaseInsensitiveString(key);
          Object termObj = termMap.get(ciskey);
          if (termObj != null) {
            if (termObj instanceof Collection) {
              unids.addAll((Collection) termObj);
            } else if (termObj instanceof CharSequence) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.