com.groupbyinc.flux.common.geo.builders.MultiLineStringBuilder.class Maven / Gradle / Ivy
???? 4 ? >com/groupbyinc/flux/common/geo/builders/MultiLineStringBuilder 4com/groupbyinc/flux/common/geo/builders/ShapeBuilder MultiLineStringBuilder.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; lines Ljava/util/ArrayList; RLjava/util/ArrayList; ()V
java/util/ArrayList
this @Lcom/groupbyinc/flux/common/geo/builders/MultiLineStringBuilder; 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V java/io/IOException 0com/groupbyinc/flux/common/io/stream/StreamInput ! readVInt ()I # $
" % 9com/groupbyinc/flux/common/geo/builders/LineStringBuilder '
( )
linestring }(Lcom/groupbyinc/flux/common/geo/builders/LineStringBuilder;)Lcom/groupbyinc/flux/common/geo/builders/MultiLineStringBuilder; + ,
- i I in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; size writeTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V 3 $
6 1com/groupbyinc/flux/common/io/stream/StreamOutput 8 writeVInt (I)V : ;
9 < iterator ()Ljava/util/Iterator; > ?
@ java/util/Iterator B hasNext ()Z D E C F next ()Ljava/lang/Object; H I C J 4 5
( L line ;Lcom/groupbyinc/flux/common/geo/builders/LineStringBuilder; out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; add (Ljava/lang/Object;)Z R S
T coordinates C()[[Lcom/groupbyinc/flux/common/vividsolutions/jts/geom/Coordinate; @[Lcom/groupbyinc/flux/common/vividsolutions/jts/geom/Coordinate; X A[[Lcom/groupbyinc/flux/common/vividsolutions/jts/geom/Coordinate; Z get (I)Ljava/lang/Object; \ ]
^ C(Z)[Lcom/groupbyinc/flux/common/vividsolutions/jts/geom/Coordinate; V `
( a result type E()Lcom/groupbyinc/flux/common/geo/builders/ShapeBuilder$GeoShapeType; f
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 j startObject 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; l m
k n d shapeName ()Ljava/lang/String; q r
s field [(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; u v
k w V I(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; u z
k {
startArray } m
k ~ coordinatesToXcontent m(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Z)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
( ? endArray ? m
k ? endObject ? m
k ? builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; params 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params; build A()Lcom/groupbyinc/flux/common/locationtech/spatial4j/shape/Shape; wrapdateline Z ? ? ? FACTORY DLcom/groupbyinc/flux/common/vividsolutions/jts/geom/GeometryFactory; ? ? ? decompose ?(Lcom/groupbyinc/flux/common/vividsolutions/jts/geom/GeometryFactory;[Lcom/groupbyinc/flux/common/vividsolutions/jts/geom/Coordinate;Ljava/util/ArrayList;)Ljava/util/ArrayList; ? ?
( ? ;com/groupbyinc/flux/common/vividsolutions/jts/geom/Geometry ? =com/groupbyinc/flux/common/vividsolutions/jts/geom/LineString ? toArray (([Ljava/lang/Object;)[Ljava/lang/Object; ? ?
? @[Lcom/groupbyinc/flux/common/vividsolutions/jts/geom/LineString; ? Bcom/groupbyinc/flux/common/vividsolutions/jts/geom/GeometryFactory ? createMultiLineString ?([Lcom/groupbyinc/flux/common/vividsolutions/jts/geom/LineString;)Lcom/groupbyinc/flux/common/vividsolutions/jts/geom/MultiLineString; ? ?
? ? createLineString ?([Lcom/groupbyinc/flux/common/vividsolutions/jts/geom/Coordinate;)Lcom/groupbyinc/flux/common/vividsolutions/jts/geom/LineString; ? ?
? ? jtsGeometry ?(Lcom/groupbyinc/flux/common/vividsolutions/jts/geom/Geometry;)Lcom/groupbyinc/flux/common/locationtech/spatial4j/shape/jts/JtsGeometry; ? ?
? geometry =Lcom/groupbyinc/flux/common/vividsolutions/jts/geom/Geometry; lineStrings parts VLjava/util/ArrayList; QLjava/util/Iterator; Ljava/util/Iterator; hashCode java/lang/Object ? java/util/Objects ? hash ([Ljava/lang/Object;)I ? ?
? ? equals getClass ()Ljava/lang/Class; ? ?
? ? '(Ljava/lang/Object;Ljava/lang/Object;)Z ? ?
? ? obj Ljava/lang/Object; other MULTILINESTRING ? ? Signature Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions LocalVariableTypeTable
SourceFile InnerClasses ! ? ? B *? *? Y? ? ? ? ? * ( + ? ? /*? *? Y? ? +? &=>? *? (Y+? *? .W???? ? * / 0 / / 1 2 3 0 ? 0 ( 1 2 3 ( 2 . 5 ? ? " ? ? 4 5 ? ? /+*? ? 7? =*? ? AM,? G ? ,? K ? (N-+? M??? ? &