
com.google.common.collect.ImmutableList.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plantuml Show documentation
Show all versions of plantuml Show documentation
PlantUML is a component that allows to quickly write :
* sequence diagram,
* use case diagram,
* class diagram,
* activity diagram,
* component diagram,
* state diagram
* object diagram
???? 4?
+com/google/common/collect/CollectCollectors toImmutableList ()Ljava/util/stream/Collector;
.com/google/common/collect/RegularImmutableList EMPTY )Lcom/google/common/collect/ImmutableList; 0com/google/common/collect/SingletonImmutableList
(Ljava/lang/Object;)V java/lang/Object
'com/google/common/collect/ImmutableList construct >([Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList; java/lang/Integer??? /the total number of elements must fit in an int
! " # $ % $com/google/common/base/Preconditions
checkArgument (ZLjava/lang/Object;)V
' ( ) * + java/lang/System arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V
! - . / checkNotNull &(Ljava/lang/Object;)Ljava/lang/Object; 1 java/util/Collection
3 4 5 copyOf A(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableList; 7 8 9 : ; java/lang/Iterable iterator ()Ljava/util/Iterator;
= 4 > ?(Ljava/util/Iterator;)Lcom/google/common/collect/ImmutableList; @ -com/google/common/collect/ImmutableCollection
? B C D asList +()Lcom/google/common/collect/ImmutableList;
F G H
isPartialView ()Z
J K L toArray ()[Ljava/lang/Object;
N O asImmutableList 0 J R S T U H java/util/Iterator hasNext
W X D of R Z [ \ next ()Ljava/lang/Object;
^ X _ =(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList; a /com/google/common/collect/ImmutableList$Builder
` c d ()V
` f g h add E(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList$Builder;
` j k l addAll G(Ljava/util/Iterator;)Lcom/google/common/collect/ImmutableList$Builder;
` n o D build
q r s t \ [Ljava/lang/Object; clone v java/lang/Comparable
x y z K { #com/google/common/collect/Iterables <(Ljava/lang/Iterable;[Ljava/lang/Object;)[Ljava/lang/Object; } [Ljava/lang/Comparable;
? ? ? ? &com/google/common/collect/ObjectArrays checkElementsNotNull (([Ljava/lang/Object;)[Ljava/lang/Object;
? ? ? ? ? java/util/Arrays sort ([Ljava/lang/Object;)V
x ? K ? )(Ljava/lang/Iterable;)[Ljava/lang/Object;
? ? ? ? ,([Ljava/lang/Object;Ljava/util/Comparator;)V
? O ? ?([Ljava/lang/Object;I)Lcom/google/common/collect/ImmutableList;
? ? ? ? / java/util/Objects requireNonNull
? ? 4 ? )([Ljava/lang/Object;I)[Ljava/lang/Object;
? ?
? c
? ? ? listIterator 6()Lcom/google/common/collect/UnmodifiableListIterator;
? ? ? 7(I)Lcom/google/common/collect/UnmodifiableListIterator; ? )com/google/common/collect/ImmutableList$1
? ? ? size ()I
? ? ? .(Lcom/google/common/collect/ImmutableList;II)V
? ? ? get (I)Ljava/lang/Object; ? ? ? ? java/util/function/Consumer accept
? ? ? ? ? com/google/common/collect/Lists indexOfImpl %(Ljava/util/List;Ljava/lang/Object;)I
? ? ? ? lastIndexOfImpl
? ? ? indexOf (Ljava/lang/Object;)I
! ? ? ? checkPositionIndexes (III)V
? ? ? subListUnchecked -(II)Lcom/google/common/collect/ImmutableList; ? /com/google/common/collect/ImmutableList$SubList
? ? ? 'java/lang/UnsupportedOperationException
? c ? ? ? apply K(Lcom/google/common/collect/ImmutableList;)Ljava/util/function/IntFunction;
? ? ? ? ? -com/google/common/collect/CollectSpliterators indexed ;(IILjava/util/function/IntFunction;)Ljava/util/Spliterator; ?