本文整理汇总了Java中org.eclipse.emf.common.util.EList.forEach方法的典型用法代码示例。如果您正苦于以下问题:Java EList.forEach方法的具体用法?Java EList.forEach怎么用?Java EList.forEach使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.eclipse.emf.common.util.EList
的用法示例。
在下文中一共展示了EList.forEach方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: completeIntegerStopCondition_Pathtype
import org.eclipse.emf.common.util.EList; //导入方法依赖的package包/类
@Override
public void completeIntegerStopCondition_Pathtype(final EObject model, final Assignment assignment, final ContentAssistContext context, final ICompletionProposalAcceptor acceptor) {
System.out.println("---> completeIntegerStopCondition_Pathtype");
EList<EStructuralFeature> _eAllStructuralFeatures = model.eClass().getEAllStructuralFeatures();
_eAllStructuralFeatures.forEach(new Consumer<EStructuralFeature>() {
@Override
public void accept(final EStructuralFeature t) {
InputOutput.<String>println(t.getName());
}
});
}
示例2: completePercentageCondition_Pathtype
import org.eclipse.emf.common.util.EList; //导入方法依赖的package包/类
@Override
public void completePercentageCondition_Pathtype(final EObject model, final Assignment assignment, final ContentAssistContext context, final ICompletionProposalAcceptor acceptor) {
System.out.println("---> completePercentageCondition_Pathtype");
EList<EStructuralFeature> _eAllStructuralFeatures = model.eClass().getEAllStructuralFeatures();
_eAllStructuralFeatures.forEach(new Consumer<EStructuralFeature>() {
@Override
public void accept(final EStructuralFeature t) {
InputOutput.<String>println(t.getName());
}
});
}
示例3: completeStringCondition_Pathtype
import org.eclipse.emf.common.util.EList; //导入方法依赖的package包/类
@Override
public void completeStringCondition_Pathtype(final EObject model, final Assignment assignment, final ContentAssistContext context, final ICompletionProposalAcceptor acceptor) {
System.out.println("---> completeStringCondition_Pathtype");
EList<EStructuralFeature> _eAllStructuralFeatures = model.eClass().getEAllStructuralFeatures();
_eAllStructuralFeatures.forEach(new Consumer<EStructuralFeature>() {
@Override
public void accept(final EStructuralFeature t) {
InputOutput.<String>println(t.getName());
}
});
}
示例4: complete_Model
import org.eclipse.emf.common.util.EList; //导入方法依赖的package包/类
@Override
public void complete_Model(final EObject model, final RuleCall ruleCall, final ContentAssistContext context, final ICompletionProposalAcceptor acceptor) {
System.out.println("---> complete_Model");
EList<EStructuralFeature> _eAllStructuralFeatures = model.eClass().getEAllStructuralFeatures();
_eAllStructuralFeatures.forEach(new Consumer<EStructuralFeature>() {
@Override
public void accept(final EStructuralFeature t) {
InputOutput.<String>println(t.getName());
}
});
}
示例5: complete_NEWLINE
import org.eclipse.emf.common.util.EList; //导入方法依赖的package包/类
@Override
public void complete_NEWLINE(final EObject model, final RuleCall ruleCall, final ContentAssistContext context, final ICompletionProposalAcceptor acceptor) {
System.out.println("---> complete_NEWLINE");
EList<EStructuralFeature> _eAllStructuralFeatures = model.eClass().getEAllStructuralFeatures();
_eAllStructuralFeatures.forEach(new Consumer<EStructuralFeature>() {
@Override
public void accept(final EStructuralFeature t) {
InputOutput.<String>println(t.getName());
}
});
}
示例6: complete_FORMAT_COMMENT
import org.eclipse.emf.common.util.EList; //导入方法依赖的package包/类
@Override
public void complete_FORMAT_COMMENT(final EObject model, final RuleCall ruleCall, final ContentAssistContext context, final ICompletionProposalAcceptor acceptor) {
System.out.println("---> complete_FORMAT_COMMENT");
EList<EStructuralFeature> _eAllStructuralFeatures = model.eClass().getEAllStructuralFeatures();
_eAllStructuralFeatures.forEach(new Consumer<EStructuralFeature>() {
@Override
public void accept(final EStructuralFeature t) {
InputOutput.<String>println(t.getName());
}
});
}