com.google.common.collect.GeneralRange.class Maven / Gradle / Ivy
???? 4 ?
com/google/common/collect/Range
hasLowerBound ()Z
lowerEndpoint ()Ljava/lang/Comparable;
lowerBoundType '()Lcom/google/common/collect/BoundType; #com/google/common/collect/BoundType OPEN %Lcom/google/common/collect/BoundType;
hasUpperBound
upperEndpoint
upperBoundType &com/google/common/collect/GeneralRange
! " # $ % "com/google/common/collect/Ordering natural &()Lcom/google/common/collect/Ordering;
' ( ) ?(Ljava/util/Comparator;ZLjava/lang/Object;Lcom/google/common/collect/BoundType;ZLjava/lang/Object;Lcom/google/common/collect/BoundType;)V
+ , - ( . java/lang/Object ()V
0 1 2 3 4 $com/google/common/base/Preconditions checkNotNull &(Ljava/lang/Object;)Ljava/lang/Object; 6 java/util/Comparator 8 9 :
comparator Ljava/util/Comparator; < = Z ? = A B Ljava/lang/Object; D
F B H
J K L M 4 'com/google/common/collect/NullnessCasts uncheckedCastNullableTToT 5 O P Q compare '(Ljava/lang/Object;Ljava/lang/Object;)I S 'lowerEndpoint (%s) > upperEndpoint (%s)
0 U V W
checkArgument :(ZLjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
0 Y V Z (Z)V
] ^ _ getUpperEndpoint ()Ljava/lang/Object;
a b c tooLow (Ljava/lang/Object;)Z
f g _ getLowerEndpoint
i j c tooHigh
l m getLowerBoundType
o p getUpperBoundType 5 r s c equals u v CLOSED
r
y z { | } com/google/common/base/Objects equal '(Ljava/lang/Object;Ljava/lang/Object;)Z
y ? ? hashCode ([Ljava/lang/Object;)I ? ? ? reverse (Lcom/google/common/collect/GeneralRange;
! ? ? ? from <(Ljava/util/Comparator;)Lcom/google/common/collect/Ordering;
! ? ? % ? java/lang/StringBuilder
? ,
? ? ? ? append -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ? :
? ? ? ? -(Ljava/lang/String;)Ljava/lang/StringBuilder;
? ? ? ? (C)Ljava/lang/StringBuilder; ? -∞ ? ∞
? ? ? ? toString ()Ljava/lang/String; ? java/io/Serializable Signature Ljava/util/Comparator<-TT;>; TT; RuntimeVisibleAnnotations Ljavax/annotation/CheckForNull; -Lcom/google/common/collect/GeneralRange; 7Lcom/google/errorprone/annotations/concurrent/LazyInit; K(Lcom/google/common/collect/Range;)Lcom/google/common/collect/GeneralRange; Code LineNumberTable LocalVariableTable range !Lcom/google/common/collect/Range; Ljava/lang/Comparable; LocalVariableTypeTable &Lcom/google/common/collect/Range;
StackMapTable ? java/lang/Comparable MethodParameters p(Lcom/google/common/collect/Range;)Lcom/google/common/collect/GeneralRange; all @(Ljava/util/Comparator;)Lcom/google/common/collect/GeneralRange; a(Ljava/util/Comparator<-TT;>;)Lcom/google/common/collect/GeneralRange; RuntimeVisibleTypeAnnotations 5Lorg/checkerframework/checker/nullness/qual/Nullable; downTo w(Ljava/util/Comparator;Ljava/lang/Object;Lcom/google/common/collect/BoundType;)Lcom/google/common/collect/GeneralRange; endpoint boundType ?(Ljava/util/Comparator<-TT;>;TT;Lcom/google/common/collect/BoundType;)Lcom/google/common/collect/GeneralRange; "RuntimeVisibleParameterAnnotations .Lcom/google/common/collect/ParametricNullness; upTo ?(Ljava/util/Comparator;Ljava/lang/Object;Lcom/google/common/collect/BoundType;Ljava/lang/Object;Lcom/google/common/collect/BoundType;)Lcom/google/common/collect/GeneralRange; lower lowerType upper upperType ?(Ljava/util/Comparator<-TT;>;TT;Lcom/google/common/collect/BoundType;TT;Lcom/google/common/collect/BoundType;)Lcom/google/common/collect/GeneralRange; cmp I this q(Ljava/util/Comparator<-TT;>;ZTT;Lcom/google/common/collect/BoundType;ZTT;Lcom/google/common/collect/BoundType;)V ()Ljava/util/Comparator; ()Ljava/util/Comparator<-TT;>; isEmpty t lbound (TT;)Z ubound contains intersect R(Lcom/google/common/collect/GeneralRange;)Lcom/google/common/collect/GeneralRange; other hasLowBound lowEnd lowType
hasUpBound upEnd upType \(Lcom/google/common/collect/GeneralRange;)Lcom/google/common/collect/GeneralRange; r obj +Lcom/google/common/collect/GeneralRange<*>; ()I *()Lcom/google/common/collect/GeneralRange; result /()Lcom/google/common/collect/GeneralRange; ()TT; >Ljava/lang/Object;Ljava/io/Serializable;
SourceFile GeneralRange.java ;Lcom/google/common/collect/ElementTypesAreNonnullByDefault; RuntimeInvisibleAnnotations -Lcom/google/common/annotations/GwtCompatible; serializable 0 + ? 9 : ? ? = B ? ? ? ?
= B ? ? ? ? ? ? ? ? ? ?
? ? ? ? ? ]*? ?
*? ? L*? ?
*? ? ? M*? ?
*? ? N*? ?
*? ? ? :? Y? *? +,*? -? &? ? &