otpexternal.java
来自「OTP是开放电信平台的简称」· Java 代码 · 共 89 行
JAVA
89 行
/* ``The contents of this file are subject to the Erlang Public License, * Version 1.1, (the "License"); you may not use this file except in * compliance with the License. You should have received a copy of the * Erlang Public License along with this software. If not, it can be * retrieved via the world wide web at http://www.erlang.org/. * * Software distributed under the License is distributed on an "AS IS" * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See * the License for the specific language governing rights and limitations * under the License. * * The Initial Developer of the Original Code is Ericsson Utvecklings AB. * Portions created by Ericsson are Copyright 1999, Ericsson Utvecklings * AB. All Rights Reserved.'' * * $Id$ */package com.ericsson.otp.erlang;/** * Provides a collection of constants used when encoding and decoding * Erlang terms. **/public class OtpExternal { // no constructor private OtpExternal() { } /** The tag used for small integers */ public static final int smallIntTag = 97; /** The tag used for integers */ public static final int intTag = 98; /** The tag used for floating point numbers */ public static final int floatTag = 99; /** The tag used for atoms */ public static final int atomTag = 100; /** The tag used for old stype references */ public static final int refTag = 101; /** The tag used for ports */ public static final int portTag = 102; /** The tag used for PIDs */ public static final int pidTag = 103; /** The tag used for small tuples */ public static final int smallTupleTag = 104; /** The tag used for large tuples */ public static final int largeTupleTag = 105; /** The tag used for empty lists */ public static final int nilTag = 106; /** The tag used for strings and lists of small integers */ public static final int stringTag = 107; /** The tag used for non-empty lists */ public static final int listTag = 108; /** The tag used for binaries */ public static final int binTag = 109; /** The tag used for small bignums */ public static final int smallBigTag = 110; /** The tag used for large bignums */ public static final int largeBigTag = 111; /** The tag used for new style references */ public static final int newRefTag = 114; /** The version number used to mark serialized Erlang terms */ public static final int versionTag = 131; /** The largest value that can be encoded as an integer */ public static final int erlMax = (1 << 27) -1; /** The smallest value that can be encoded as an integer */ public static final int erlMin = -(1 << 27); /** The longest allowed Erlang atom */ public static final int maxAtomLength = 255;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?