📄 hashtable.java
字号:
package com.wrox.algorithms.hashing;/** * Generic interface for hash tables. * */public interface Hashtable { /** * Adds a value to the hash table. * * @param value The value to add. */ public void add(Object value); /** * Determines if the hash table contains a specified value. * * @param value The value for which to search. * @return <code>true</code> if the value is found; otherwise <code>false</code>. */ public boolean contains(Object value); /** * Obtains the number of values in the hash table. * * @return The number of value sin the hash table. */ public int size();}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -