com.groupbyinc.flux.search.suggest.completion.context.GeoQueryContext$Builder.class Maven / Gradle / Ivy
???? 4 } Mcom/groupbyinc/flux/search/suggest/completion/context/GeoQueryContext$Builder java/lang/Object GeoQueryContext.java Ecom/groupbyinc/flux/search/suggest/completion/context/GeoQueryContext Builder Gcom/groupbyinc/flux/search/suggest/completion/context/GeoQueryContext$1 geoPoint )Lcom/groupbyinc/flux/common/geo/GeoPoint; boost I precision
neighbours Ljava/util/List; %Ljava/util/List; lat D lon ()V
java/util/Collections emptyList ()Ljava/util/List; !
" $? ( * this OLcom/groupbyinc/flux/search/suggest/completion/context/GeoQueryContext$Builder; setBoost R(I)Lcom/groupbyinc/flux/search/suggest/completion/context/GeoQueryContext$Builder; "java/lang/IllegalArgumentException 0 boost must be greater than 0 2 (Ljava/lang/String;)V 4
1 5 setPrecision "precision must be between 1 and 12 8
setNeighbours a(Ljava/util/List;)Lcom/groupbyinc/flux/search/suggest/completion/context/GeoQueryContext$Builder; java/util/List < iterator ()Ljava/util/Iterator; > ? = @ java/util/Iterator B hasNext ()Z D E C F next ()Ljava/lang/Object; H I C J java/lang/Integer L intValue ()I N O
M P (neighbour value must be between 1 and 12 R neighbour setGeoPoint z(Lcom/groupbyinc/flux/common/geo/GeoPoint;)Lcom/groupbyinc/flux/search/suggest/completion/context/GeoQueryContext$Builder; geoPoint must not be null W java/util/Objects Y requireNonNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; [ \
Z ] _ setLat (D)V setLon build I()Lcom/groupbyinc/flux/search/suggest/completion/context/GeoQueryContext; java/lang/Double f isNaN (D)Z h i
g j 'com/groupbyinc/flux/common/geo/GeoPoint l (DD)V n
m o ?(Lcom/groupbyinc/flux/common/geo/GeoPoint;IILjava/util/List;Lcom/groupbyinc/flux/search/suggest/completion/context/GeoQueryContext$1;)V q
r Signature Code LocalVariableTable LineNumberTable
StackMapTable LocalVariableTypeTable v(Ljava/util/List;)Lcom/groupbyinc/flux/search/suggest/completion/context/GeoQueryContext$Builder;
SourceFile InnerClasses !
t u g %*? *? *? *? #? %* &? )* &? +? v % , - w ? ? ? ? ? ? $ ? . / u ^ ?
? 1Y3? 6?*? *? v , -
w ? ? ? ? x 7 / u f ? ?
? 1Y9? 6?*? *? v , - w ? ? ? ? x : ; u ? <+? A M,? G ? (,? K ? M? Q>? ?
? 1YS? 6????*+? %*? v T <