storage.java

来自「有关j2me的很好的例子可以研究一下」· Java 代码 · 共 44 行

JAVA
44
字号
/* *  @(#)Storage.java	1.1 01/03/21 *  *  Copyright (c) 2001 Sun Microsystems, Inc., 901 San Antonio Road, *  Palo Alto, CA 94303, U.S.A.  All Rights Reserved. * *  Sun Microsystems, Inc. has intellectual property rights relating *  to the technology embodied in this software.  In particular, and *  without limitation, these intellectual property rights may include *  one or more U.S. patents, foreign patents, or pending *  applications.  Sun, Sun Microsystems, the Sun logo, Java, KJava, *  and all Sun-based and Java-based marks are trademarks or *  registered trademarks of Sun Microsystems, Inc.  in the United *  States and other countries. * *  This software is distributed under licenses restricting its use, *  copying, distribution, and decompilation.  No part of this *  software may be reproduced in any form by any means without prior *  written authorization of Sun and its licensors, if any. * *  FEDERAL ACQUISITIONS:  Commercial Software -- Government Users *  Subject to Standard License Terms and Conditions */package com.sun.midp.publickeystore;/** Common constants for marking the type of stored fields. */class Storage {    /**     * indicates the current version, increase the version if more types     * are added     */    protected static final byte CURRENT_VERSION = 1;    /** indicates the stored field is a byte array */    protected static final byte BINARY_TYPE = 1;    /** indicates the stored field is a String */    protected static final byte STRING_TYPE = 2;    /** indicates the stored field is a long */    protected static final byte LONG_TYPE = 3;}

⌨️ 快捷键说明

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