AbstractNode.java 文件源码

java
阅读 28 收藏 0 点赞 0 评论 0

项目:incubator-netbeans 作者:
/** Determine which paste operations are allowed when a given transferable is in the clipboard.
* Subclasses should override {@link #createPasteTypes}.
*
* @param t the transferable in the clipboard
* @return array of operations that are allowed
*/
public final PasteType[] getPasteTypes(Transferable t) {
    List<PasteType> s = new LinkedList<PasteType>();
    createPasteTypes(t, s);

    return s.toArray(NO_PASTE_TYPES);
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号