diff options
author | Adam Young <ayoung@redhat.com> | 2011-11-18 14:39:59 -0500 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2012-01-04 11:24:45 -0500 |
commit | 9c3c8ee12bfc4b0bd3a6a57382f90d7c0ff8abbb (patch) | |
tree | d7f2dc5b6a4e01493428d487b9491aed2e7b461f /pki/base/common/src/com/netscape/certsrv/dbs/IDBVirtualList.java | |
parent | e06776464042c557f2a66cbca874507e2be521a8 (diff) | |
download | pki-9c3c8ee12bfc4b0bd3a6a57382f90d7c0ff8abbb.tar.gz pki-9c3c8ee12bfc4b0bd3a6a57382f90d7c0ff8abbb.tar.xz pki-9c3c8ee12bfc4b0bd3a6a57382f90d7c0ff8abbb.zip |
typesafety db and logging
Diffstat (limited to 'pki/base/common/src/com/netscape/certsrv/dbs/IDBVirtualList.java')
-rw-r--r-- | pki/base/common/src/com/netscape/certsrv/dbs/IDBVirtualList.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pki/base/common/src/com/netscape/certsrv/dbs/IDBVirtualList.java b/pki/base/common/src/com/netscape/certsrv/dbs/IDBVirtualList.java index 8e627520c..7d175c452 100644 --- a/pki/base/common/src/com/netscape/certsrv/dbs/IDBVirtualList.java +++ b/pki/base/common/src/com/netscape/certsrv/dbs/IDBVirtualList.java @@ -27,7 +27,7 @@ import com.netscape.certsrv.base.EBaseException; * * @version $Revision$, $Date$ */ -public interface IDBVirtualList { +public interface IDBVirtualList<E> { /** * Sets the paging size of this virtual list. @@ -107,7 +107,7 @@ public interface IDBVirtualList { * * @param index the index of the element to fetch */ - public Object getElementAt(int index); + public E getElementAt(int index); /** * Retrieves and jumps to element in the given position. @@ -115,7 +115,7 @@ public interface IDBVirtualList { * @param i position * @return object */ - public Object getJumpToElementAt(int i); + public E getJumpToElementAt(int i); /** * Processes elements as soon as it arrives. It is |