com.plaid.client.internal.gson.Optional Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plaid-java Show documentation
Show all versions of plaid-java Show documentation
Bindings for the Plaid (plaid.com) API.
package com.plaid.client.internal.gson;
import java.util.NoSuchElementException;
/**
* Our own simple implementation of an Optional wrapper.
*
* Java 8 has this built in, and Guava would provide one too,
* but we want to target Java 7 and avoid external dependencies,
* so for now we're using our own.
*/
public final class Optional {
private static Optional