Top "Primitive-types" questions

Built-in types in any programming language that are defined in an axiomatic way and cannot be divided into other types in the language.

How to convert an NSString into an NSNumber

How can I convert a NSString containing a number of any primitive data type (e.g. int, float, char, unsigned …

objective-c nsstring nsnumber primitive-types
How to convert an ArrayList containing Integers to primitive int array?

I'm trying to convert an ArrayList containing Integer objects to primitive int[] with the following piece of code, but it …

java arrays arraylist primitive-types
how do I initialize a float to its max/min value?

How do I hard code an absolute maximum or minimum value for a float or double? I want to search …

c++ primitive-types
Setting Short Value Java

I am writing a little code in J2ME. I have a class with a method setTableId(Short tableId). Now …

java literals primitive-types
How To Test if Type is Primitive

I have a block of code that serializes a type into a Html tag. Type t = typeof(T); // I pass &…

c# reflection primitive-types
What are Java's primitive types?

What are primitive type in Java? What is the difference between a primitive type and a reference type? How many …

java types primitive-types strong-typing
Char into byte? (Java)

How come this happens: char a = '\uffff'; //Highest value that char can take - 65535 byte b = (byte)a; //Casting …

java char byte int primitive-types
When to use wrapper class and primitive type

When I should go for wrapper class over primitive types? Or On what circumstance I should choose between wrapper / Primitive …

java wrapper primitive-types
Why do people still use primitive types in Java?

Since Java 5, we've had boxing/unboxing of primitive types so that int is wrapped to be java.lang.Integer, and …

java primitive primitive-types autoboxing jdk1.5
Why can't primitive data types be "null" in Java?

When declaring any primitive type data like int or double they get initialized to 0 or 0.0. Why can we not set …

java null primitive-types