Incorrect javadoc for TObjectIntMap.get()

Issue #43 resolved
Moshe Sayag created an issue

The JavaDoc states that the get() method returns the int value, or null if this map contains no mapping for the key Obviously, a method that returns a primitive cannot return null. It actually returns the no-entry value.

Comments (8)

  1. Jan Heuer

    ...and the TIntObjectMap says: "Returns: the int value to which the specified key is mapped, or null if this map contains no mapping for the key" - It think there just something mixed up.

  2. Log in to comment