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(Options).-
Field Summary
Fields inherited from class AbstractList
modCount -
Method Summary
Modifier and TypeMethodDescriptionget(int i) static Optionsof(ByteString... byteStrings) final intsize()Methods inherited from class AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListMethods inherited from class AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface 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>
-