}
public void add(ContentName name, V value) {
if (null == name) {
throw new NullPointerException("InterestTable may not contain null name");
}
<BUG>if (Log.isLoggable(Level.FINEST))

Log.finest("adding name {0}", name);
</BUG>
Holder<V> holder = new NameHolder<V>(name, value);

}
public Integer getCapacity() {
return _capacity;
}
public void add(Interest interest, V value) {
if (null == interest) {
throw new NullPointerException("InterestTable may not contain null Interest");
}
if (null == interest.name()) {
throw new NullPointerException("InterestTable may not contain Interest with null name");
}
if (Log.isLoggable(Log.FAC_ENCODING, Level.FINEST))
Log.finest(Log.FAC_ENCODING, "adding interest {0}", interest);
Holder<V> holder = new InterestHolder<V>(interest, value);
