1 package net.obsearch.index.bucket.impl; 2 /* 3 OBSearch: a distributed similarity search engine This project is to 4 similarity search what 'bit-torrent' is to downloads. 5 Copyright (C) 2008 Arnoldo Jose Muller Molina 6 7 This program is free software: you can redistribute it and/or modify 8 it under the terms of the GNU General Public License as published by 9 the Free Software Foundation, either version 3 of the License, or 10 (at your option) any later version. 11 12 This program is distributed in the hope that it will be useful, 13 but WITHOUT ANY WARRANTY; without even the implied warranty of 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 GNU General Public License for more details. 16 17 You should have received a copy of the GNU General Public License 18 along with this program. If not, see <http://www.gnu.org/licenses/>. 19 */ 20 21 22 import java.nio.ByteBuffer; 23 import net.obsearch.Index; 24 import net.obsearch.ob.OBFloat; 25 import java.lang.reflect.Array; 26 import net.obsearch.storage.OBStoreFloat; 27 import net.obsearch.storage.TupleBytes; 28 import net.obsearch.storage.OBStore; 29 /** 30 * BucketContainer is a dummy class that is used to directly 31 * inherit the functionality from AbstractBucketContainerFloat. 32 * 33 * @author Arnoldo Jose Muller Molina 34 */ 35 //************************************************************************* 36 //****** Warning: this is a generated file ******************************** 37 //****** The source file is: BucketContainer.java 38 //************************************************************************* 39 40 public class BucketContainerFloat<O extends OBFloat> extends AbstractBucketContainerFloat<O, BucketObjectFloat<O>>{ 41 42 public BucketContainerFloat(Index < O > index, int pivots, OBStore<TupleBytes> storage, byte[] key) { 43 super(index, pivots, storage, key); 44 45 } 46 47 public BucketContainerFloat(Index < O > index, int pivots, OBStore<TupleBytes> storage, byte[] key, int secondaryIndexPivot) { 48 super(index, pivots, storage, key, secondaryIndexPivot); 49 } 50 51 protected BucketObjectFloat instantiateBucketObject(){ 52 return new BucketObjectFloat(); 53 } 54 55 protected BucketObjectFloat[] instantiateArray(int size){ 56 return new BucketObjectFloat[size]; 57 } 58 59 //************************************************************************* 60 //****** Warning: this is a generated file ******************************** 61 //****** The source file is: BucketContainer.java 62 //************************************************************************* 63 } 64