Java com.google.common.collect ImmutableList fields, constructors, methods, implement or subclass

Example usage for Java com.google.common.collect ImmutableList fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.common.collect ImmutableList.

The text is from its open source code.

Method

ImmutableListasList()
Builderbuilder()
booleancontains(Object o)
Returns true if this list contains the specified element.
booleancontainsAll(Collection c)
Returns true if this list contains all of the elements of the specified collection.
ImmutableListcopyOf(Iterable elements)
ImmutableListcopyOf(Iterator elements)
ImmutableListcopyOf(Collection elements)
ImmutableListcopyOf(E[] elements)
booleanequals(@Nullable Object obj)
voidforEach(Consumer action)
Performs the given action for each element of the Iterable until all elements have been processed or the action throws an exception.
Eget(int index)
Returns the element at the specified position in this list.
inthashCode()
intindexOf(@Nullable Object object)
booleanisEmpty()
Returns true if this list contains no elements.
UnmodifiableIteratoriterator()
UnmodifiableListIteratorlistIterator(int index)
ImmutableListof(E element)
ImmutableListof(E e1, E e2, E e3, E e4, E e5, E e6)
ImmutableListof(E e1, E e2)
ImmutableListof()
ImmutableListof(E e1, E e2, E e3, E e4, E e5)
ImmutableListof(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9, E e10)
ImmutableListof(E e1, E e2, E e3)
ImmutableListof(E e1, E e2, E e3, E e4)
ImmutableListof(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8)
ImmutableListof(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9, E e10, E e11, E e12, E... others)
ImmutableListof(E e1, E e2, E e3, E e4, E e5, E e6, E e7)
ImmutableListof(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9)
ImmutableListof(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9, E e10, E e11)
StreamparallelStream()
Returns a possibly parallel Stream with this collection as its source.
ImmutableListreverse()
intsize()
Returns the number of elements in this list.
Streamstream()
Returns a sequential Stream with this collection as its source.
ImmutableListsubList(int fromIndex, int toIndex)
T[]toArray(T[] a)
Returns an array containing all of the elements in this list in proper sequence (from first to last element); the runtime type of the returned array is that of the specified array.
Object[]toArray()
Returns an array containing all of the elements in this list in proper sequence (from first to last element).
StringtoString()
Returns a string representation of the object.