com.groupbyinc.flux.common.geo.builders.EnvelopeBuilder.class Maven / Gradle / Ivy
???? 4 ? 7com/groupbyinc/flux/common/geo/builders/EnvelopeBuilder 4com/groupbyinc/flux/common/geo/builders/ShapeBuilder EnvelopeBuilder.java Acom/groupbyinc/flux/common/geo/builders/ShapeBuilder$GeoShapeType GeoShapeType 5com/groupbyinc/flux/common/xcontent/ToXContent$Params .com/groupbyinc/flux/common/xcontent/ToXContent Params TYPE CLcom/groupbyinc/flux/common/geo/builders/ShapeBuilder$GeoShapeType; topLeft ?Lcom/groupbyinc/flux/common/vividsolutions/jts/geom/Coordinate; bottomRight ?(Lcom/groupbyinc/flux/common/vividsolutions/jts/geom/Coordinate;Lcom/groupbyinc/flux/common/vividsolutions/jts/geom/Coordinate;)V ()V
"topLeft of envelope cannot be null java/util/Objects requireNonNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
&bottomRight of envelope cannot be null " $ this 9Lcom/groupbyinc/flux/common/geo/builders/EnvelopeBuilder; 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V java/io/IOException ) readFromStream s(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/common/vividsolutions/jts/geom/Coordinate; + ,
- in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; writeTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V writeCoordinateTo u(Lcom/groupbyinc/flux/common/vividsolutions/jts/geom/Coordinate;Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V 3 4
5 out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; A()Lcom/groupbyinc/flux/common/vividsolutions/jts/geom/Coordinate;
toXContent ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; 3com/groupbyinc/flux/common/xcontent/XContentBuilder < startObject 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; > ?
= @ type B D shapeName ()Ljava/lang/String; F G
H field [(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; J K
= L coordinates N
startArray I(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; P Q
= R ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/vividsolutions/jts/geom/Coordinate;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; : T
U endArray W ?
= X endObject Z ?
= [ builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; params 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params; build .()Lorg/locationtech/spatial4j/shape/Rectangle; SPATIAL_CONTEXT :Lorg/locationtech/spatial4j/context/jts/JtsSpatialContext; c d e =com/groupbyinc/flux/common/vividsolutions/jts/geom/Coordinate g x D i j h k y m j h n 8org/locationtech/spatial4j/context/jts/JtsSpatialContext p
makeRectangle 2(DDDD)Lorg/locationtech/spatial4j/shape/Rectangle; r s
q t E()Lcom/groupbyinc/flux/common/geo/builders/ShapeBuilder$GeoShapeType; hashCode ()I java/lang/Object y hash ([Ljava/lang/Object;)I { |
} equals (Ljava/lang/Object;)Z getClass ()Ljava/lang/Class; ? ?
z ? '(Ljava/lang/Object;Ljava/lang/Object;)Z ?
? obj Ljava/lang/Object; other *()Lorg/locationtech/spatial4j/shape/Shape; a b
? ENVELOPE ? ? Code LocalVariableTable LineNumberTable
Exceptions
StackMapTable
SourceFile InnerClasses ! ? o *? +? W,!? W*+? #*,? %? ? &