subscription.java
来自「发布/订阅系统路由重配算法,可应用于ad hoc环境」· Java 代码 · 共 35 行
JAVA
35 行
/* * Created on May 4, 2005 * * To change the template for this generated file go to * Window>Preferences>Java>Code Generation>Code and Comments */package com;import broker.Filter;/** * @author parzy * * To change the template for this generated type comment go to * Window>Preferences>Java>Code Generation>Code and Comments */public class Subscription extends Message{ public final Filter filter; public Subscription(Filter filter){ this.filter = filter; } public Subscription(Filter filter, int type){ super(type); this.filter = filter; } public Filter getFilter(){ return filter; } }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?