de.tsl2.nano.core.util.CollectionUtil.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tsl2.nano.terminal Show documentation
Show all versions of tsl2.nano.terminal Show documentation
TSL2 Framework Terminal (Console Application Framework named SIShell, providing Actions, Options, Commands, Inputs, lots of Selectors, PlatformManagement)
???? 4?
1
23
45 }
67
89:
`;<
=>?>@ABAC
8D
4E ?
iF
iGHI
1
JK
L
M
N
OP
QR
ST
iU
iV
1
W
iXY
SZ>[\
(1
]^
M
i_ i`ab
.c idefg
hijk
7lm[nopq
rs>t
8u
6v ?
`w
xMy
z
x{ %W|}
JN
I~
I?
N1
IB
I?>W
I??
???
VN
??
?? %??@?????@???A? %??
d1
??
??
???
8?
?? InnerClasses LOG Lorg/apache/commons/logging/Log; $assertionsDisabled Z ()V Code LineNumberTable LocalVariableTable this 'Lde/tsl2/nano/core/util/CollectionUtil; asArray (([Ljava/lang/Object;)[Ljava/lang/Object; i I objects [Ljava/lang/Object; type Ljava/lang/Class; LocalVariableTypeTable [TT; Ljava/lang/Class;
StackMapTable? Signature ([TT;)[TT; asList *(Ljava/lang/Object;)Ljava/util/Collection; array Ljava/lang/Object; asStandardArrayList .(Ljava/util/Collection;)Ljava/util/Collection; list Ljava/util/Collection; Ljava/util/Collection<*>; 4(Ljava/util/Collection<*>;)Ljava/util/Collection<*>; hasNoValues (Ljava/util/Collection;)Z object c? split *([Ljava/lang/Object;I)[[Ljava/lang/Object; origin itemCount arrCount splitted [[Ljava/lang/Object; [[TT; "([TT;I)[[TT; copyOfRange *([Ljava/lang/Object;II)[Ljava/lang/Object; original from to "([TT;II)[TT; ;([Ljava/lang/Object;IILjava/lang/Class;)[Ljava/lang/Object; newType newLength copy [TU; Ljava/lang/Class<+[TT;>; N([TU;IILjava/lang/Class<+[TT;>;)[TT; concat )([[Ljava/lang/Object;)[Ljava/lang/Object; arrays !([[TT;)[TT; :(Ljava/lang/Class;[[Ljava/lang/Object;)[Ljava/lang/Object; 9(Ljava/lang/Class<+[TT;>;[[TT;)[TT; concatNew <([Ljava/lang/Object;[[Ljava/lang/Object;)[Ljava/lang/Object; newArray dest [[TU; 9([TT;[[TU;)[TT; getList &(Ljava/util/Iterator;)Ljava/util/List; iterator Ljava/util/Iterator; Ljava/util/ArrayList; Ljava/util/Iterator; Ljava/util/ArrayList;< F(Ljava/util/Iterator;)Ljava/util/List; asListCombined &([[Ljava/lang/Object;)Ljava/util/List; A([[Ljava/lang/Object;)Ljava/util/List; addAll B(Ljava/util/Collection;[[Ljava/lang/Object;)Ljava/util/Collection;
collection TC; P;T:Ljava/lang/Object;>(TC;[[Ljava/lang/Object;)TC;
getSortedList R(Ljava/util/Collection;Ljava/text/Format;Ljava/lang/String;)Ljava/util/Collection; formatter Ljava/text/Format; name Ljava/lang/String; X(Ljava/util/Collection<*>;Ljava/text/Format;Ljava/lang/String;)Ljava/util/Collection<*>; W(Ljava/util/Collection;Ljava/util/Comparator;Ljava/lang/String;Z)Ljava/util/Collection; sortedSet Ljava/util/SortedSet; slist Ljava/util/List;
comparator Ljava/util/Comparator; createSortedSet Ljava/util/SortedSet; Ljava/util/List; Ljava/util/Collection; Ljava/util/Comparator;Y |(Ljava/util/Collection;Ljava/util/Comparator;Ljava/lang/String;Z)Ljava/util/Collection;
getEnumValues #(Ljava/lang/Class;)Ljava/util/List; enumClass Ljava/lang/Class; F;>(Ljava/lang/Class;)Ljava/util/List; findEnum 5(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum; e Ljava/lang/Enum; enumToString
enumConstants [Ljava/lang/Enum; TE; [TE;? F;>(Ljava/lang/Class;Ljava/lang/String;)TE; getEnumNames #([Ljava/lang/Enum;)Ljava/util/List; enums strList $Ljava/util/List; 7([Ljava/lang/Enum;)Ljava/util/List; swap ([Ljava/lang/Object;II)V
indexSwap1
indexSwap2 t load <(Ljava/lang/String;Ljava/lang/String;)Ljava/util/Collection; sc Ljava/util/Scanner; Ljava/lang/Exception; file delimiter|?? write =(Ljava/lang/String;Ljava/lang/String;Ljava/util/Collection;)V w Ljava/io/Writer;? get )(Ljava/lang/Iterable;I)Ljava/lang/Object; item iterable Ljava/lang/Iterable; position TT; Ljava/lang/Iterable;3? 5(Ljava/lang/Iterable;I)TT; removeEmptyEntries (Ljava/util/Map;)I k map Ljava/util/Map; keys Ljava/util/Set; count 5Ljava/util/Map; #Ljava/util/Set;? 8(Ljava/util/Map;)I contains (([Ljava/lang/Object;Ljava/lang/Object;)Z element indexOf (([Ljava/lang/Object;Ljava/lang/Object;)I fuzzyFind 9(Ljava/util/Collection;Ljava/lang/String;)Ljava/util/Map; match D src
expression Ljava/util/HashMap; *Ljava/util/HashMap;? k(Ljava/util/Collection;Ljava/lang/String;)Ljava/util/Map;
SourceFile CollectionUtil.java q r?? java/lang/Object???? ? ???? java.util.Arrays$ArrayList?? java/util/ArrayList q???? ??????????? ? ? ? ? "java/lang/IllegalArgumentException java/lang/StringBuilder?? > ???? q?????????? ? ? ? ??? ? ? java/util/List ?? ? ? $de/tsl2/nano/core/util/DefaultFormat??? ? ? o p java/lang/AssertionError +collection and comparator must not be null! q? m n sorting collection of ' ! in a new TreeSet instance (size:
, comparator:????? java/util/TreeSet q?? sorting finished ( ) #sorting (one time!) collection of ' in the current instance (size:???? r??????? can't be found as enum of q? ?? java/util/Scanner java/io/File q??? java/util/LinkedList??? r java/lang/Exception??? java/io/FileWriter?????
is empty! position must be between 0 and ???? java/lang/String?? r"? 'de/tsl2/nano/core/util/CollectionUtil$1????????? %de/tsl2/nano/core/util/CollectionUtil????? java/lang/Class java/util/Iterator java/util/Collection java/io/Writer java/lang/Iterable
java/util/Set java/util/HashMap getClass ()Ljava/lang/Class; java/lang/reflect/Array newInstance &(Ljava/lang/Class;I)Ljava/lang/Object; de/tsl2/nano/core/util/Util getName ()Ljava/lang/String; equals (Ljava/lang/Object;)Z (Ljava/util/Collection;)V size ()I ()Ljava/util/Iterator; hasNext ()Z next ()Ljava/lang/Object; getComponentType '(Ljava/lang/Class;[I)Ljava/lang/Object; append (I)Ljava/lang/StringBuilder; -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString (Ljava/lang/String;)V java/lang/Math min (II)I java/lang/System arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V java/util/Arrays copyOf )([Ljava/lang/Object;I)[Ljava/lang/Object; add %([Ljava/lang/Object;)Ljava/util/List; !de/tsl2/nano/core/util/NumberUtil getNumberAndStringComparator *(Ljava/text/Format;)Ljava/util/Comparator; (Ljava/lang/Object;)V -(Ljava/lang/Object;)Ljava/lang/StringBuilder; org/apache/commons/logging/Log debug (Ljava/util/Comparator;)V java/util/SortedSet java/util/Collections sort )(Ljava/util/List;Ljava/util/Comparator;)V clear getEnumConstants ()[Ljava/lang/Object; isEmpty toLowerCase java/lang/Enum (I)V (Ljava/io/File;)V useDelimiter '(Ljava/lang/String;)Ljava/util/Scanner; close "de/tsl2/nano/core/ManagedException forward ,(Ljava/lang/Throwable;)Ljava/lang/Throwable; *(Ljava/lang/CharSequence;)Ljava/io/Writer; (I)Ljava/lang/Object;
java/util/Map keySet ()Ljava/util/Set; &(Ljava/lang/Object;)Ljava/lang/Object; remove (Ljava/lang/Object;)I !de/tsl2/nano/core/util/StringUtil
fuzzyMatch '(Ljava/lang/Object;Ljava/lang/String;)D java/lang/Double valueOf (D)Ljava/lang/Double; put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; desiredAssertionStatus de/tsl2/nano/core/log/LogFactory getLog 3(Ljava/lang/Class;)Lorg/apache/commons/logging/Log; ! i m n o p q r s / *? ? t + u v w ? x y s ? 1L=*?? *2?
*2? L????+? L+*?? ? ? ? t " 5 6
7 8 6 ; ! <