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 ofbyte
s.CollectionDouble A collection ofdouble
s.CollectionFloat A collection offloat
s.CollectionInteger A collection ofint
s.CollectionLong A collection oflong
s.CollectionNumber A collection of numeric (primitive) elements.CollectionShort A collection ofshort
s.CollectionUByte A collection of unsignedbyte
s.CollectionUInteger A collection of unsignedint
s.CollectionULong A collection of unisgnedlong
s.CollectionUShort A collection of unsignedshort
s.IteratorByte An iterator ofbyte
s.IteratorDouble An iterator ofdouble
s.IteratorFloat An iterator offloat
s.IteratorInteger An iterator ofint
s.IteratorLong An iterator oflong
s.IteratorNumber An iterator for a stream of primitive numbers, which allows to retrieve the value casted in the type you prefer.IteratorShort An iterator ofshort
s.IteratorUByte An iterator of unsignedbyte
s.IteratorUInteger An iterator of unsignedint
s.IteratorULong An iterator of unsignedlong
s.IteratorUShort An iterator of unsignedshort
s.ListNumber An ordered collection of numeric (primitive) elements. -
Class Summary Class Description ArrayBoolean Wraps aboolean[]
into aListBoolean
.ArrayByte Non-resizableListByte
implementation backed by abyte[]
.ArrayDouble Non-resizableListDouble
implementation backed by adouble[]
.ArrayFloat Non-resizableListFloat
implementation backed by afloat[]
.ArrayInteger Non-resizableListInteger
implementation backed by aint[]
.ArrayLong Non-resizableListLong
implementation backed by along[]
.ArrayShort Non-resizableListShort
implementation backed by ashort[]
.ArrayUByte Non-resizableListUByte
implementation backed by abyte[]
.ArrayUInteger Non-resizableListUInteger
implementation backed by aint[]
.ArrayULong Non-resizableListULong
implementation backed by along[]
.ArrayUShort Non-resizableListUShort
implementation 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 ofboolean
s.ListByte An ordered collection ofbyte
s.ListDouble An ordered collection ofdouble
s.ListFloat An ordered collection offloat
s.ListInteger An ordered collection ofint
s.ListLong An ordered collection oflong
s.ListMath Math operations defined on lists of numbers.ListNumbers Utilities for manipulating ListNumbers.ListShort An ordered collection ofshort
s.ListUByte An ordered collection of unsignedbyte
s.ListUInteger An ordered collection of unsignedint
s.ListULong An ordered collection oflong
s.ListUShort An ordered collection ofshort
s.SortedListView A sorted view of a list.UnsafeUnwrapper A set of utilities that allows, when really needed, to get the primitive array wrapped by theArrayXxx
classes.UnsafeUnwrapper.Array<T> A primitive array together with the starting index and the number of elements to be read from the starting index.