krati.array
Interface LongArray

All Superinterfaces:
Array
All Known Subinterfaces:
AddressArray
All Known Implementing Classes:
DynamicLongArray, MemoryLongArray, StaticLongArray

public interface LongArray
extends Array

Long Array

Author:
jwu

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

Method Detail

get

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

Parameters:
index -
Returns:
data at a specified index

set

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

Parameters:
index -
value -
scn -
Throws:
Exception

getInternalArray

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

Returns:
long array.


Copyright © 2011. All Rights Reserved.