Subversion Repositories SmartDukaan

Rev

Rev 1044 | Rev 1472 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1044 Rev 1376
Line 250... Line 250...
250
			return beginIndex+1;
250
			return beginIndex+1;
251
		return beginIndex;
251
		return beginIndex;
252
	}
252
	}
253
 
253
 
254
	public long getTotalPages() {
254
	public long getTotalPages() {
255
		return 1 + totalResults/windowSize;
255
		return 1 + (totalResults-1)/windowSize;
256
	}
256
	}
257
 
257
 
258
	public long getCurrentPage() {
258
	public long getCurrentPage() {
259
		return this.page;
259
		return this.page;
260
	}
260
	}