本文整理了Java中org.eclipse.emf.common.notify.Adapter.isAdapterForType()
方法的一些代码示例,展示了Adapter.isAdapterForType()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Adapter.isAdapterForType()
方法的具体详情如下:
包路径:org.eclipse.emf.common.notify.Adapter
类名称:Adapter
方法名:isAdapterForType
[英]Returns whether the adapter is of the given type. In general, an adapter may be the adapter for many types.
[中]返回适配器是否为给定类型。通常,适配器可能是许多类型的适配器。
代码示例来源:origin: io.sarl.lang/io.sarl.lang
public boolean test(Adapter adapter) {
return adapter.isAdapterForType(DocumentationAdapter.class);
}
});
代码示例来源:origin: io.sarl.lang/io.sarl.lang
public boolean test(Adapter adapter) {
return adapter.isAdapterForType(DocumentationAdapter.class);
}
});
代码示例来源:origin: io.sarl.lang/io.sarl.lang
public boolean test(Adapter adapter) {
return adapter.isAdapterForType(DocumentationAdapter.class);
}
});
代码示例来源:origin: io.sarl.lang/io.sarl.lang
public boolean test(Adapter adapter) {
return adapter.isAdapterForType(DocumentationAdapter.class);
}
});
代码示例来源:origin: io.sarl.lang/io.sarl.lang
public boolean test(Adapter adapter) {
return adapter.isAdapterForType(DocumentationAdapter.class);
}
});
代码示例来源:origin: io.sarl.lang/io.sarl.lang
public boolean test(Adapter adapter) {
return adapter.isAdapterForType(DocumentationAdapter.class);
}
});
代码示例来源:origin: io.sarl.lang/io.sarl.lang
public boolean test(Adapter adapter) {
return adapter.isAdapterForType(DocumentationAdapter.class);
}
});
代码示例来源:origin: io.sarl.lang/io.sarl.lang
public boolean test(Adapter adapter) {
return adapter.isAdapterForType(DocumentationAdapter.class);
}
});
代码示例来源:origin: io.sarl.lang/io.sarl.lang
public boolean test(Adapter adapter) {
return adapter.isAdapterForType(DocumentationAdapter.class);
}
});
代码示例来源:origin: io.sarl.lang/io.sarl.lang
public boolean test(Adapter adapter) {
return adapter.isAdapterForType(InnerBlockDocumentationAdapter.class);
}
});
代码示例来源:origin: io.sarl.lang/io.sarl.lang
public boolean test(Adapter adapter) {
return adapter.isAdapterForType(DocumentationAdapter.class);
}
});
代码示例来源:origin: io.sarl.lang/io.sarl.lang
public boolean test(Adapter adapter) {
return adapter.isAdapterForType(DocumentationAdapter.class);
}
});
代码示例来源:origin: io.sarl.lang/io.sarl.lang
public boolean test(Adapter adapter) {
return adapter.isAdapterForType(DocumentationAdapter.class);
}
});
代码示例来源:origin: io.sarl.lang/io.sarl.lang
public boolean test(Adapter adapter) {
return adapter.isAdapterForType(DocumentationAdapter.class);
}
});
代码示例来源:origin: io.sarl.lang/io.sarl.lang
public boolean test(Adapter adapter) {
return adapter.isAdapterForType(DocumentationAdapter.class);
}
});
代码示例来源:origin: io.sarl.lang/io.sarl.lang
public boolean test(Adapter adapter) {
return adapter.isAdapterForType(DocumentationAdapter.class);
}
});
代码示例来源:origin: io.sarl.lang/io.sarl.lang
public boolean test(Adapter adapter) {
return adapter.isAdapterForType(DocumentationAdapter.class);
}
});
代码示例来源:origin: io.sarl.lang/io.sarl.lang
public boolean test(Adapter adapter) {
return adapter.isAdapterForType(InnerBlockDocumentationAdapter.class);
}
});
代码示例来源:origin: io.sarl.lang/io.sarl.lang
public boolean test(Adapter adapter) {
return adapter.isAdapterForType(DocumentationAdapter.class);
}
});
代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.common
public Adapter adapt(Notifier target, Object type)
{
for (Adapter adapter : target.eAdapters())
{
if (adapter.isAdapterForType(type))
{
return adapter;
}
}
return adaptNew(target, type);
}
内容来源于网络,如有侵权,请联系作者删除!