![JAR search and dependency download from the Maven repository](/logo.png)
com.google.common.base.Present.class Maven / Gradle / Ivy
???? 4 ~
Z [ \
] ^
] _
` a b c d e
f
g hY??
g i j
Z k
l
m n
o p reference Ljava/lang/Object; Signature TT; serialVersionUID J
ConstantValue (Ljava/lang/Object;)V Code LineNumberTable LocalVariableTable this Lcom/google/common/base/Present; LocalVariableTypeTable %Lcom/google/common/base/Present; MethodParameters (TT;)V isPresent ()Z get ()Ljava/lang/Object; ()TT; or &(Ljava/lang/Object;)Ljava/lang/Object; defaultValue (TT;)TT; D(Lcom/google/common/base/Optional;)Lcom/google/common/base/Optional; secondChoice !Lcom/google/common/base/Optional; 'Lcom/google/common/base/Optional<+TT;>; O(Lcom/google/common/base/Optional<+TT;>;)Lcom/google/common/base/Optional; 5(Lcom/google/common/base/Supplier;)Ljava/lang/Object; supplier !Lcom/google/common/base/Supplier; 'Lcom/google/common/base/Supplier<+TT;>; ,(Lcom/google/common/base/Supplier<+TT;>;)TT; orNull asSet ()Ljava/util/Set; ()Ljava/util/Set; transform D(Lcom/google/common/base/Function;)Lcom/google/common/base/Optional; function !Lcom/google/common/base/Function; *Lcom/google/common/base/Function<-TT;TV;>; h(Lcom/google/common/base/Function<-TT;TV;>;)Lcom/google/common/base/Optional; equals (Ljava/lang/Object;)Z other object #Lcom/google/common/base/Present<*>;
StackMapTable "RuntimeVisibleParameterAnnotations Ljavax/annotation/CheckForNull; hashCode ()I toString ()Ljava/lang/String; <Lcom/google/common/base/Optional;
SourceFile Present.java RuntimeVisibleAnnotations 8Lcom/google/common/base/ElementTypesAreNonnullByDefault; RuntimeInvisibleAnnotations -Lcom/google/common/annotations/GwtCompatible; q 2use Optional.orNull() instead of Optional.or(null) r s t s 0 u v w com/google/common/base/Present x y 0 Athe Function passed to Optional.transform() must not return null. z G H O P java/lang/StringBuilder Optional.of( { | { } ) Q R com/google/common/base/Optional ()V $com/google/common/base/Preconditions checkNotNull 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; java/util/Collections singleton #(Ljava/lang/Object;)Ljava/util/Set; com/google/common/base/Function apply java/lang/Object append -(Ljava/lang/String;)Ljava/lang/StringBuilder; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; 0 ! b
*? *+? ? " #
$ %
&