📄 dxinteger.java
字号:
// 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: DxInteger.java,v 1.5 2000/10/28 16:55:14 daniela Exp $package org.ozoneDB.DxLib;import java.io.*;public class DxInteger extends DxObject implements Externalizable { final static long serialVersionUID = 1L; int value = 0; public DxInteger() { } public DxInteger( int v ) { value = v; } public DxInteger( DxInteger v ) { super(); value = v.value; } public Object clone() { return new DxInteger( value ); } public boolean equals( Object obj ) { if (obj instanceof DxInteger && obj != null) { return value == ((DxInteger)obj).value; } else { return false; } } public boolean isLess( DxCompatible obj ) { return value < ((DxInteger)obj).value; } public String toString() { return Integer.toString( value ); } public int toInt() { return value; } public int hashCode() { return value; } public void writeExternal( ObjectOutput out ) throws IOException { out.writeInt( value ); } public void readExternal( ObjectInput in ) throws IOException, ClassNotFoundException { value = in.readInt(); } }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -