Java don't let me to use isEmpty
I declared a OptionalDouble as a marix, and I can't to use a if with isEmpty for this:
if (polEXP_Lim[f][c].isEmpty()){
}
All of this obviously inside of two for's
Marks me the error in isEmpty.
A way to solve it or an alternative to isEmpty?
3 Replies
⌛
This post has been reserved for your question.
Hey @Franscis123$#! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
Please format your code to make it more readable. For java, it should look like this:
Post Closed
This post has been closed by <@1117467821270650921>.