Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.7.0)

E10653-08

oracle.jbo.server
Class SparseArray

java.lang.Object
  extended by oracle.jbo.common.SparseArrayImpl
      extended by oracle.jbo.server.SparseArray
All Implemented Interfaces:
SparseArrayInterface

public class SparseArray
extends SparseArrayImpl
implements SparseArrayInterface

The SparseArray represents Data from the datastore along with a flag whether data exists in a particular index into the array or not. This Array is designed for arrays that have small numbers of elements with a medium (200-400) spread on the indices. This array doesn't shrink the storage as tail-elements are removed because it assumes that the spread isn't very large.

Only ready only access is allowed to data within this class-instance.


Constructor Summary
SparseArray(int length)
           
 
Method Summary
 SparseArray toSparseArray()
           
 
Methods inherited from class oracle.jbo.common.SparseArrayImpl
clear, get, isEmpty, isPopulated, length, set, toSparseArrayImpl, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface oracle.jbo.server.SparseArrayInterface
clear, get, isEmpty, isPopulated, set, toString, toString
 

Constructor Detail

SparseArray

public SparseArray(int length)
Method Detail

toSparseArray

public SparseArray toSparseArray()
Specified by:
toSparseArray in interface SparseArrayInterface

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.7.0)

E10653-08

Copyright © 1997, 2013, Oracle. All rights reserved.