Package okio
Class Options
- All Implemented Interfaces:
Iterable<ByteString>,Collection<ByteString>,List<ByteString>,RandomAccess,SequencedCollection<ByteString>
An indexed set of values that may be read with
BufferedSource.select(okio.Options).-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Method Summary
Modifier and TypeMethodDescriptionget(int i) static Optionsof(ByteString... byteStrings) final intsize()Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListMethods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
addAll, addFirst, addLast, contains, containsAll, getFirst, getLast, isEmpty, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, sort, spliterator, toArray, toArray
-
Method Details
-
of
-
get
- Specified by:
getin interfaceList<ByteString>- Specified by:
getin classAbstractList<ByteString>
-
size
public final int size()- Specified by:
sizein interfaceCollection<ByteString>- Specified by:
sizein interfaceList<ByteString>- Specified by:
sizein classAbstractCollection<ByteString>
-