All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.search.suggest.context.GeolocationContextMapping$Builder.class Maven / Gradle / Ivy

There is a newer version: 59
Show newest version
????3?Lcom/groupbyinc/flux/search/suggest/context/GeolocationContextMapping$Builder?Lcom/groupbyinc/flux/search/suggest/context/ContextBuilder;9com/groupbyinc/flux/search/suggest/context/ContextBuilderGeolocationContextMapping.javaDcom/groupbyinc/flux/search/suggest/context/GeolocationContextMappingBuilder
precisions9Lcom/groupbyinc/flux/common/carrotsearch/hppc/IntHashSet;	neighborsZdefaultLocationsLjava/util/HashSet;'Ljava/util/HashSet;	fieldNameLjava/lang/String;(Ljava/lang/String;)V(Ljava/lang/String;Z[I)V
thisNLcom/groupbyinc/flux/search/suggest/context/GeolocationContextMapping$Builder;name
7com/groupbyinc/flux/common/carrotsearch/hppc/IntHashSet()V
 
	"java/util/HashSet$
% 	'	)Q(Z)Lcom/groupbyinc/flux/search/suggest/context/GeolocationContextMapping$Builder;+
,java/lang/String.[I0	precisionQ(I)Lcom/groupbyinc/flux/search/suggest/context/GeolocationContextMapping$Builder;23
4levelIlevelsb(Ljava/lang/String;)Lcom/groupbyinc/flux/search/suggest/context/GeolocationContextMapping$Builder;,com/groupbyinc/flux/common/unit/DistanceUnit:METERS.Lcom/groupbyinc/flux/common/unit/DistanceUnit;<=	;>parseq(Ljava/lang/String;Lcom/groupbyinc/flux/common/unit/DistanceUnit;Lcom/groupbyinc/flux/common/unit/DistanceUnit;)D@A
;BQ(D)Lcom/groupbyinc/flux/search/suggest/context/GeolocationContextMapping$Builder;2D
E(DLcom/groupbyinc/flux/common/unit/DistanceUnit;)Lcom/groupbyinc/flux/search/suggest/context/GeolocationContextMapping$Builder;toMeters(D)DHI
;JDunit'com/groupbyinc/flux/common/geo/GeoUtilsNgeoHashLevelsForPrecision(D)IPQ
ORgeoHashCellSize(I)DTU
OVjava/lang/MathXmax(II)IZ[
Y\metersadd(I)Z_`
a
	caddDefaultLocation(Ljava/lang/Object;)Z_f
%ggeohashaddDefaultLocationsf(Ljava/util/Collection;)Lcom/groupbyinc/flux/search/suggest/context/GeolocationContextMapping$Builder;addAll(Ljava/util/Collection;)Zlm
%n	geohashes*Ljava/util/Collection;Ljava/util/Collection;R(DD)Lcom/groupbyinc/flux/search/suggest/context/GeolocationContextMapping$Builder;Bcom/groupbyinc/flux/common/apache/lucene/spatial/util/GeoHashUtilststringEncode(DD)Ljava/lang/String;vw
uxlatlondefaultLocationy(Lcom/groupbyinc/flux/common/geo/GeoPoint;)Lcom/groupbyinc/flux/search/suggest/context/GeolocationContextMapping$Builder;'com/groupbyinc/flux/common/geo/GeoPoint~()Ljava/lang/String;i?
?point)Lcom/groupbyinc/flux/common/geo/GeoPoint;fieldbuildH()Lcom/groupbyinc/flux/search/suggest/context/GeolocationContextMapping;isEmpty()Z??
?toArray()[I??
?java/util/Arrays?sort([I)V??
??	?@(Ljava/lang/String;[IZLjava/util/Collection;Ljava/lang/String;)V?
?precisionArray=()Lcom/groupbyinc/flux/search/suggest/context/ContextMapping;??
?	SignatureCodeLocalVariableTableLineNumberTable
StackMapTableLocalVariableTypeTablez(Ljava/util/Collection;)Lcom/groupbyinc/flux/search/suggest/context/GeolocationContextMapping$Builder;
SourceFileInnerClasses!

??@*+????
?????Q*+?*?Y?!?#*?%Y?&?(*?**?-W-?)-:?66?.6*?5W?????4C67QQQ
Q80?*
???? ?&?*?C?J?P???5/11?29?C*+?????C?F??2??2G?H
*-'?K?F?? 

2L
M=??2D?r'?S>?W'??d?]>*?5?? ^L67?????23?C*?#?bW*??67?

	+??*?d*??
?
e9?C*?(+?hW*??i?
&	'jk?U*?(+?oW*??pr?pq?
3	4??es?Q*?()'?y?hW*?? zL{L?
B
C|}?F*?(+???hW*?????
OP?9??*+?**???
YZ????9*?#???
*?#?bW*?#??L+???Y*??+*?d*?(*?*????9?0?_
`bc d?A???/*?????????
		




© 2015 - 2025 Weber Informatics LLC | Privacy Policy