Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Minor update for doc.
  • Loading branch information
viirya committed May 5, 2015
commit 27f908903980825dfb9ded6e35c8962ac6780451
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public void pointTo(

private void assertIndexIsValid(int index) {
assert index >= 0 : "index (" + index + ") should >= 0";
assert index < numFields : "index (" + index + ") should <= " + numFields;
assert index < numFields : "index (" + index + ") should < " + numFields;
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -351,9 +351,9 @@ public int getValueLength() {
* As an example usage, here's the proper way to store a new key:
* <p>
* <pre>
* Location loc = map.lookup(keyBaseOffset, keyBaseObject, keyLengthInBytes);
* Location loc = map.lookup(keyBaseObject, keyBaseOffset, keyLengthInBytes);
* if (!loc.isDefined()) {
* loc.putNewKey(keyBaseOffset, keyBaseObject, keyLengthInBytes, ...)
* loc.putNewKey(keyBaseObject, keyBaseOffset, keyLengthInBytes, ...)
* }
* </pre>
* <p>
Expand Down