MCPcopy Create free account
hub / github.com/1345414527/MIT6.830 / hashCode

Method hashCode

src/java/simpledb/storage/Field.java:39–39  ·  view source on GitHub ↗

Hash code. Different Field objects representing the same value should probably return the same hashCode.

()

Source from the content-addressed store, hash-verified

37 * return the same hashCode.
38 */
39 int hashCode();
40 boolean equals(Object field);
41
42 String toString();

Callers 10

testHashCodeMethod · 0.65
testHashCodeMethod · 0.65
hCodeMethod · 0.65
hashCodeMethod · 0.65
getIdMethod · 0.65
hashCodeMethod · 0.65
hashCodeMethod · 0.65
BTreeFileMethod · 0.65
hashCodeMethod · 0.65
hashCodeMethod · 0.65

Implementers 2

StringFieldsrc/java/simpledb/storage/StringField.
IntFieldsrc/java/simpledb/storage/IntField.jav

Calls

no outgoing calls

Tested by 3

testHashCodeMethod · 0.52
testHashCodeMethod · 0.52
hCodeMethod · 0.52