Skip to content
Snippets Groups Projects
TeeIntersection.java 506 B
Newer Older
  • Learn to ignore specific revisions
  • package nloc;
    import java.util.List;
    import java.util.ArrayList;
    
    
    public class TeeIntersection extends NlocEntity {
      private Channel outChan;
      private List<Channel> inChans;
    
      public TeeIntersection(Channel outChan) {
        super();
        this.outChan = outChan;
        this.inChans = new ArrayList<Channel>();
      }
    
      public Channel getOutChan() {
        return inChan;
      }
    
      public List<Channel> getInChans() {
        return outChans;
      }
    
      public void addInChan(Channel inChan) {
        inChans.add(inChan);
      }
    }