Java int constructor syntax?

The only place for all Non Celestia Discussion/Stuff
Topic author
pirogronian
Developer
Posts: 232
Joined: 05.01.2018
Age: 34
With us: 2 years 5 months
Location: Wrocław
Contact:

Java int constructor syntax?

Post #1by pirogronian » 13.04.2020, 09:48

Analysing code of GDX LongMap on github, I found strange initialization of a member variable:

Code: Select all

int tableSize = tableSize(initialCapacity, loadFactor);


I haven't found any definition of method tableSize, so tried to search Internet for some kind of specific Java's int initialization, but found nothing so far. Anyone know Java or could see, what's going on here?
Universe is ruled by electricity.

Return to “Petit Bistro Entropy”

Who is online