Examples of resetValue()


Examples of com.alibaba.wasp.plan.parser.Condition.resetValue()

        if (value == null) {
          value = new Condition(left.getName(), Condition.ConditionType.RANGE,
              binaryOpExpr.getRight(), operator);
          ranges.put(value.getFieldName(), value);
        } else {
          value.resetValue(binaryOpExpr.getRight(), operator);
        }
      } else {
        throw new UnsupportedException("where clause '" + where + " has '"
            + operator + "' , current this is Unsupported");
      }
View Full Code Here

Examples of com.dsi.parallax.ml.vector.LinearVector.resetValue()

    long before = usedMem();
    LinearVector vector = type.getVector(dimension);
    // loadFactor is the % of dimensions that are non-0
    for (int start = 0; start < dimension; start += stepSize) {
      vector.resetValue(start, 1.);
    }
    return usedMem() - before;
  }

  public static long insertTime(VectorType type, int dimension, int stepSize) {
View Full Code Here

Examples of com.dsi.parallax.ml.vector.LinearVector.resetValue()

    LinearVector vector = type.getVector(dimension);
    long before = System.currentTimeMillis();
    // loadFactor is the % of dimensions that are non-0

    for (int start = 0; start < dimension; start += stepSize) {
      vector.resetValue(start, 1.);
    }
    return System.currentTimeMillis() - before;
  }

  private static long usedMem() {
View Full Code Here

Examples of javax.faces.component.EditableValueHolder.resetValue()

  public static final ResetInputVisitCallback INSTANCE = new ResetInputVisitCallback();
 
    public VisitResult visit(VisitContext context, UIComponent target) {
        if(target instanceof EditableValueHolder) {
            EditableValueHolder input = (EditableValueHolder) target;
            input.resetValue();
        }
       
        return VisitResult.ACCEPT;
    }
   
View Full Code Here

Examples of javax.faces.component.UIInput.resetValue()

  public void processValueChange(ValueChangeEvent valueChangeEvent) {
    if (facesContext.getMaximumSeverity() != null) {
      UIComponent component = valueChangeEvent.getComponent();
      if (component instanceof UIInput) {
        UIInput input = (UIInput) component;
        input.resetValue();
      }
    }
  }
}
View Full Code Here

Examples of org.apache.jmeter.protocol.http.modifier.ParamMask.resetValue()

    mask.setPrefix(_prefix.getText());
    mask.setLowerBound(Long.parseLong(_lowerBound.getText()));
    mask.setIncrement(Long.parseLong(_increment.getText()));
    mask.setUpperBound(Long.parseLong(_upperBound.getText()));
    mask.setSuffix(_suffix.getText());
    mask.resetValue();
    return modifier;
  }

  /****************************************
   * !ToDo (Method description)
View Full Code Here

Examples of org.exolab.castor.mapping.FieldHandler.resetValue()

            }
           
            if (addObject) {
                //-- clear any collections if necessary
                if (firstOccurance && _clearCollections) {
                    handler.resetValue(state.object);
                }

                if (descriptor.isMultivalued()
                        && descriptor.getSchemaType() != null
                        && descriptor.getSchemaType().equals("list")
View Full Code Here

Examples of org.exolab.castor.mapping.FieldHandler.resetValue()

            }
           
            if (addObject) {
                //-- clear any collections if necessary
                if (firstOccurance && _clearCollections) {
                    handler.resetValue(state.object);
                }
               
                //-- finally set the value!!
                handler.setValue(state.object, val);
               
View Full Code Here

Examples of org.exolab.castor.mapping.FieldHandler.resetValue()

                 }
            }
            if (addObject) {
                //-- clear any collections if necessary
                if (firstOccurance && _clearCollections) {
                    handler.resetValue(state.object);
                }
                //-- finally set the value!!
                handler.setValue(state.object, val);
                // If there is a parent for this object, pass along
                // a notification that we've finished adding a child
View Full Code Here

Examples of org.hudsonci.api.model.IProjectProperty.resetValue()

                } else {
                    return null;
                }
            }
        };
        filterProperty.resetValue();
        replay(filterProperty);
        project.doResetProjectProperty(input);
        verify(filterProperty);
    }
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.