Package com.github.tommyettinger.ds
Interface PrimitiveCollection<T>
- All Known Subinterfaces:
PrimitiveCollection.OfBoolean,PrimitiveCollection.OfByte,PrimitiveCollection.OfChar,PrimitiveCollection.OfDouble,PrimitiveCollection.OfFloat,PrimitiveCollection.OfInt,PrimitiveCollection.OfLong,PrimitiveCollection.OfShort,PrimitiveSet<T>,PrimitiveSet.SetOfChar,PrimitiveSet.SetOfInt,PrimitiveSet.SetOfLong
- All Known Implementing Classes:
BooleanBag,BooleanDeque,BooleanList,ByteBag,ByteDeque,ByteList,CharBag,CharBitSet,CharDeque,CharList,DoubleBag,DoubleDeque,DoubleList,EnumFloatMap.Values,EnumFloatOrderedMap.OrderedMapValues,EnumIntMap.Values,EnumIntOrderedMap.OrderedMapValues,EnumLongMap.Values,EnumLongOrderedMap.OrderedMapValues,FloatBag,FloatDeque,FloatList,IntBag,IntDeque,IntFloatMap.Keys,IntFloatMap.Values,IntFloatOrderedMap.OrderedMapKeys,IntFloatOrderedMap.OrderedMapValues,IntIntMap.Keys,IntIntMap.Values,IntIntOrderedMap.OrderedMapKeys,IntIntOrderedMap.OrderedMapValues,IntList,IntLongMap.Keys,IntLongMap.Values,IntLongOrderedMap.OrderedMapKeys,IntLongOrderedMap.OrderedMapValues,IntObjectMap.Keys,IntObjectOrderedMap.OrderedMapKeys,IntOrderedSet,IntSet,LongBag,LongDeque,LongFloatMap.Keys,LongFloatMap.Values,LongFloatOrderedMap.OrderedMapKeys,LongFloatOrderedMap.OrderedMapValues,LongIntMap.Keys,LongIntMap.Values,LongIntOrderedMap.OrderedMapKeys,LongIntOrderedMap.OrderedMapValues,LongList,LongLongMap.Keys,LongLongMap.Values,LongLongOrderedMap.OrderedMapKeys,LongLongOrderedMap.OrderedMapValues,LongObjectMap.Keys,LongObjectOrderedMap.OrderedMapKeys,LongOrderedSet,LongSet,ObjectFloatMap.Values,ObjectFloatOrderedMap.OrderedMapValues,ObjectIntMap.Values,ObjectIntOrderedMap.OrderedMapValues,ObjectLongMap.Values,ObjectLongOrderedMap.OrderedMapValues,OffsetBitSet,ShortBag,ShortDeque,ShortList
public interface PrimitiveCollection<T>
Analogous to
Collection but for a primitive type, this is technically built around
Iterator, but should almost always use a primitive-specialized iterator such as
FloatIterator instead of the generic Iterator. This is not necessarily a modifiable
collection. The nested interfaces define most of the actually useful operations, and you will probably
never use PrimitiveCollection directly.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA PrimitiveCollection with unboxedbooleanitems.static interfaceA PrimitiveCollection with unboxedbyteitems.static interfaceA PrimitiveCollection with unboxedcharitems.static interfaceA PrimitiveCollection with unboxeddoubleitems.static interfaceA PrimitiveCollection with unboxedfloatitems.static interfaceA PrimitiveCollection with unboxedintitems.static interfaceA PrimitiveCollection with unboxedlongitems.static interfaceA PrimitiveCollection with unboxedshortitems. -
Method Summary