Optional (Apache Tomcat 8.5.43 API Documentation)

org.apache.el.stream

## Class Optional

- java.lang.Object
- - org.apache.el.stream.Optional

-     public class Optional
      extends java.lang.Object

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Object` | `get()`
    `void` | `ifPresent(LambdaExpression le)`
    `java.lang.Object` | `orElse(java.lang.Object other)`
    `java.lang.Object` | `orElseGet(java.lang.Object le)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### get

          public java.lang.Object get()
                               throws ELException

      Throws:
        `ELException`

    - #### ifPresent

          public void ifPresent(LambdaExpression le)

    - #### orElse

          public java.lang.Object orElse(java.lang.Object other)

    - #### orElseGet

          public java.lang.Object orElseGet(java.lang.Object le)

Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.