diff options
Diffstat (limited to 'libdb/java/src/com/sleepycat/db/DbMultipleDataIterator.java')
-rw-r--r-- | libdb/java/src/com/sleepycat/db/DbMultipleDataIterator.java | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/libdb/java/src/com/sleepycat/db/DbMultipleDataIterator.java b/libdb/java/src/com/sleepycat/db/DbMultipleDataIterator.java deleted file mode 100644 index cbfbe9164..000000000 --- a/libdb/java/src/com/sleepycat/db/DbMultipleDataIterator.java +++ /dev/null @@ -1,46 +0,0 @@ -/*- - * See the file LICENSE for redistribution information. - * - * Copyright (c) 2001-2002 - * Sleepycat Software. All rights reserved. - * - * $Id$ - */ - -package com.sleepycat.db; - -/** - * - * @author David M. Krinsky - */ -public class DbMultipleDataIterator extends DbMultipleIterator -{ - // public methods - public DbMultipleDataIterator(Dbt data) - { - super(data); - } - - public boolean next(Dbt data) - { - int dataoff = DbUtil.array2int(buf, pos); - - // crack out the data offset and length. - if (dataoff < 0) { - return (false); - } - - pos -= int32sz; - int datasz = DbUtil.array2int(buf, pos); - - pos -= int32sz; - - data.set_data(buf); - data.set_size(datasz); - data.set_offset(dataoff); - - return (true); - } -} - -// end of DbMultipleDataIterator.java |