Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What exactly is Java type long long

I know in Java that "int" is a 32 bit integer and that "long" is a 64 integer. I also know that in C "long long" is an integer at least as large as "long" (but implementation specific).

However I have recently come across some Java code using "long long" and wanted to know how exactly it was defined?

like image 555
James McGuigan Avatar asked Feb 19 '12 17:02

James McGuigan


1 Answers

There is no such type in Java. Are you sure the code you read was written in Java? Maybe it was a JNI routine that was called into?

like image 144
Amir Afghani Avatar answered Sep 17 '22 15:09

Amir Afghani