I have java class which has a variable of type “char” now I have to conver that class on AS3 side . does any one know whats the java char equivalent on actionsctipt (keeping in mind char accepty only one character )
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This may not be what you want, but I would still use String. I have had this same situation in the past, and I found that using String still provided everything I needed. You could create your own special object with a member String and then control access through getters and setters to make sure that only a single char is assigned.
Technically you could use int (and I have in the past) to store a single char or bit array. There are no ‘true’ primitives that you want to use for a char however.