javadoc fix

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@690306 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yonik Seeley 2008-08-29 15:39:52 +00:00
parent 0b9512aa23
commit 09114186ba
1 changed files with 3 additions and 3 deletions

View File

@ -172,7 +172,6 @@ public class OpenBitSet extends DocIdSet implements Cloneable, Serializable {
/** Returns true or false for the specified bit index /** Returns true or false for the specified bit index
* The index should be less than the OpenBitSet size
*/ */
public boolean get(long index) { public boolean get(long index) {
int i = (int)(index >> 6); // div 64 int i = (int)(index >> 6); // div 64
@ -182,8 +181,9 @@ public class OpenBitSet extends DocIdSet implements Cloneable, Serializable {
return (bits[i] & bitmask) != 0; return (bits[i] & bitmask) != 0;
} }
/** Returns true or false for the specified bit index. Allows specifying /** Returns true or false for the specified bit index.
* an index outside the current size. */ * The index should be less than the OpenBitSet size.
*/
public boolean fastGet(long index) { public boolean fastGet(long index) {
int i = (int)(index >> 6); // div 64 int i = (int)(index >> 6); // div 64
int bit = (int)index & 0x3f; // mod 64 int bit = (int)index & 0x3f; // mod 64