|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A type-specific Set
; provides some additional methods that use polymorphism to reduce type juggling.
Set
Method Summary | |
boolean |
remove(short k)
Note that the corresponding method of the type-specific collection is rem() .
|
Methods inherited from interface java.util.Set |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
Methods inherited from interface it.unimi.dsi.fastutil.shorts.ShortCollection |
add, addAll, contains, containsAll, rem, removeAll, retainAll, shortIterator, toArray, toShortArray, toShortArray |
Method Detail |
public boolean remove(short k)
rem()
.
This unfortunate situation is caused by the clash
with the similarly named index-based method in the List
interface.
Collection.remove(Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |