Examples of keys()


Examples of ariba.ui.aribaweb.test.TestContext.keys()

        TestContext tc = TestContext.getTestContext(requestContext());
        tc.put(new String("MyBusinessObject"));
        tc.put(new Integer(20));
        tc.put(this);

        Set keys = tc.keys();
        for (Object key : keys) {
            boolean has = TestLinkManager.instance().hasObjectInspectors(key);
            if (has) {
                List<TestInspectorLink> inspectors =
                        TestLinkManager.instance().getObjectInspectors(key);
View Full Code Here

Examples of ariba.ui.aribaweb.util.AWMap.keys()

                (requestContext._debugShouldRecord());
        if (shouldRecord) {
            requestContext._debugPushSemanticKeyPrefix();
        }

        Iterator keys = mapClassExtension.keys(map);
        if (_sort != null) {
            if (Boolean.valueOf((String)_sort.value(component)).booleanValue()) {
                keys = sortKeys(keys);
            }
        }
View Full Code Here

Examples of cern.colt.map.OpenIntIntHashMap.keys()

        OpenIntIntHashMap internalToOriginalMap = new OpenIntIntHashMap();
        // original var name -> internal var name
        OpenIntIntHashMap sourceIndices = new OpenIntIntHashMap();
        IntArrayList sourceValues = readSourceValues(reader, sourceIndices);
       
        for (int originalVarName : sourceIndices.keys().elements())
        {
            internalToOriginalMap.put(sourceIndices.get(originalVarName), originalVarName);
        }
       
        IntArrayList values = new IntArrayList();
View Full Code Here

Examples of cern.colt.map.OpenIntObjectHashMap.keys()

                    throw new AssertionError("BG and HSS should be isomorphic");
                }
               
                //  Shift each vertex of the tier along associated edges to the next tier
               
                IntArrayList keys = basicPrevTierVertices.keys();
                int keysSize = keys.size();
                for (int k = 0; k < keysSize; k++)
                {
                    int tierKeyOfTheVertexToShift = keys.get(k);
   
View Full Code Here

Examples of com.addthis.maljson.JSONObject.keys()

                    throw new CodecExceptionLineNumber(ex, keyInfo);
                }
                JSONObject jmap = (JSONObject) value;
                Class vc = (Class) field.getGenericTypes()[1];
                boolean va = field.isMapValueArray();
                for (Iterator<String> iter = jmap.keys(); iter.hasNext();) {
                    String key = iter.next();
                    if (field.isInterned()) {
                        key = key.intern();
                    }
                    map.put(key, va ? decodeArrayInternal(vc, jmap.get(key), jmap.getKeyLineNumber(key), warnings)
View Full Code Here

Examples of com.adito.core.CoreMessageResources.keys()

    CoreMessageResources resources = CoreServlet.getServlet().getExtensionStoreResources();
    for (ExtensionBundle extensionBundle : extensionBundles.values()) {
      for (ExtensionDescriptor descriptor : extensionBundle) {
        Collection<String> toRemove = new ArrayList<String>();

        for (Iterator itr = resources.keys(); itr.hasNext();) {
          String key = (String) itr.next();
          if (key.startsWith("application." + descriptor.getId() + ".")) {
            toRemove.add(key);
          }
        }
View Full Code Here

Examples of com.agiletec.aps.util.ApsProperties.keys()

  }

  private void setContentCategories(Content content, ApsAggregatorItem apsAggregatorItem) {
    ApsProperties categories = apsAggregatorItem.getCategories();
    if (null != categories && categories.size() > 0) {
      for (Enumeration e = categories.keys() ; e.hasMoreElements() ;) {
        String categoryCode = (String) e.nextElement();
        Category category = this.getCategoryManager().getCategory(categoryCode);
        if (null != category && !content.getCategories().contains(category)) {
          content.addCategory(category);
        }
View Full Code Here

Examples of com.alibaba.dubbo.rpc.protocol.dubbo.support.DemoService.keys()

    assertEquals(service.enumlength(new Type[]{}), Type.Lower);
    assertEquals(service.getSize(null), -1);
    assertEquals(service.getSize(new String[]{"", "", ""}), 3);
    Map<String, String> map = new HashMap<String, String>();
    map.put("aa", "bb");
    Set<String> set = service.keys(map);
    assertEquals(set.size(), 1);
    assertEquals(set.iterator().next(), "aa");
    service.invoke("dubbo://127.0.0.1:9010/" + DemoService.class.getName() + "", "invoke");

    service = proxy.getProxy(protocol.refer(DemoService.class, URL.valueOf("dubbo://127.0.0.1:9010/" + DemoService.class.getName() + "?client=netty")));
View Full Code Here

Examples of com.alibaba.dubbo.rpc.protocol.dubbo.support.DemoServiceImpl.keys()

    assertEquals(service.enumlength(new Type[]{}), Type.Lower);
    assertEquals(service.getSize(null), -1);
    assertEquals(service.getSize(new String[]{"", "", ""}), 3);
    Map<String, String> map = new HashMap<String, String>();
    map.put("aa", "bb");
    Set<String> set = service.keys(map);
    assertEquals(set.size(), 1);
    assertEquals(set.iterator().next(), "aa");
    service.invoke("dubbo://127.0.0.1:9010/" + DemoService.class.getName() + "", "invoke");

    service = proxy.getProxy(protocol.refer(DemoService.class, URL.valueOf("dubbo://127.0.0.1:9010/" + DemoService.class.getName() + "?client=netty")));
View Full Code Here

Examples of com.alimama.mdrill.json.JSONObject.keys()

    for(int i=0;i<jsonStr.length();i++)
    {
      SolrInputDocument doc=new SolrInputDocument();
      JSONObject obj=jsonStr.getJSONObject(i);
      Iterator keys = obj.keys();
      while (keys.hasNext()) {
        String key = (String) keys.next();
        doc.addField(key, obj.get(key));
      }
      docs.add(doc);
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.