admincommand.java

来自「用Java写的面相对象的数据库管理系统」· Java 代码 · 共 70 行

JAVA
70
字号
// You can redistribute this software and/or modify it under the terms of// the Ozone Library License version 1 published by ozone-db.org.//// The original code and portions created by SMB are// Copyright (C) 1997-2000 by SMB GmbH. All rights reserved.//// $Id: AdminCommand.java,v 1.6 2000/10/28 16:55:16 daniela Exp $package org.ozoneDB.core;import org.ozoneDB.DxLib.*;public class AdminCommand extends DxObject {    // magic number for streaming    protected final static long serialVersionUID = 1;    protected final static byte subSerialVersionUID = 1;        // commands    public final static int NU = 1;    public final static int NG = 2;    public final static int U2G = 3;    public final static int RUG = 4;    public final static int RU = 5;    public final static int RG = 6;    public final static int AU = 7;    public final static int AG = 8;    public final static int GfN = 9;    public final static int UfN = 10;    public final static int CS = 11;    public final static int SHUTDOWN = 12;    public final static int CLOSE = 13;        /** The command code. */    int command;        /** The arguments of the command. */    public Object[] args;            public AdminCommand() {    }            public AdminCommand( int _command ) {        command = _command;        args = new String[3];    }            public AdminCommand( int _command, Object a0 ) {        command = _command;        args = new Object[3];        args[0] = a0;    }            public AdminCommand( int _command, Object a0, Object a1 ) {        command = _command;        args = new Object[3];        args[0] = a0;        args[1] = a1;    }            public String toString() {        return "AdminCommand: " + String.valueOf( command );    } }

⌨️ 快捷键说明

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