Reviewed By: jvillard Differential Revision: D3400635 fbshipit-source-id: 2078050master
parent
d707c717f0
commit
508d6a3ae7
@ -0,0 +1,19 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (c) 2013 - present Facebook, Inc.
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* This source code is licensed under the BSD style license found in the
|
||||||
|
* LICENSE file in the root directory of this source tree. An additional grant
|
||||||
|
* of patent rights can be found in the PATENTS file in the same directory.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package com.google.common.base;
|
||||||
|
|
||||||
|
import javax.annotation.Nullable;
|
||||||
|
|
||||||
|
public abstract class Optional<T> {
|
||||||
|
|
||||||
|
@Nullable
|
||||||
|
public abstract T orNull();
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in new issue