⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 elementupdatecommand.java

📁 The Java Network Simulator is a Java implementation of the ns-2 simulator originally from Berkeley.n
💻 JAVA
字号:
package jns.command;

import jns.element.Element;

/**
 ElementUpdateCommand is a command class that can be used genericly to
 schedule a call to any element's update() function at a specific time.
 */
public class ElementUpdateCommand extends Command
{

    private Element m_element;

    public ElementUpdateCommand(Element element, double time)
    {
        super("ElementUpdate", time);
        m_element = element;
    }

    /**
     Call the update function of the element.
     */
    public void execute()
    {
        m_element.update();
    }

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -