Class OptionalWrapper<T>


  • public class OptionalWrapper<T>
    extends Object
    • Method Detail

      • ifPresent

        public void ifPresent​(ConsumerWrapper<T> consumer)
                       throws com.github.damianwajser.exceptions.RestException
        Throws:
        com.github.damianwajser.exceptions.RestException
      • get

        public T get()
      • isPresent

        public boolean isPresent()