champion c9 FLEX JAVA data types data type and the corresponding relations

Type name
Type Description
boolean
Only two values: true and false
int
Integer type, range: -2147483648 ~ 2147483647
null
There is only one value null, null value on behalf of
number
Integer types and floating-point type, using 64-bit double precision
string
String type to store unicode encoding
uint
Positive integer type, range 0-4294967295
void
Value is undefined, only be used for function return type.
Can drag components: datagrid menu tilelist tree
Property Name
Property Description
allowdragselection
Default false, it can drag
allowmultipleselection
Default false, can multi-select
dragenable
Default false, it can drag the sub-elements
dragmoveenable
The default is false, it can move the element position, rather than copying elements
dropenable
Default false, whether objects can be placed in.
Figures
Symbol
Symbol Description
+
Addition operation
-
Subtraction
*
Multiplication
/
Division operation
%
Take over operations, a% b, be the remainder of a b
+ +
Accumulate operations, a + +, the result is equivalent to a = a +1
-
Tired subtraction, a -, the result is equivalent to a = a-1
+ =
Even the addition operation, a + = b, the result is equivalent to a = b + a
-=
With additional operations, a-= b, the result is equivalent to a = b-a
*=
With multiplication
/ =
In addition to computing with
% =
Operation with more than
flex data types and java data type correspondence actionscript3.0 to convert data types when the correspondence between
Data type class actionscript data types ——————-
null ——————- null
number ——————- java. lang.number
boolean ——————- java. lang.number, boolean, java.lang.string
string ——————- java. lang.string, java.lang.boolean, boolean, java.lang.character, char, java.lang.number
date ——————- java.util.date
xml object ——————- org. w3c.dom.document
================================================
converting java to actionscript 3.0 data types correspond to
——————- actionscript3 .0 java data type, data type
null ——————- null
java.lang.number ——————- number
byte []—————————- bytearray
java.lang.number, boolean ——————- boolean
java.lang.string, java.lang.character char [] ——————- string
java.util.collection, java.lang.reflect.array ——————- array
java.util.map, java.util.dictionary ——————- object
org.w3c.dom.document ——————- xml object
Other claess ——————- object
Using lcds call java code in the process of data type conversion is directly occurred without explicit call.
Complement: java in the list, arraylist corresponds to flex where can arraycollection to receive.
eg: connect oracle through java to write a method, returns a arraylist, put the arraylist in general is one of the hashmap. If by remoteobject (or otherwise) to call the method, flex termination is received recognition object, this time can be cast into arraycollection. Then traverse the arraycollection, to obtain the deposit of each data object (java in the hashmap).
flex there are no map class, but if you know java in map of the key, where it can flex as the object of a property to access
Zebian: coco
adidas clothing, vixen clothing, plus size clothing,

Top

Let us talk about
Leave a reply
Name and Mail are required

©   2010, VixenKitty clothing storesmts Gossip Rag by mts WebDesign|| Top