Package io.aether.utils.flow
Interface FlowByte
-
- All Superinterfaces:
it.unimi.dsi.fastutil.bytes.ByteIterable,it.unimi.dsi.fastutil.bytes.ByteIterator,java.lang.Iterable<java.lang.Byte>,java.util.Iterator<java.lang.Byte>,java.util.PrimitiveIterator<java.lang.Byte,it.unimi.dsi.fastutil.bytes.ByteConsumer>
- All Known Subinterfaces:
FlowCompletedByte
public interface FlowByte extends it.unimi.dsi.fastutil.bytes.ByteIterator, it.unimi.dsi.fastutil.bytes.ByteIterable
-
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default FlowByteadd(byte value)default FlowByteaddAll(FlowByte values)default FlowByteaddAll(it.unimi.dsi.fastutil.bytes.ByteIterable values)default FlowByteaddAll(it.unimi.dsi.fastutil.bytes.ByteIterator values)default FlowByteaddAllEls(byte... values)default booleanallMatch(APredicateByte p)default booleananyMatch(APredicateByte p)default booleananyMatchValue(byte p)default @NotNull FlowByteapply(AConsumerByte c)default Flow<java.lang.Byte>box()default FlowBytedistinct()default @NotNull FlowBytefilter(@Nullable APredicateByte predicate)default @NotNull FlowBytefilterNot(@Nullable APredicateByte predicate)default voidforeach(AConsumer<java.lang.Byte> c)default bytegetFirst()default bytegetFirst(APredicateByte p)default bytegetFirstOr(byte def)default @NotNull FlowByteifEmpty(ARunnable task)default @NotNull FlowByteifEmpty(java.lang.Exception error)default @NotNull FlowByteignoreError(java.lang.Class<? extends java.lang.Exception> ee)default @NotNull it.unimi.dsi.fastutil.bytes.ByteIteratoriterator()default java.lang.Stringjoin()default AStringjoin(AString sb, java.lang.String delimer)default java.lang.Stringjoin(AFunctionL2O<java.lang.Object> preparer, java.lang.String delimer)default java.lang.Stringjoin(java.lang.String delimer)default java.lang.Stringjoin(java.lang.String delimer, java.lang.String prefix, java.lang.String postfix)default @NotNull FlowLongmap(@NotNull AFunctionB2L f)default <E> @NotNull Flow<E>map(@NotNull AFunctionL2O<E> f)default FlowIntmapToUInt()default bytemax(AComparatorByte comparator)default bytemin(AComparatorByte comparator)default booleannoneMatch(APredicateByte p)default booleannoneMatchValue(byte p)static FlowByteof()static @NotNull FlowByteof(byte... array)static @NotNull FlowByteof(@NotNull FlowByte stream)static @NotNull FlowByteof(@NotNull it.unimi.dsi.fastutil.bytes.ByteIterable iterable)static @NotNull FlowByteof(@NotNull it.unimi.dsi.fastutil.bytes.ByteIterator iterator)static @NotNull FlowByteof(@NotNull it.unimi.dsi.fastutil.bytes.ByteList collection)static @NotNull FlowByteof(@NotNull it.unimi.dsi.fastutil.bytes.ByteSet collection)static voidquickSort(byte[] source, int leftBorder, int rightBorder, AComparatorByte comparator)default @NotNull FlowBytesort(@NotNull AComparatorByte comparator)default <E> EstreamTo(AFunction<FlowByte,E> consumer)default voidto(AConsumerByte consumer)default byte @NotNull []toArray()default <E extends java.util.Collection<java.lang.Byte>>
EtoCollection(E collection)default @NotNull it.unimi.dsi.fastutil.bytes.ByteIterabletoIterable()default @NotNull it.unimi.dsi.fastutil.bytes.ByteListtoList()default <K,V>
@NotNull java.util.Map<K,V>toMap(AFunctionB2O<K> keyFactory, AFunctionB2O<V> valFactory)default <V> @NotNull it.unimi.dsi.fastutil.ints.Int2ObjectMap<V>toMapI2O(AFunctionL2I keyFactory, AFunctionL2O<V> valFactory)default <V> @NotNull it.unimi.dsi.fastutil.longs.Long2ObjectMap<V>toMapL2O(AFunctionB2L keyFactory, AFunctionB2O<V> valFactory)default <K> @NotNull it.unimi.dsi.fastutil.objects.Object2IntMap<K>toMapO2I(AFunctionL2O<K> keyFactory, AFunctionL2I valFactory)default @NotNull it.unimi.dsi.fastutil.bytes.ByteSettoSet()default @NotNull ASupplierBytetoSupplier()-
Methods inherited from interface it.unimi.dsi.fastutil.bytes.ByteIterable
forEach, forEach, forEach, intIterator, intSpliterator, spliterator
-
-
-
-
Field Detail
-
EMPTY_AR
static final byte[] EMPTY_AR
-
EMPTY
static final FlowByte EMPTY
-
-
Method Detail
-
box
default Flow<java.lang.Byte> box()
-
of
@NotNull static @NotNull FlowByte of(byte... array)
-
of
@NotNull static @NotNull FlowByte of(@NotNull @NotNull it.unimi.dsi.fastutil.bytes.ByteIterable iterable)
-
of
@NotNull static @NotNull FlowByte of(@NotNull @NotNull it.unimi.dsi.fastutil.bytes.ByteSet collection)
-
of
@NotNull static @NotNull FlowByte of(@NotNull @NotNull it.unimi.dsi.fastutil.bytes.ByteList collection)
-
of
@NotNull static @NotNull FlowByte of(@NotNull @NotNull it.unimi.dsi.fastutil.bytes.ByteIterator iterator)
-
of
static FlowByte of()
-
quickSort
static void quickSort(byte[] source, int leftBorder, int rightBorder, AComparatorByte comparator)
-
iterator
@NotNull default @NotNull it.unimi.dsi.fastutil.bytes.ByteIterator iterator()
- Specified by:
iteratorin interfaceit.unimi.dsi.fastutil.bytes.ByteIterable- Specified by:
iteratorin interfacejava.lang.Iterable<java.lang.Byte>
-
anyMatch
default boolean anyMatch(APredicateByte p)
-
noneMatch
default boolean noneMatch(APredicateByte p)
-
add
default FlowByte add(byte value)
-
noneMatchValue
default boolean noneMatchValue(byte p)
-
anyMatchValue
default boolean anyMatchValue(byte p)
-
allMatch
default boolean allMatch(APredicateByte p)
-
map
@NotNull default <E> @NotNull Flow<E> map(@NotNull @NotNull AFunctionL2O<E> f)
-
map
@NotNull default @NotNull FlowLong map(@NotNull @NotNull AFunctionB2L f)
-
apply
@NotNull default @NotNull FlowByte apply(AConsumerByte c)
-
addAllEls
default FlowByte addAllEls(byte... values)
-
addAll
default FlowByte addAll(it.unimi.dsi.fastutil.bytes.ByteIterator values)
-
addAll
default FlowByte addAll(it.unimi.dsi.fastutil.bytes.ByteIterable values)
-
foreach
default void foreach(AConsumer<java.lang.Byte> c)
-
toArray
default byte @NotNull [] toArray()
-
toCollection
default <E extends java.util.Collection<java.lang.Byte>> E toCollection(@NotNull E collection)
-
toCollection
default <E extends it.unimi.dsi.fastutil.bytes.ByteCollection> E toCollection(@NotNull E collection)
-
filter
@NotNull default @NotNull FlowByte filter(@Nullable @Nullable APredicateByte predicate)
-
filterNot
@NotNull default @NotNull FlowByte filterNot(@Nullable @Nullable APredicateByte predicate)
-
ifEmpty
@NotNull default @NotNull FlowByte ifEmpty(java.lang.Exception error)
-
ignoreError
@NotNull default @NotNull FlowByte ignoreError(java.lang.Class<? extends java.lang.Exception> ee)
-
sort
@NotNull default @NotNull FlowByte sort(@NotNull @NotNull AComparatorByte comparator)
-
toIterable
@NotNull default @NotNull it.unimi.dsi.fastutil.bytes.ByteIterable toIterable()
-
toList
@NotNull default @NotNull it.unimi.dsi.fastutil.bytes.ByteList toList()
-
toSet
@NotNull default @NotNull it.unimi.dsi.fastutil.bytes.ByteSet toSet()
-
to
default void to(AConsumerByte consumer)
-
toSupplier
@NotNull default @NotNull ASupplierByte toSupplier()
-
toMap
@NotNull default <K,V> @NotNull java.util.Map<K,V> toMap(AFunctionB2O<K> keyFactory, AFunctionB2O<V> valFactory)
-
toMapI2O
@NotNull default <V> @NotNull it.unimi.dsi.fastutil.ints.Int2ObjectMap<V> toMapI2O(AFunctionL2I keyFactory, AFunctionL2O<V> valFactory)
-
toMapO2I
@NotNull default <K> @NotNull it.unimi.dsi.fastutil.objects.Object2IntMap<K> toMapO2I(AFunctionL2O<K> keyFactory, AFunctionL2I valFactory)
-
toMapL2O
@NotNull default <V> @NotNull it.unimi.dsi.fastutil.longs.Long2ObjectMap<V> toMapL2O(AFunctionB2L keyFactory, AFunctionB2O<V> valFactory)
-
join
default java.lang.String join(java.lang.String delimer)
-
distinct
default FlowByte distinct()
-
join
default java.lang.String join(AFunctionL2O<java.lang.Object> preparer, java.lang.String delimer)
-
getFirstOr
default byte getFirstOr(byte def)
-
getFirst
default byte getFirst()
-
getFirst
default byte getFirst(APredicateByte p)
-
join
default java.lang.String join()
-
join
default java.lang.String join(java.lang.String delimer, java.lang.String prefix, java.lang.String postfix)
-
min
default byte min(AComparatorByte comparator)
-
max
default byte max(AComparatorByte comparator)
-
mapToUInt
default FlowInt mapToUInt()
-
-