switch (mode) { case VALUES : RecordPos rec = findValuePosition(pointer); short l = ByteConversion.byteToShort(rec.page.data, rec.offset); int dataStart = rec.offset + 2;   values.add(new Value(rec.page.data, dataStart, l)); return true; case KEYS : values.add(value); return true; } return false; }
switch (mode) { case VALUES: RecordPos rec = findRecord(pointer); short l = ByteConversion.byteToShort(rec.page.data, rec.offset); int dataStart = rec.offset + 2;    values.add(new Value(rec.page.data, dataStart, l)); return true; case KEYS: values.add(value); return true; } return false; }
		public boolean indexInfo(Value value, long pointer) {			switch (mode) {				case VALUES :					RecordPos rec = findValuePosition(pointer);					short l = ByteConversion.byteToShort(rec.page.data, rec.offset);					int dataStart = rec.offset + 2;					//int l = (int) VariableByteCoding.decode( page.data, offset );					//int dataStart = VariableByteCoding.getSize( l );					values.add(new Value(rec.page.data, dataStart, l));					return true;				case KEYS :					values.add(value);					return true;			}			return false;		}