Package example

Class Example

java.lang.Object
example.Example

public class Example extends Object
The following code shows how to use Optional.isPresent:
if (v.isPresent()) {
    System.out.println("v: " + v.get());
}
  • Constructor Details

    • Example

      public Example()
      Constructor.