public abstract class com.google.common.base.Equivalence<T> implements java.util.function.BiPredicate<T, T>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.google.common.base.Equivalence
super_class: java.lang.Object
{
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/base/Equivalence<TT;>;
public final boolean equivalent(T, );
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
ifnull 3
aload 2
ifnonnull 4
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual com.google.common.base.Equivalence.doEquivalent:(Ljava/lang/Object;Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/common/base/Equivalence<TT;>;
0 5 1 a TT;
0 5 2 b TT;
Signature: (TT;TT;)Z
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
a
b
public final boolean test(T, );
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual com.google.common.base.Equivalence.equivalent:(Ljava/lang/Object;Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/base/Equivalence<TT;>;
0 1 1 t TT;
0 1 2 u TT;
Signature: (TT;TT;)Z
RuntimeVisibleAnnotations:
java.lang.Deprecated()
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
t
u
protected abstract boolean doEquivalent(T, );
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Z
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TT;TT;)Z
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.ForOverride()
MethodParameters:
Name Flags
a
b
public final int hash();
descriptor: (Ljava/lang/Object;)I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.google.common.base.Equivalence.doHash:(Ljava/lang/Object;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/base/Equivalence<TT;>;
0 3 1 t TT;
Signature: (TT;)I
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
t
protected abstract int doHash();
descriptor: (Ljava/lang/Object;)I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TT;)I
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.ForOverride()
MethodParameters:
Name Flags
t
public final <F> com.google.common.base.Equivalence<F> onResultOf(com.google.common.base.Function<F, ? extends T>);
descriptor: (Lcom/google/common/base/Function;)Lcom/google/common/base/Equivalence;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new com.google.common.base.FunctionalEquivalence
dup
aload 1
aload 0
invokespecial com.google.common.base.FunctionalEquivalence.<init>:(Lcom/google/common/base/Function;Lcom/google/common/base/Equivalence;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/base/Equivalence<TT;>;
0 1 1 function Lcom/google/common/base/Function<TF;+TT;>;
Signature: <F:Ljava/lang/Object;>(Lcom/google/common/base/Function<TF;+TT;>;)Lcom/google/common/base/Equivalence<TF;>;
MethodParameters:
Name Flags
function
public final <S extends T> com.google.common.base.Equivalence$Wrapper<S> wrap(S);
descriptor: (Ljava/lang/Object;)Lcom/google/common/base/Equivalence$Wrapper;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new com.google.common.base.Equivalence$Wrapper
dup
aload 0
aload 1
invokespecial com.google.common.base.Equivalence$Wrapper.<init>:(Lcom/google/common/base/Equivalence;Ljava/lang/Object;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/base/Equivalence<TT;>;
0 1 1 reference TS;
Signature: <S:TT;>(TS;)Lcom/google/common/base/Equivalence$Wrapper<TS;>;
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
reference
public final <S extends T> com.google.common.base.Equivalence<java.lang.Iterable<S>> pairwise();
descriptor: ()Lcom/google/common/base/Equivalence;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.google.common.base.PairwiseEquivalence
dup
aload 0
invokespecial com.google.common.base.PairwiseEquivalence.<init>:(Lcom/google/common/base/Equivalence;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/base/Equivalence<TT;>;
Signature: <S:TT;>()Lcom/google/common/base/Equivalence<Ljava/lang/Iterable<TS;>;>;
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible(serializable = true)
public final com.google.common.base.Predicate<T> equivalentTo(T);
descriptor: (Ljava/lang/Object;)Lcom/google/common/base/Predicate;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new com.google.common.base.Equivalence$EquivalentToPredicate
dup
aload 0
aload 1
invokespecial com.google.common.base.Equivalence$EquivalentToPredicate.<init>:(Lcom/google/common/base/Equivalence;Ljava/lang/Object;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/base/Equivalence<TT;>;
0 1 1 target TT;
Signature: (TT;)Lcom/google/common/base/Predicate<TT;>;
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
target
public static com.google.common.base.Equivalence<java.lang.Object> equals();
descriptor: ()Lcom/google/common/base/Equivalence;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.google.common.base.Equivalence$Equals.INSTANCE:Lcom/google/common/base/Equivalence$Equals;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Lcom/google/common/base/Equivalence<Ljava/lang/Object;>;
public static com.google.common.base.Equivalence<java.lang.Object> identity();
descriptor: ()Lcom/google/common/base/Equivalence;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.google.common.base.Equivalence$Identity.INSTANCE:Lcom/google/common/base/Equivalence$Identity;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Lcom/google/common/base/Equivalence<Ljava/lang/Object;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Ljava/util/function/BiPredicate<TT;TT;>;
SourceFile: "Equivalence.java"
NestMembers:
com.google.common.base.Equivalence$Equals com.google.common.base.Equivalence$EquivalentToPredicate com.google.common.base.Equivalence$Identity com.google.common.base.Equivalence$Wrapper
InnerClasses:
final Equals = com.google.common.base.Equivalence$Equals of com.google.common.base.Equivalence
private final EquivalentToPredicate = com.google.common.base.Equivalence$EquivalentToPredicate of com.google.common.base.Equivalence
final Identity = com.google.common.base.Equivalence$Identity of com.google.common.base.Equivalence
public final Wrapper = com.google.common.base.Equivalence$Wrapper of com.google.common.base.Equivalence
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible()