diff options
Diffstat (limited to 'csci1913/Java/lab13_strap012.java')
-rw-r--r-- | csci1913/Java/lab13_strap012.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/csci1913/Java/lab13_strap012.java b/csci1913/Java/lab13_strap012.java index 8f6746b..e5ce45d 100644 --- a/csci1913/Java/lab13_strap012.java +++ b/csci1913/Java/lab13_strap012.java @@ -16,7 +16,7 @@ class Test private static int hash(String name) { - return (name.charAt(0) + name.charAt(name.length()-1)) * name.length() % 997; + return (name.charAt(0) + name.charAt(name.length()-1)) * name.length() % 1023; } public static void main(String [] args) |