nodescalarimplpeer.java

来自「java开源的企业总线.xmlBlaster」· Java 代码 · 共 33 行

JAVA
33
字号
package org.xmlBlaster.engine.admin.extern.snmp; import java.util.*;/**  *  NodeScalarImplPeer is the implementation side of a bridge pattern. *  Implements the methods, which are called by NodeScalarImpl. *  @version @VERSION@ *  @author Udo Thalmann */public class NodeScalarImplPeer {    public NodeScalarImplPeer() {    }    /**     * Provides the actual number of nodes in the nodeTable.     * @return long number of nodes in the node Table.     */    public long get_numNodes() {        System.out.println("NodeScalarImplPeer: get_numNodes() HEEEELLLLLO");        Random r = new Random();        return 1 + Math.abs(r.nextLong()) % 100;    }}

⌨️ 快捷键说明

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