Interface PrimitiveIterable

All Known Subinterfaces:
BooleanBag, BooleanIterable, BooleanList, BooleanSet, BooleanStack, BooleanValuesMap, ByteBag, ByteBooleanMap, ByteByteMap, ByteCharMap, ByteDoubleMap, ByteFloatMap, ByteIntMap, ByteIterable, ByteList, ByteLongMap, ByteSet, ByteShortMap, ByteStack, ByteValuesMap, CharBag, CharBooleanMap, CharByteMap, CharCharMap, CharDoubleMap, CharFloatMap, CharIntMap, CharIterable, CharList, CharLongMap, CharSet, CharShortMap, CharStack, CharValuesMap, DoubleBag, DoubleBooleanMap, DoubleByteMap, DoubleCharMap, DoubleDoubleMap, DoubleFloatMap, DoubleIntMap, DoubleIterable, DoubleList, DoubleLongMap, DoubleSet, DoubleShortMap, DoubleStack, DoubleValuesMap, FloatBag, FloatBooleanMap, FloatByteMap, FloatCharMap, FloatDoubleMap, FloatFloatMap, FloatIntMap, FloatIterable, FloatList, FloatLongMap, FloatSet, FloatShortMap, FloatStack, FloatValuesMap, ImmutableBooleanBag, ImmutableBooleanCollection, ImmutableBooleanList, ImmutableBooleanSet, ImmutableBooleanStack, ImmutableByteBag, ImmutableByteBooleanMap, ImmutableByteByteMap, ImmutableByteCharMap, ImmutableByteCollection, ImmutableByteDoubleMap, ImmutableByteFloatMap, ImmutableByteIntMap, ImmutableByteList, ImmutableByteLongMap, ImmutableByteSet, ImmutableByteShortMap, ImmutableByteStack, ImmutableCharBag, ImmutableCharBooleanMap, ImmutableCharByteMap, ImmutableCharCharMap, ImmutableCharCollection, ImmutableCharDoubleMap, ImmutableCharFloatMap, ImmutableCharIntMap, ImmutableCharList, ImmutableCharLongMap, ImmutableCharSet, ImmutableCharShortMap, ImmutableCharStack, ImmutableDoubleBag, ImmutableDoubleBooleanMap, ImmutableDoubleByteMap, ImmutableDoubleCharMap, ImmutableDoubleCollection, ImmutableDoubleDoubleMap, ImmutableDoubleFloatMap, ImmutableDoubleIntMap, ImmutableDoubleList, ImmutableDoubleLongMap, ImmutableDoubleSet, ImmutableDoubleShortMap, ImmutableDoubleStack, ImmutableFloatBag, ImmutableFloatBooleanMap, ImmutableFloatByteMap, ImmutableFloatCharMap, ImmutableFloatCollection, ImmutableFloatDoubleMap, ImmutableFloatFloatMap, ImmutableFloatIntMap, ImmutableFloatList, ImmutableFloatLongMap, ImmutableFloatSet, ImmutableFloatShortMap, ImmutableFloatStack, ImmutableIntBag, ImmutableIntBooleanMap, ImmutableIntByteMap, ImmutableIntCharMap, ImmutableIntCollection, ImmutableIntDoubleMap, ImmutableIntFloatMap, ImmutableIntIntMap, ImmutableIntList, ImmutableIntLongMap, ImmutableIntSet, ImmutableIntShortMap, ImmutableIntStack, ImmutableLongBag, ImmutableLongBooleanMap, ImmutableLongByteMap, ImmutableLongCharMap, ImmutableLongCollection, ImmutableLongDoubleMap, ImmutableLongFloatMap, ImmutableLongIntMap, ImmutableLongList, ImmutableLongLongMap, ImmutableLongSet, ImmutableLongShortMap, ImmutableLongStack, ImmutableObjectBooleanMap<K>, ImmutableObjectByteMap<K>, ImmutableObjectCharMap<K>, ImmutableObjectDoubleMap<K>, ImmutableObjectFloatMap<K>, ImmutableObjectIntMap<K>, ImmutableObjectLongMap<K>, ImmutableObjectShortMap<K>, ImmutableShortBag, ImmutableShortBooleanMap, ImmutableShortByteMap, ImmutableShortCharMap, ImmutableShortCollection, ImmutableShortDoubleMap, ImmutableShortFloatMap, ImmutableShortIntMap, ImmutableShortList, ImmutableShortLongMap, ImmutableShortSet, ImmutableShortShortMap, ImmutableShortStack, IntBag, IntBooleanMap, IntByteMap, IntCharMap, IntDoubleMap, IntFloatMap, IntIntMap, IntIterable, IntList, IntLongMap, IntSet, IntShortMap, IntStack, IntValuesMap, LazyBooleanIterable, LazyByteIterable, LazyCharIterable, LazyDoubleIterable, LazyFloatIterable, LazyIntIterable, LazyLongIterable, LazyShortIterable, LongBag, LongBooleanMap, LongByteMap, LongCharMap, LongDoubleMap, LongFloatMap, LongIntMap, LongIterable, LongList, LongLongMap, LongSet, LongShortMap, LongStack, LongValuesMap, MutableBooleanBag, MutableBooleanCollection, MutableBooleanList, MutableBooleanSet, MutableBooleanStack, MutableBooleanValuesMap, MutableByteBag, MutableByteBooleanMap, MutableByteByteMap, MutableByteCharMap, MutableByteCollection, MutableByteDoubleMap, MutableByteFloatMap, MutableByteIntMap, MutableByteList, MutableByteLongMap, MutableByteSet, MutableByteShortMap, MutableByteStack, MutableByteValuesMap, MutableCharBag, MutableCharBooleanMap, MutableCharByteMap, MutableCharCharMap, MutableCharCollection, MutableCharDoubleMap, MutableCharFloatMap, MutableCharIntMap, MutableCharList, MutableCharLongMap, MutableCharSet, MutableCharShortMap, MutableCharStack, MutableCharValuesMap, MutableDoubleBag, MutableDoubleBooleanMap, MutableDoubleByteMap, MutableDoubleCharMap, MutableDoubleCollection, MutableDoubleDoubleMap, MutableDoubleFloatMap, MutableDoubleIntMap, MutableDoubleList, MutableDoubleLongMap, MutableDoubleSet, MutableDoubleShortMap, MutableDoubleStack, MutableDoubleValuesMap, MutableFloatBag, MutableFloatBooleanMap, MutableFloatByteMap, MutableFloatCharMap, MutableFloatCollection, MutableFloatDoubleMap, MutableFloatFloatMap, MutableFloatIntMap, MutableFloatList, MutableFloatLongMap, MutableFloatSet, MutableFloatShortMap, MutableFloatStack, MutableFloatValuesMap, MutableIntBag, MutableIntBooleanMap, MutableIntByteMap, MutableIntCharMap, MutableIntCollection, MutableIntDoubleMap, MutableIntFloatMap, MutableIntIntMap, MutableIntList, MutableIntLongMap, MutableIntSet, MutableIntShortMap, MutableIntStack, MutableIntValuesMap, MutableLongBag, MutableLongBooleanMap, MutableLongByteMap, MutableLongCharMap, MutableLongCollection, MutableLongDoubleMap, MutableLongFloatMap, MutableLongIntMap, MutableLongList, MutableLongLongMap, MutableLongSet, MutableLongShortMap, MutableLongStack, MutableLongValuesMap, MutableObjectBooleanMap<K>, MutableObjectByteMap<K>, MutableObjectCharMap<K>, MutableObjectDoubleMap<K>, MutableObjectFloatMap<K>, MutableObjectIntMap<K>, MutableObjectLongMap<K>, MutableObjectShortMap<K>, MutableShortBag, MutableShortBooleanMap, MutableShortByteMap, MutableShortCharMap, MutableShortCollection, MutableShortDoubleMap, MutableShortFloatMap, MutableShortIntMap, MutableShortList, MutableShortLongMap, MutableShortSet, MutableShortShortMap, MutableShortStack, MutableShortValuesMap, ObjectBooleanMap<K>, ObjectByteMap<K>, ObjectCharMap<K>, ObjectDoubleMap<K>, ObjectFloatMap<K>, ObjectIntMap<K>, ObjectLongMap<K>, ObjectShortMap<K>, OrderedBooleanIterable, OrderedByteIterable, OrderedCharIterable, OrderedDoubleIterable, OrderedFloatIterable, OrderedIntIterable, OrderedLongIterable, OrderedShortIterable, ReversibleBooleanIterable, ReversibleByteIterable, ReversibleCharIterable, ReversibleDoubleIterable, ReversibleFloatIterable, ReversibleIntIterable, ReversibleLongIterable, ReversibleShortIterable, ShortBag, ShortBooleanMap, ShortByteMap, ShortCharMap, ShortDoubleMap, ShortFloatMap, ShortIntMap, ShortIterable, ShortList, ShortLongMap, ShortSet, ShortShortMap, ShortStack, ShortValuesMap
All Known Implementing Classes:
AbstractBooleanIterable, AbstractBooleanStack, AbstractByteIterable, AbstractByteSet, AbstractByteStack, AbstractCharIterable, AbstractCharSet, AbstractCharStack, AbstractDoubleIterable, AbstractDoubleSet, AbstractDoubleStack, AbstractFloatIterable, AbstractFloatSet, AbstractFloatStack, AbstractImmutableByteSet, AbstractImmutableCharSet, AbstractImmutableDoubleSet, AbstractImmutableFloatSet, AbstractImmutableIntSet, AbstractImmutableLongSet, AbstractImmutableObjectBooleanMap, AbstractImmutableObjectByteMap, AbstractImmutableObjectCharMap, AbstractImmutableObjectDoubleMap, AbstractImmutableObjectFloatMap, AbstractImmutableObjectIntMap, AbstractImmutableObjectLongMap, AbstractImmutableObjectShortMap, AbstractImmutableShortSet, AbstractIntIterable, AbstractIntSet, AbstractIntStack, AbstractLazyBooleanIterable, AbstractLazyByteIterable, AbstractLazyCharIterable, AbstractLazyDoubleIterable, AbstractLazyFloatIterable, AbstractLazyIntIterable, AbstractLazyLongIterable, AbstractLazyShortIterable, AbstractLongIterable, AbstractLongSet, AbstractLongStack, AbstractMutableBooleanValuesMap, AbstractMutableByteKeySet, AbstractMutableByteValuesMap, AbstractMutableCharKeySet, AbstractMutableCharValuesMap, AbstractMutableDoubleKeySet, AbstractMutableDoubleValuesMap, AbstractMutableFloatKeySet, AbstractMutableFloatValuesMap, AbstractMutableIntKeySet, AbstractMutableIntValuesMap, AbstractMutableLongKeySet, AbstractMutableLongValuesMap, AbstractMutableShortKeySet, AbstractMutableShortValuesMap, AbstractShortIterable, AbstractShortSet, AbstractShortStack, AbstractSynchronizedBooleanCollection, AbstractSynchronizedByteCollection, AbstractSynchronizedCharCollection, AbstractSynchronizedDoubleCollection, AbstractSynchronizedFloatCollection, AbstractSynchronizedIntCollection, AbstractSynchronizedLongCollection, AbstractSynchronizedShortCollection, AbstractUnmodifiableBooleanCollection, AbstractUnmodifiableByteCollection, AbstractUnmodifiableCharCollection, AbstractUnmodifiableDoubleCollection, AbstractUnmodifiableFloatCollection, AbstractUnmodifiableIntCollection, AbstractUnmodifiableLongCollection, AbstractUnmodifiableShortCollection, BooleanArrayList, BooleanArrayStack, BooleanHashBag, BooleanHashSet, ByteArrayList, ByteArrayStack, ByteBooleanHashMap, ByteByteHashMap, ByteCharHashMap, ByteDoubleHashMap, ByteFloatHashMap, ByteHashBag, ByteHashSet, ByteIntHashMap, ByteLongHashMap, ByteShortHashMap, CharAdapter, CharArrayList, CharArrayStack, CharBooleanHashMap, CharByteHashMap, CharCharHashMap, CharDoubleHashMap, CharFloatHashMap, CharHashBag, CharHashSet, CharIntHashMap, CharLongHashMap, CharShortHashMap, CodePointAdapter, CodePointList, CollectBooleanIterable, CollectBooleanToBooleanIterable, CollectBooleanToByteIterable, CollectBooleanToCharIterable, CollectBooleanToDoubleIterable, CollectBooleanToFloatIterable, CollectBooleanToIntIterable, CollectBooleanToLongIterable, CollectBooleanToShortIterable, CollectByteIterable, CollectByteToBooleanIterable, CollectByteToByteIterable, CollectByteToCharIterable, CollectByteToDoubleIterable, CollectByteToFloatIterable, CollectByteToIntIterable, CollectByteToLongIterable, CollectByteToShortIterable, CollectCharIterable, CollectCharToBooleanIterable, CollectCharToByteIterable, CollectCharToCharIterable, CollectCharToDoubleIterable, CollectCharToFloatIterable, CollectCharToIntIterable, CollectCharToLongIterable, CollectCharToShortIterable, CollectDoubleIterable, CollectDoubleToBooleanIterable, CollectDoubleToByteIterable, CollectDoubleToCharIterable, CollectDoubleToDoubleIterable, CollectDoubleToFloatIterable, CollectDoubleToIntIterable, CollectDoubleToLongIterable, CollectDoubleToShortIterable, CollectFloatIterable, CollectFloatToBooleanIterable, CollectFloatToByteIterable, CollectFloatToCharIterable, CollectFloatToDoubleIterable, CollectFloatToFloatIterable, CollectFloatToIntIterable, CollectFloatToLongIterable, CollectFloatToShortIterable, CollectIntIterable, CollectIntToBooleanIterable, CollectIntToByteIterable, CollectIntToCharIterable, CollectIntToDoubleIterable, CollectIntToFloatIterable, CollectIntToIntIterable, CollectIntToLongIterable, CollectIntToShortIterable, CollectLongIterable, CollectLongToBooleanIterable, CollectLongToByteIterable, CollectLongToCharIterable, CollectLongToDoubleIterable, CollectLongToFloatIterable, CollectLongToIntIterable, CollectLongToLongIterable, CollectLongToShortIterable, CollectShortIterable, CollectShortToBooleanIterable, CollectShortToByteIterable, CollectShortToCharIterable, CollectShortToDoubleIterable, CollectShortToFloatIterable, CollectShortToIntIterable, CollectShortToLongIterable, CollectShortToShortIterable, DoubleArrayList, DoubleArrayStack, DoubleBooleanHashMap, DoubleByteHashMap, DoubleCharHashMap, DoubleDoubleHashMap, DoubleFloatHashMap, DoubleHashBag, DoubleHashSet, DoubleIntHashMap, DoubleLongHashMap, DoubleShortHashMap, FloatArrayList, FloatArrayStack, FloatBooleanHashMap, FloatByteHashMap, FloatCharHashMap, FloatDoubleHashMap, FloatFloatHashMap, FloatHashBag, FloatHashSet, FloatIntHashMap, FloatLongHashMap, FloatShortHashMap, IntArrayList, IntArrayStack, IntBooleanHashMap, IntByteHashMap, IntCharHashMap, IntDoubleHashMap, IntFloatHashMap, IntHashBag, IntHashSet, IntInterval, IntIntHashMap, IntLongHashMap, IntShortHashMap, LazyBooleanIterableAdapter, LazyByteIterableAdapter, LazyCharIterableAdapter, LazyDoubleIterableAdapter, LazyFloatIterableAdapter, LazyIntIterableAdapter, LazyLongIterableAdapter, LazyShortIterableAdapter, LongArrayList, LongArrayStack, LongBooleanHashMap, LongByteHashMap, LongCharHashMap, LongDoubleHashMap, LongFloatHashMap, LongHashBag, LongHashSet, LongInterval, LongIntHashMap, LongLongHashMap, LongShortHashMap, ObjectBooleanHashMap, ObjectBooleanHashMapWithHashingStrategy, ObjectByteHashMap, ObjectByteHashMapWithHashingStrategy, ObjectCharHashMap, ObjectCharHashMapWithHashingStrategy, ObjectDoubleHashMap, ObjectDoubleHashMapWithHashingStrategy, ObjectFloatHashMap, ObjectFloatHashMapWithHashingStrategy, ObjectIntHashMap, ObjectIntHashMapWithHashingStrategy, ObjectLongHashMap, ObjectLongHashMapWithHashingStrategy, ObjectShortHashMap, ObjectShortHashMapWithHashingStrategy, ReverseBooleanIterable, ReverseByteIterable, ReverseCharIterable, ReverseDoubleIterable, ReverseFloatIterable, ReverseIntIterable, ReverseLongIterable, ReverseShortIterable, SelectBooleanIterable, SelectByteIterable, SelectCharIterable, SelectDoubleIterable, SelectFloatIterable, SelectIntIterable, SelectLongIterable, SelectShortIterable, ShortArrayList, ShortArrayStack, ShortBooleanHashMap, ShortByteHashMap, ShortCharHashMap, ShortDoubleHashMap, ShortFloatHashMap, ShortHashBag, ShortHashSet, ShortIntHashMap, ShortLongHashMap, ShortShortHashMap, SynchronizedBooleanBag, SynchronizedBooleanCollection, SynchronizedBooleanIterable, SynchronizedBooleanList, SynchronizedBooleanSet, SynchronizedBooleanStack, SynchronizedByteBag, SynchronizedByteBooleanMap, SynchronizedByteByteMap, SynchronizedByteCharMap, SynchronizedByteCollection, SynchronizedByteDoubleMap, SynchronizedByteFloatMap, SynchronizedByteIntMap, SynchronizedByteIterable, SynchronizedByteList, SynchronizedByteLongMap, SynchronizedByteSet, SynchronizedByteShortMap, SynchronizedByteStack, SynchronizedCharBag, SynchronizedCharBooleanMap, SynchronizedCharByteMap, SynchronizedCharCharMap, SynchronizedCharCollection, SynchronizedCharDoubleMap, SynchronizedCharFloatMap, SynchronizedCharIntMap, SynchronizedCharIterable, SynchronizedCharList, SynchronizedCharLongMap, SynchronizedCharSet, SynchronizedCharShortMap, SynchronizedCharStack, SynchronizedDoubleBag, SynchronizedDoubleBooleanMap, SynchronizedDoubleByteMap, SynchronizedDoubleCharMap, SynchronizedDoubleCollection, SynchronizedDoubleDoubleMap, SynchronizedDoubleFloatMap, SynchronizedDoubleIntMap, SynchronizedDoubleIterable, SynchronizedDoubleList, SynchronizedDoubleLongMap, SynchronizedDoubleSet, SynchronizedDoubleShortMap, SynchronizedDoubleStack, SynchronizedFloatBag, SynchronizedFloatBooleanMap, SynchronizedFloatByteMap, SynchronizedFloatCharMap, SynchronizedFloatCollection, SynchronizedFloatDoubleMap, SynchronizedFloatFloatMap, SynchronizedFloatIntMap, SynchronizedFloatIterable, SynchronizedFloatList, SynchronizedFloatLongMap, SynchronizedFloatSet, SynchronizedFloatShortMap, SynchronizedFloatStack, SynchronizedIntBag, SynchronizedIntBooleanMap, SynchronizedIntByteMap, SynchronizedIntCharMap, SynchronizedIntCollection, SynchronizedIntDoubleMap, SynchronizedIntFloatMap, SynchronizedIntIntMap, SynchronizedIntIterable, SynchronizedIntList, SynchronizedIntLongMap, SynchronizedIntSet, SynchronizedIntShortMap, SynchronizedIntStack, SynchronizedLongBag, SynchronizedLongBooleanMap, SynchronizedLongByteMap, SynchronizedLongCharMap, SynchronizedLongCollection, SynchronizedLongDoubleMap, SynchronizedLongFloatMap, SynchronizedLongIntMap, SynchronizedLongIterable, SynchronizedLongList, SynchronizedLongLongMap, SynchronizedLongSet, SynchronizedLongShortMap, SynchronizedLongStack, SynchronizedObjectBooleanMap, SynchronizedObjectByteMap, SynchronizedObjectCharMap, SynchronizedObjectDoubleMap, SynchronizedObjectFloatMap, SynchronizedObjectIntMap, SynchronizedObjectLongMap, SynchronizedObjectShortMap, SynchronizedShortBag, SynchronizedShortBooleanMap, SynchronizedShortByteMap, SynchronizedShortCharMap, SynchronizedShortCollection, SynchronizedShortDoubleMap, SynchronizedShortFloatMap, SynchronizedShortIntMap, SynchronizedShortIterable, SynchronizedShortList, SynchronizedShortLongMap, SynchronizedShortSet, SynchronizedShortShortMap, SynchronizedShortStack, TapBooleanIterable, TapByteIterable, TapCharIterable, TapDoubleIterable, TapFloatIterable, TapIntIterable, TapLongIterable, TapShortIterable, UnmodifiableBooleanBag, UnmodifiableBooleanCollection, UnmodifiableBooleanList, UnmodifiableBooleanSet, UnmodifiableBooleanStack, UnmodifiableByteBag, UnmodifiableByteBooleanMap, UnmodifiableByteByteMap, UnmodifiableByteCharMap, UnmodifiableByteCollection, UnmodifiableByteDoubleMap, UnmodifiableByteFloatMap, UnmodifiableByteIntMap, UnmodifiableByteList, UnmodifiableByteLongMap, UnmodifiableByteSet, UnmodifiableByteShortMap, UnmodifiableByteStack, UnmodifiableCharBag, UnmodifiableCharBooleanMap, UnmodifiableCharByteMap, UnmodifiableCharCharMap, UnmodifiableCharCollection, UnmodifiableCharDoubleMap, UnmodifiableCharFloatMap, UnmodifiableCharIntMap, UnmodifiableCharList, UnmodifiableCharLongMap, UnmodifiableCharSet, UnmodifiableCharShortMap, UnmodifiableCharStack, UnmodifiableDoubleBag, UnmodifiableDoubleBooleanMap, UnmodifiableDoubleByteMap, UnmodifiableDoubleCharMap, UnmodifiableDoubleCollection, UnmodifiableDoubleDoubleMap, UnmodifiableDoubleFloatMap, UnmodifiableDoubleIntMap, UnmodifiableDoubleList, UnmodifiableDoubleLongMap, UnmodifiableDoubleSet, UnmodifiableDoubleShortMap, UnmodifiableDoubleStack, UnmodifiableFloatBag, UnmodifiableFloatBooleanMap, UnmodifiableFloatByteMap, UnmodifiableFloatCharMap, UnmodifiableFloatCollection, UnmodifiableFloatDoubleMap, UnmodifiableFloatFloatMap, UnmodifiableFloatIntMap, UnmodifiableFloatList, UnmodifiableFloatLongMap, UnmodifiableFloatSet, UnmodifiableFloatShortMap, UnmodifiableFloatStack, UnmodifiableIntBag, UnmodifiableIntBooleanMap, UnmodifiableIntByteMap, UnmodifiableIntCharMap, UnmodifiableIntCollection, UnmodifiableIntDoubleMap, UnmodifiableIntFloatMap, UnmodifiableIntIntMap, UnmodifiableIntList, UnmodifiableIntLongMap, UnmodifiableIntSet, UnmodifiableIntShortMap, UnmodifiableIntStack, UnmodifiableLongBag, UnmodifiableLongBooleanMap, UnmodifiableLongByteMap, UnmodifiableLongCharMap, UnmodifiableLongCollection, UnmodifiableLongDoubleMap, UnmodifiableLongFloatMap, UnmodifiableLongIntMap, UnmodifiableLongList, UnmodifiableLongLongMap, UnmodifiableLongSet, UnmodifiableLongShortMap, UnmodifiableLongStack, UnmodifiableObjectBooleanMap, UnmodifiableObjectByteMap, UnmodifiableObjectCharMap, UnmodifiableObjectDoubleMap, UnmodifiableObjectFloatMap, UnmodifiableObjectIntMap, UnmodifiableObjectLongMap, UnmodifiableObjectShortMap, UnmodifiableShortBag, UnmodifiableShortBooleanMap, UnmodifiableShortByteMap, UnmodifiableShortCharMap, UnmodifiableShortCollection, UnmodifiableShortDoubleMap, UnmodifiableShortFloatMap, UnmodifiableShortIntMap, UnmodifiableShortList, UnmodifiableShortLongMap, UnmodifiableShortSet, UnmodifiableShortShortMap, UnmodifiableShortStack

public interface PrimitiveIterable
PrimitiveIterable includes API that is common to all primitive collections.
Since:
3.0
  • Method Summary

    Modifier and Type Method Description
    default void appendString​(Appendable appendable)
    Prints a string representation of this collection onto the given Appendable.
    default void appendString​(Appendable appendable, String separator)
    Prints a string representation of this collection onto the given Appendable.
    void appendString​(Appendable appendable, String start, String separator, String end)
    Prints a string representation of this collection onto the given Appendable.
    default boolean isEmpty()
    Returns true if this iterable has zero items.
    default String makeString()
    Returns a string representation of this collection by delegating to makeString(String) and defaulting the separator parameter to the characters ", " (comma and space).
    default String makeString​(String separator)
    Returns a string representation of this collection by delegating to makeString(String, String, String) and defaulting the start and end parameters to "" (the empty String).
    default String makeString​(String start, String separator, String end)
    Returns a string representation of this collection with the elements separated by the specified separator and enclosed between the start and end strings.
    default boolean notEmpty()
    The English equivalent of !this.isEmpty()
    int size()
    Returns the number of items in this iterable.
    String toString()
    Returns a string with the elements of this iterable separated by commas with spaces and enclosed in square brackets.
  • Method Details

    • size

      int size()
      Returns the number of items in this iterable.
      Since:
      3.0
    • isEmpty

      default boolean isEmpty()
      Returns true if this iterable has zero items.
      Since:
      3.0
    • notEmpty

      default boolean notEmpty()
      The English equivalent of !this.isEmpty()
      Since:
      3.0
    • toString

      String toString()
      Returns a string with the elements of this iterable separated by commas with spaces and enclosed in square brackets.
       Assert.assertEquals("[]", IntLists.mutable.empty().toString());
       Assert.assertEquals("[1]", IntLists.mutable.with(1).toString());
       Assert.assertEquals("[1, 2, 3]", IntLists.mutable.with(1, 2, 3).toString());
       
      Overrides:
      toString in class Object
      Returns:
      a string representation of this PrimitiveIterable
      See Also:
      AbstractCollection.toString()
    • makeString

      default String makeString()
      Returns a string representation of this collection by delegating to makeString(String) and defaulting the separator parameter to the characters ", " (comma and space).
      Returns:
      a string representation of this collection.
      Since:
      3.0
    • makeString

      default String makeString​(String separator)
      Returns a string representation of this collection by delegating to makeString(String, String, String) and defaulting the start and end parameters to "" (the empty String).
      Returns:
      a string representation of this collection.
      Since:
      3.0
    • makeString

      default String makeString​(String start, String separator, String end)
      Returns a string representation of this collection with the elements separated by the specified separator and enclosed between the start and end strings.
      Returns:
      a string representation of this collection.
      Since:
      3.0
    • appendString

      default void appendString​(Appendable appendable)
      Prints a string representation of this collection onto the given Appendable. Prints the string returned by makeString().
      Since:
      3.0
    • appendString

      default void appendString​(Appendable appendable, String separator)
      Prints a string representation of this collection onto the given Appendable. Prints the string returned by makeString(String).
      Since:
      3.0
    • appendString

      void appendString​(Appendable appendable, String start, String separator, String end)
      Prints a string representation of this collection onto the given Appendable. Prints the string returned by makeString(String, String, String).
      Since:
      3.0