Java int constructor syntax?

The only place for all Non Celestia Discussion/Stuff
Topic author
pirogronian
Developer
Posts: 234
Joined: 05.01.2018
Age: 38
With us: 6 years 10 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?
Still formally developer, but too tired to develop. I feel sad, but Celestia is going forward despite it.
Btw, the universe is ruled by electricity.

Return to “Petit Bistro Entropy”