Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

259
Views
Javaslang Option.nothing()

Recently I started reading about Javaslang and its improvements to the classes added by Java 8. Diving into the documentation I came across the following method:

Option.nothing()

Which returns an instance of a singleton of type Option<Void>. I couldn't however think of a single use case where this could be handy (maybe for indicating that it's the end of the chain, but I can still do .map(v -> 1)). Is there a use case where this could be handy and preferable to None?

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!