Package org.epics.util.array
Provides support for iteration and read-only references to
collections and arrays of primitives, without having to code for each
individual case.
The design is loosely inspired by the Collection framework, but does not
directly implement it. Due to the invariant nature of Java generics,
it would make the usage of inheritance awkward. See IteratorNumber
for more details.
-
Interface Summary Interface Description CollectionByte A collection ofbytes.CollectionDouble A collection ofdoubles.CollectionFloat A collection offloats.CollectionInteger A collection ofints.CollectionLong A collection oflongs.CollectionNumber A collection of numeric (primitive) elements.CollectionShort A collection ofshorts.CollectionUByte A collection of unsignedbytes.CollectionUInteger A collection of unsignedints.CollectionULong A collection of unisgnedlongs.CollectionUShort A collection of unsignedshorts.IteratorByte An iterator ofbytes.IteratorDouble An iterator ofdoubles.IteratorFloat An iterator offloats.IteratorInteger An iterator ofints.IteratorLong An iterator oflongs.IteratorNumber An iterator for a stream of primitive numbers, which allows to retrieve the value casted in the type you prefer.IteratorShort An iterator ofshorts.IteratorUByte An iterator of unsignedbytes.IteratorUInteger An iterator of unsignedints.IteratorULong An iterator of unsignedlongs.IteratorUShort An iterator of unsignedshorts.ListNumber An ordered collection of numeric (primitive) elements. -
Class Summary Class Description ArrayBoolean Wraps aboolean[]into aListBoolean.ArrayByte Non-resizableListByteimplementation backed by abyte[].ArrayDouble Non-resizableListDoubleimplementation backed by adouble[].ArrayFloat Non-resizableListFloatimplementation backed by afloat[].ArrayInteger Non-resizableListIntegerimplementation backed by aint[].ArrayLong Non-resizableListLongimplementation backed by along[].ArrayShort Non-resizableListShortimplementation backed by ashort[].ArrayUByte Non-resizableListUByteimplementation backed by abyte[].ArrayUInteger Non-resizableListUIntegerimplementation backed by aint[].ArrayULong Non-resizableListULongimplementation backed by along[].ArrayUShort Non-resizableListUShortimplementation backed by ashort[].BufferInteger An implementation of a list on top of buffer.CircularBufferDouble An implementation of a list on top of a circular buffer.CollectionNumbers Utilities to work with number collections.ListBoolean An ordered collection ofbooleans.ListByte An ordered collection ofbytes.ListDouble An ordered collection ofdoubles.ListFloat An ordered collection offloats.ListInteger An ordered collection ofints.ListLong An ordered collection oflongs.ListMath Math operations defined on lists of numbers.ListNumbers Utilities for manipulating ListNumbers.ListShort An ordered collection ofshorts.ListUByte An ordered collection of unsignedbytes.ListUInteger An ordered collection of unsignedints.ListULong An ordered collection oflongs.ListUShort An ordered collection ofshorts.SortedListView A sorted view of a list.UnsafeUnwrapper A set of utilities that allows, when really needed, to get the primitive array wrapped by theArrayXxxclasses.UnsafeUnwrapper.Array<T> A primitive array together with the starting index and the number of elements to be read from the starting index.