Examples of removeValue()


Examples of ca.nengo.config.ListProperty.removeValue()

          ListProperty property = (ListProperty) parent;
          property.remove(toRemove.getIndex());
          numValues = property.getNumValues();
        } else if (parent instanceof NamedValueProperty) {
          NamedValueProperty property = (NamedValueProperty) parent;
          property.removeValue(toRemove.getName());
          numValues = property.getValueNames().size();
        }

        TreeModelEvent removeEvent = new TreeModelEvent(this, path.getParentPath(),
            new int[]{toRemove.getIndex()}, new Object[]{toRemove});
View Full Code Here

Examples of ca.nengo.config.NamedValueProperty.removeValue()

          ListProperty property = (ListProperty) parent;
          property.remove(toRemove.getIndex());
          numValues = property.getNumValues();
        } else if (parent instanceof NamedValueProperty) {
          NamedValueProperty property = (NamedValueProperty) parent;
          property.removeValue(toRemove.getName());
          numValues = property.getValueNames().size();
        }

        TreeModelEvent removeEvent = new TreeModelEvent(this, path.getParentPath(),
            new int[]{toRemove.getIndex()}, new Object[]{toRemove});
View Full Code Here

Examples of com.exigen.ie.constrainer.IntExp.removeValue()

        // remove _card_value from all unbounds
        for(int i=0; i<_vars.size(); i++)
        {
          IntExp vari = (IntVar)_vars.elementAt(i);
          if (!vari.bound())
            vari.removeValue(_card_value);
        }
      }

    }
View Full Code Here

Examples of com.exigen.ie.constrainer.IntVar.removeValue()

      if(domain.length <= Math.abs(max - min)) {
        int counter = 1;
        for (int i = min+1; i < max; i++) {
          if(domain[counter] != i){
            try{
              constranerVar.removeValue(i);
            }catch (Exception e) {
              p.log("value " + i + "can not be removed from " + constranerVar);
            }
          }
          else
View Full Code Here

Examples of com.goodow.realtime.json.JsonArray.removeValue()

          parents.set(childId, list);
        }
        list.push(parentId);
      } else {
        assert list != null && list.indexOf(parentId) != -1;
        list.removeValue(parentId);
        if (list.length() == 0) {
          parents.remove(childId);
        }
      }
    }
View Full Code Here

Examples of com.opengamma.engine.marketdata.InMemoryLKVMarketDataProvider.removeValue()

    Map<String, Object> resultValues = extractResults(result);
    assertEquals(123d, resultValues.get(ViewProcessorTestEnvironment.getPrimitive1().getValueName()));
    assertEquals(456d, resultValues.get(ViewProcessorTestEnvironment.getPrimitive2().getValueName()));
   
    // Cycle 2
    underlyingProvider.removeValue(ViewProcessorTestEnvironment.getPrimitive1());
    underlyingProvider.removeValue(ViewProcessorTestEnvironment.getPrimitive2());
    currentWorker.triggerCycle();
    resultListener.assertCycleCompleted(TIMEOUT);
   
    result = client.getLatestResult();
View Full Code Here

Examples of com.ponysdk.ui.server.basic.PListBox.removeValue()

            @Override
            public void onRequest() {
                final PListBox listBox2 = get("listBox2");
                listBox2.removeItem("Item 2");
                listBox2.removeItem(2);
                listBox2.removeValue(new Long(6));
            }
        });

        options2 = listBox2.findElements(By.tagName("option"));
View Full Code Here

Examples of freenet.support.SimpleFieldSet.removeValue()

   
    // Remove some unnecessary fields that only cause collisions.
   
    // Delete entire ark.* field for now. Changing this and automatically moving to the new may be supported in future.
    fs.removeSubset("ark");
    fs.removeValue("location");
    fs.removeValue("sig");
    //fs.remove("version"); - keep version because of its significance in reconnection
   
    String s = fs.toString();
   
View Full Code Here

Examples of freenet.support.SimpleFieldSet.removeValue()

    // Remove some unnecessary fields that only cause collisions.
   
    // Delete entire ark.* field for now. Changing this and automatically moving to the new may be supported in future.
    fs.removeSubset("ark");
    fs.removeValue("location");
    fs.removeValue("sig");
    //fs.remove("version"); - keep version because of its significance in reconnection
   
    String s = fs.toString();
   
    byte[] buf;
View Full Code Here

Examples of javax.servlet.http.HttpSession.removeValue()

    hs.putValue("range",lc);

    //remove that value

    hs.removeValue("range");

    if(lc.isValueUnbound()) {

      msg="ok";
      status="true";
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.