📄 request.java
字号:
/* * project: RebecaSim * package: broker * file: Request.java * * version: 0.1 * date: 13.05.2005 * * This software is part of the diploma thesis "Ein adaptives Brokernetz * für Publish/Subscribe Systeme". */package com;import broker.Broker;/** * TODO Insert class description here. * * @version 13.05.2005 * @author parzy */public class Request extends Message{ private Broker[] path; private double[] costs; public Request(Broker[] path, double[] costs) { this(path, costs, Message.HEURISTIC); } public Request(Broker[] path, double[] costs, int type){ super(type); this.path = path; this.costs = costs; } /** * @return Returns the costs. */ public double[] getCosts() { return costs; } /** * @param costs The costs to set. */ public void setCosts(double[] costs) { this.costs = costs; } /** * @return Returns the path. */ public Broker[] getPath() { return path; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -