org.eclipse.elk.alg.common.compaction.Scanline.class Maven / Gradle / Ivy
???? 7 g .org/eclipse/elk/alg/common/compaction/Scanline java/lang/Object points Ljava/util/List; Signature Ljava/util/List;
comparator Ljava/util/Comparator; Ljava/util/Comparator;
eventHandlers TLjava/util/List;>; =(Ljava/util/List;Ljava/util/Comparator;Ljava/lang/Iterable;)V ?(Ljava/util/List;Ljava/util/Comparator;Ljava/lang/Iterable;>;)V Code
()V
com/google/common/collect/Lists newArrayList +(Ljava/lang/Iterable;)Ljava/util/ArrayList; LineNumberTable LocalVariableTable this 0Lorg/eclipse/elk/alg/common/compaction/Scanline; Ljava/lang/Iterable; LocalVariableTypeTable 5Lorg/eclipse/elk/alg/common/compaction/Scanline; XLjava/lang/Iterable;>; execute A(Ljava/lang/Iterable;Ljava/util/Comparator;Ljava/lang/Iterable;)V ?(Ljava/lang/Iterable;Ljava/util/Comparator;Ljava/lang/Iterable;>;)V
-
/ 0 go copy Ljava/lang/Iterable; j(Ljava/lang/Iterable;Ljava/util/Comparator;Lorg/eclipse/elk/alg/common/compaction/Scanline$EventHandler;)V ?(Ljava/lang/Iterable;Ljava/util/Comparator;Lorg/eclipse/elk/alg/common/compaction/Scanline$EventHandler;)V 6 ;org/eclipse/elk/alg/common/compaction/Scanline$EventHandler
8 : 9 java/util/Arrays ; < asList %([Ljava/lang/Object;)Ljava/util/List;
> ) * eventHandler =Lorg/eclipse/elk/alg/common/compaction/Scanline$EventHandler; BLorg/eclipse/elk/alg/common/compaction/Scanline$EventHandler;
C E D java/util/Collections F G sort )(Ljava/util/List;Ljava/util/Comparator;)V I K J java/util/List L M iterator ()Ljava/util/Iterator; O Q P java/util/Iterator R S next ()Ljava/lang/Object; 5 U V W handle (Ljava/lang/Object;)V O Y Z [ hasNext ()Z p Ljava/lang/Object; h TT;
StackMapTable
SourceFile
Scanline.java (Ljava/lang/Object; InnerClasses EventHandler NestMembers 1
? *? *,? *+? *-? ? ? ! " $ % &