org.eclipse.emf.cdo.server
Class IStoreChunkReader.Chunk

java.lang.Object
  extended by org.eclipse.emf.cdo.server.IStoreChunkReader.Chunk
Enclosing interface:
IStoreChunkReader

public static class IStoreChunkReader.Chunk
extends Object

Represents a sublist of consecutive elements that are subject to partial collection loading.


Constructor Summary
IStoreChunkReader.Chunk(int startIndex)
           
IStoreChunkReader.Chunk(int startIndex, int size)
           
 
Method Summary
 void add(int indexInChunk, Object value)
           
 Object get(int indexInChunk)
           
 int getStartIndex()
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IStoreChunkReader.Chunk

public IStoreChunkReader.Chunk(int startIndex)

IStoreChunkReader.Chunk

public IStoreChunkReader.Chunk(int startIndex,
                               int size)
Method Detail

getStartIndex

public int getStartIndex()

size

public int size()

get

public Object get(int indexInChunk)
Since:
2.0

add

public void add(int indexInChunk,
                Object value)
Since:
2.0


Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.