I am writing a class which contain a variable INFINITY. Is there any constant defined for this in java so that i can assign that value?

In .NET, there is System.Threadin g.Timeout.Infin ite for infinity. I am looking for the same in java also.