krati.array
Interface ShortArray

All Superinterfaces:
Array
All Known Implementing Classes:
DynamicShortArray, MemoryShortArray, StaticShortArray

public interface ShortArray
extends Array

Short Array

Author:
jwu

Method Summary
 short get(int index)
          Gets data at a specified index.
 short[] getInternalArray()
          Gets the internal primitive array.
 void set(int index, short value, long scn)
          Sets data at a specified index.
 
Methods inherited from interface krati.array.Array
clear, hasIndex, length
 

Method Detail

get

short get(int index)
Gets data at a specified index.

Parameters:
index -
Returns:
data at a specified index

set

void set(int index,
         short value,
         long scn)
         throws Exception
Sets data at a specified index.

Parameters:
index -
value -
scn -
Throws:
Exception

getInternalArray

short[] getInternalArray()
Gets the internal primitive array.

Returns:
short array.


Copyright © 2011. All Rights Reserved.