📄 notification.java
字号:
package de.uni_stuttgart.informatik.canu.mobisim.core;
/**
* Title: Canu Mobility Simulation Environment
* Description:
* Copyright: Copyright (c) 2001-2003
* Company: University of Stuttgart
* @author Canu Research group
* @version 1.1
*/
/**
* A base class for notifications
* @author Illya Stepanov
*/
public class Notification
{
/**
* The sender of notification
*/
protected Object sender;
/**
* The receiver of notification
*/
protected Object receiver;
/**
* Constructor. <br>
* <br>
* @param sender the notification's sender
* @param receiver the notification's receiver
*/
public Notification(Object sender, Object receiver)
{
this.sender = sender;
this.receiver = receiver;
}
/**
* Gets the notification's sender. <br>
* <br>
* @return notification's sender
*/
public Object getSender()
{
return sender;
}
/**
* Gets the notification's receiver. <br>
* <br>
* @return notification's receiver
*/
public Object getReceiver()
{
return receiver;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -