de.topicmapslab.majortom.index.paged
Class ConstructCacheKey

java.lang.Object
  extended by de.topicmapslab.majortom.index.paged.ConstructCacheKey

 class ConstructCacheKey
extends java.lang.Object

Class defining a cache key for IPagedConstructIndex

Author:
Sven Krosse

Field Summary
(package private)  java.util.Comparator<?> comparator
           
(package private)  org.tmapi.core.Construct context
           
(package private)  java.lang.Integer limit
           
(package private)  java.lang.Integer offset
           
(package private)  PagedConstructIndexImpl.Type type
           
 
Constructor Summary
ConstructCacheKey(PagedConstructIndexImpl.Type type, org.tmapi.core.Construct context, java.lang.Integer offset, java.lang.Integer limit, java.util.Comparator<?> comparator)
          constructor
 
Method Summary
 boolean equals(java.lang.Object obj)
          
 int hashCode()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

PagedConstructIndexImpl.Type type

context

org.tmapi.core.Construct context

offset

java.lang.Integer offset

limit

java.lang.Integer limit

comparator

java.util.Comparator<?> comparator
Constructor Detail

ConstructCacheKey

public ConstructCacheKey(PagedConstructIndexImpl.Type type,
                         org.tmapi.core.Construct context,
                         java.lang.Integer offset,
                         java.lang.Integer limit,
                         java.util.Comparator<?> comparator)
constructor

Parameters:
type - the type of constructs
context - the context
offset - the offset or null
limit - the limit or null
comparator - the comparator or null
Method Detail

equals

public boolean equals(java.lang.Object obj)

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()

Overrides:
hashCode in class java.lang.Object