📄 filtergraphlink.java
字号:
package net.sf.fmj.filtergraph;/** * A link to a destination node, specifying a specific track at the * dest. Track is only relevant for a mux. * @author Ken Larson * */public class FilterGraphLink{ private FilterGraphNode destNode; // may not be null. private final int destTrack; public FilterGraphLink(FilterGraphNode destNode, final int destTrack) { super(); if (destNode == null) throw new NullPointerException(); if (destNode instanceof MuxNode && destTrack < 0) throw new IllegalArgumentException(); this.destNode = destNode; this.destTrack = destTrack; } public FilterGraphLink(FilterGraphNode destNode) { super(); if (destNode == null) throw new NullPointerException(); if (destNode instanceof MuxNode) throw new IllegalArgumentException(); this.destNode = destNode; this.destTrack = -1; } public FilterGraphNode getDestNode() { return destNode; } public int getDestTrack() { return destTrack; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -