本文整理匯總了Java中com.rapidminer.io.process.conditions.ParameterEqualsCondition類的典型用法代碼示例。如果您正苦於以下問題:Java ParameterEqualsCondition類的具體用法?Java ParameterEqualsCondition怎麽用?Java ParameterEqualsCondition使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
ParameterEqualsCondition類屬於com.rapidminer.io.process.conditions包,在下文中一共展示了ParameterEqualsCondition類的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: parseCondition
import com.rapidminer.io.process.conditions.ParameterEqualsCondition; //導入依賴的package包/類
protected void parseCondition(Element childElem) {
NodeList conditionNodes = childElem.getChildNodes();
for (int j = 0; j < conditionNodes.getLength(); j++) {
Node conditionNode = conditionNodes.item(j);
if (conditionNode instanceof Element) {
Element conditionElem = (Element) conditionNode;
if (conditionElem.getTagName().equals("parameter_equals")) {
conditions.add(new ParameterEqualsCondition((Element) conditionNode));
} else if (conditionElem.getTagName().equals("parameter_unequals")) {
conditions.add(new ParameterUnequalsCondition((Element) conditionNode));
} else {
// LogService.getRoot().warning("Unknown condition: "+conditionElem.getTagName());
LogService.getRoot().log(Level.WARNING,
"com.rapidminer.io.process.rules.AbstractConditionedParseRule.unknown_condition",
conditionElem.getTagName());
}
}
}
}
示例2: parseCondition
import com.rapidminer.io.process.conditions.ParameterEqualsCondition; //導入依賴的package包/類
protected void parseCondition(Element childElem) {
NodeList conditionNodes = childElem.getChildNodes();
for (int j = 0; j < conditionNodes.getLength(); j++) {
Node conditionNode = conditionNodes.item(j);
if (conditionNode instanceof Element) {
Element conditionElem = (Element)conditionNode;
if (conditionElem.getTagName().equals("parameter_equals")) {
conditions.add(new ParameterEqualsCondition((Element)conditionNode));
} else if (conditionElem.getTagName().equals("parameter_unequals")) {
conditions.add(new ParameterUnequalsCondition((Element)conditionNode));
} else {
//LogService.getRoot().warning("Unknown condition: "+conditionElem.getTagName());
LogService.getRoot().log(Level.WARNING, "com.rapidminer.io.process.rules.AbstractConditionedParseRule.unknown_condition", conditionElem.getTagName());
}
}
}
}