| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IntSet
A Set specialization with int elements.
 
 
Methods, declared in this interface (i. e. not inherited from the superinterfaces), are present only to remove some compile-time ambiguities, they don't have any additional meaning over the specifications from superinterfaces.
IntSetFactory, 
@KolobokeSet| Method Summary | |
|---|---|
|  boolean | add(Integer e)Deprecated. Use specialization IntCollection.add(int)instead | 
|  IntIterator | iterator()Deprecated. Instead of explicit iterator()calls, useIntCollection.cursor();iterator()is still sensible only as a backing mechanism for Java 5's for-each
 statements. | 
| Methods inherited from interface com.koloboke.collect.IntCollection | 
|---|
| add, contains, contains, cursor, forEach, forEachWhile, remove, removeIf, removeInt, toArray, toArray, toArray, toIntArray | 
| Methods inherited from interface com.koloboke.collect.Container | 
|---|
| clear, ensureCapacity, isEmpty, shrink, size, sizeAsLong | 
| Methods inherited from interface Set | 
|---|
| addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size, toArray, toArray | 
| Method Detail | 
|---|
@Deprecated
boolean add(@Nonnull
                       Integer e)
IntCollection.add(int) instead
Collections that support this operation may place limitations on what elements may be added to this collection. In particular, some collections will refuse to add null elements, and others will impose restrictions on the type of elements that may be added. Collection classes should clearly specify in their documentation any restrictions on what elements may be added.
If a collection refuses to add a particular element for any reason other than that it already contains the element, it must throw an exception (rather than returning false). This preserves the invariant that a collection always contains the specified element after this call returns.
add in interface Collection<Integer>add in interface IntCollectionadd in interface Set<Integer>e - element whose presence in this collection is to be ensured
@Deprecated @Nonnull IntIterator iterator()
iterator() calls, use IntCollection.cursor();
 iterator() is still sensible only as a backing mechanism for Java 5's for-each
 statements.
iterator in interface Collection<Integer>iterator in interface IntCollectioniterator in interface Iterable<Integer>iterator in interface Set<Integer>| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||