flex&java数据类型对照表

更新时间:2023-08-07 16:38:01 阅读量: 实用文档 文档下载

说明:文章内容仅供预览,部分内容可能不全。下载后的文档,内容与下面显示的完全一致。下载之前请确认下面内容是否您想要的,是否完整无缺。

flex 数据对照

Java type

http://www.77cn.com.cnng.String

http://www.77cn.com.cnng.Boolean, boolean

http://www.77cn.com.cnng.Integer, int

http://www.77cn.com.cnng.Short, short

http://www.77cn.com.cnng.Byte, byte[]

http://www.77cn.com.cnng.Byte[]

http://www.77cn.com.cnng.Double, double

http://www.77cn.com.cnng.Long, long

http://www.77cn.com.cnng.Float, float

http://www.77cn.com.cnng.Character, char

http://www.77cn.com.cnng.Character[], char[]

java. math.BigInteger

java.math.BigDecimal

java.util.Calendar

java.util.Date

java.util.Collection (for example,

java.util.ArrayList)

http://www.77cn.com.cnng.Object[]

java.util.Map

java.util.Dictionary

org.w3c.dom.Document

null

http://www.77cn.com.cnng.Object (other than previously

listed types)

flex 数据对照

ActionScript type (AMF 3)

String

Boolean

int

If value < 0xF0000000 || value > 0x0FFFFFFF, the value is promoted to Number due to AMF encodingrequirements.int

If i < 0xF0000000 || i > 0x0FFFFFFF, the value is promoted to Number.

int

If i < 0xF0000000 || i > 0x0FFFFFFF, the value is promoted to Number.

flash.utils.ByteArray

Number

Number

Number

String

String

String

String

Date

Dates are sent in the Coordinated Universal Time (UTC) time zone. Clients and servers must adjust timeaccordingly for time zones.

Date

Dates are sent in the UTC time zone. Clients and servers must adjust time accordingly for time zones.mx.collections.ArrayCollection

Array

Object (untyped). For example, a java.util.Map[] is converted to an array (of objects).

Object (untyped)

XML object

null

Typed Object

Objects are serialized by using JavaBean introspection rules and also include public fields. Fields that are

本文来源:https://www.bwwdw.com/article/lu9j.html

Top