base/common/src/main/com/thesett/common/util/LazyPagingList.java
public List<T> cacheBlock(int block)
    {
        /*log.fine("public List<T> cacheBlock(int block): called");*/

        // Get the new block.
        List<T> blockList = getBlock(block * blockSize, blockSize);

        // Cache it.
        blockMap.put(block, blockList);
        /*log.fine("Cached block " + block + " with list of size " + blockList.size());*/

        return blockList;
    }
public List<T> cacheBlock(int block)
    {
        /*log.fine("public List<T> cacheBlock(int block): called");*/

        // Get the new block.
        List<T> blockList = getBlock(block * blockSize, blockSize);

        // Cache it.
        blockMap.put(block, blockList);
        /*log.fine("Cached block " + block + " with list of size " + blockList.size());*/

        return blockList;
    }
public List < T > cacheBlock ( int block ) { /*log.fine("public List<T> cacheBlock(int block): called");*/ // Get the new block. List < T > blockList = getBlock ( block * blockSize , blockSize ) ; // Cache it. blockMap . put ( block , blockList ) ; /*log.fine("Cached block " + block + " with list of size " + blockList.size());*/ return blockList ; }
Fetches and caches the specified block.

@param  block The block to cache.

@return The contents of the cached block.
Fetches and caches the specified block .