org.reactivestreams.tck.support.Optional Maven / Gradle / Ivy
/************************************************************************
* Licensed under Public Domain (CC0) *
* *
* To the extent possible under law, the person who associated CC0 with *
* this code has waived all copyright and related or neighboring *
* rights to this code. *
* *
* You should have received a copy of the CC0 legalcode along with this *
* work. If not, see .*
************************************************************************/
package org.reactivestreams.tck.support;
import java.util.NoSuchElementException;
// simplest possible version of Scala's Option type
public abstract class Optional {
private static final Optional
© 2015 - 2025 Weber Informatics LLC | Privacy Policy