Iterable<ByteString>
, Collection<ByteString>
, List<ByteString>
, RandomAccess
public final class Options extends AbstractList<ByteString> implements RandomAccess
BufferedSource.select(okio.Options)
.modCount
Modifier and Type | Method | Description |
---|---|---|
ByteString |
get(int i) |
|
static Options |
of(ByteString... byteStrings) |
|
int |
size() |
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
parallelStream, removeIf, stream
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
public static Options of(ByteString... byteStrings)
public ByteString get(int i)
get
in interface List<ByteString>
get
in class AbstractList<ByteString>
public final int size()
size
in interface Collection<ByteString>
size
in interface List<ByteString>
size
in class AbstractCollection<ByteString>
Copyright © 2018. All rights reserved.