Package cz.vutbr.fit.layout.text.chunks
Class ChunksCache
- java.lang.Object
-
- cz.vutbr.fit.layout.text.chunks.ChunksCache
-
public class ChunksCache extends Object
A cache of already created chunks depending on tags and hints.- Author:
- burgetr
-
-
Constructor Summary
Constructors Constructor Description ChunksCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<TextChunk>
get(Tag tag, List<PresentationHint> hints)
int
getHits()
int
getChunkCount()
int
getReads()
void
put(Tag tag, List<PresentationHint> hints, List<TextChunk> chunkAreas)
int
size()
-
-
-
Method Detail
-
put
public void put(Tag tag, List<PresentationHint> hints, List<TextChunk> chunkAreas)
-
get
public List<TextChunk> get(Tag tag, List<PresentationHint> hints)
-
size
public int size()
-
getReads
public int getReads()
-
getHits
public int getHits()
-
getChunkCount
public int getChunkCount()
-
-