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.

Why is there no primitive type for String?

Why doesn't Java have a primitive type for String when most of the other data types do?

java string primitive-types
Does int.class equal Integer.class or Integer.TYPE in Java?

Let's imagine one retrieves the declaring type of a Field using reflection. Which of the following tests will correctly indicate …

java reflection primitive-types boxing
Arithmetic operator overloading for a generic class in C#

Given a generic class definition like public class ConstrainedNumber<T> : IEquatable<ConstrainedNumber<T>>, IEquatable&…

c# generics operator-overloading math primitive-types
Converting String to Number in Java

How can i convert a string to a abstract number, provided string is any valid number in java (say int, …

java primitive-types
What is the difference between false and Boolean.FALSE?

In C++ windows.h FALSE is defined as integer which makes sense for some special logic cases, but in Java …

java boolean primitive-types
Java collections. Why no Primitive Types?

Possible Duplicate: storing primitive values in a java collection? My Java textbook says elements of a collection, for example ArrayList, …

java collections arraylist primitive-types
Using wrapper Integer class or int primitive in hibernate mapping

In the company that I work for we have this major discussion on whether it should be better to use …

java hibernate pojo primitive-types
Entity Framework: LINQ to Entities only supports casting Entity Data Model primitive types

I wrote a method to allow for an Expression to be passed in for the orderby clause, but I ran …

entity-framework primitive-types
Does Swift support implicit conversion?

For example, I have the following code: let numberOfBlocks = 3 let blockWidth = SKSpriteNode(imageNamed: "image.png").size.width let padding = 20.0 let …

ios swift implicit-conversion primitive-types
Implement Comparator for primitive boolean type?

I need some classes implements Comparator, and for one I want to compare primitive boolean (not Boolean) values. IF it …

java comparator primitive-types