4 ms·
Thanks. Curious... are the parens meaningful in this method body? private int getPartition(int globalInsertionPosition) { return (globalInsertionPo
by famousactress 12y ago
Thanks. Curious... are the parens meaningful in this method body?
private int getPartition(int globalInsertionPosition) {
return (globalInsertionPosition) / this.sizePerPartition;
}
- probablyfine 12y agoNo, that's likely a leftover from refactoring. Good spot.
- famousactress 12y agoHaha, no worries! I've been checked out of Java for a while and I was a little bit worried that this was semantically meaningful, which would be a pretty confusing addition to the language :)
- deleted 12y ago[deleted]