Creates a set of integers from the given list of integers. @param ints a list of integers to create a set from @return a set of integers of all the unique integers in the given list
(int... ints)
| 89 | * @return a set of integers of all the unique integers in the given list |
| 90 | */ |
| 91 | public static IntSet from(int... ints) |
| 92 | { |
| 93 | return new IntSet(IntList.view(ints, ints.length)); |
| 94 | } |
| 95 | |
| 96 | /** |
| 97 | * Gets the index of the given key. Based on that {@link #status} variable, |