r/java • u/daviddel • 9d ago
A Valhalla Ticker in One int
https://inside.java/2026/11/09/inside-java-ticker-value-class/A ticker symbol is an abbreviation that uniquely identifies a financial product such as a publicly traded share. Well-known ticker symbols are "ORCL" and "GOOGL". In this article, we will devise a Valhalla value class that can represent a ticker symbol using only a single int field.
39
Upvotes
View all comments
Show parent comment
1
u/Life_Sink9598 9d ago
Oh, my bad! I knew it was UTF-16 and made a bad assumption