linkedSetOf
Return an integer LinkedHashSet from int range.
Example:
linkedSetOf(1..10) // {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
Content copied to clipboard
Since
1.1.0
Return an un-sign integer LinkedHashSet from un-sign int range.
Example:
linkedSetOf(1u..10u) // {1u, 2u, 3u, 4u, 5u, 6u, 7u, 8u, 9u, 10u}
Content copied to clipboard
Since
1.1.0
Return a long LinkedHashSet from long range.
Example:
linkedSetOf(1..10L) // {1L, 2L, 3L, 4L, 5L, 6L, 7L, 8L, 9L, 10L}
Content copied to clipboard
Since
1.1.0
Return an un-sign long LinkedHashSet from un-sign long range.
Example:
linkedSetOf(1uL..10uL) // {1ul, 2uL, 3uL, 4uL, 5uL, 6uL, 7uL, 8uL, 9uL, 10uL}
Content copied to clipboard
Since
1.1.0
Return an integer LinkedHashSet from int progression.
Example:
linkedSetOf(1..10 step 2) // {1, 3, 5, 7, 9}
Content copied to clipboard
Since
1.1.0
Return an un-sign integer LinkedHashSet from un-sign int progression.
Example:
linkedSetOf(1u..10u step 2) // {1u, 3u, 5u, 7u, 9u}
Content copied to clipboard
Since
1.1.0
Return a long LinkedHashSet from long progression.
Example:
linkedSetOf(1..10L step 2) // {1L, 3L, 5L, 7L, 9L}
Content copied to clipboard
Since
1.1.0
Return an un-sign long LinkedHashSet from un-sign long progression.
Example:
linkedSetOf(1uL..10uL step 2) // {1ul, 3uL, 5uL, 7uL, 9uL}
Content copied to clipboard
Since
1.1.0
Return a char LinkedHashSet from char range.
Example:
linkedSetOf('a'..'f') // {'a', 'b', 'c', 'd', 'e', 'f'}
Content copied to clipboard
Since
1.1.0
Return a char LinkedHashSet from char progression.
Example:
linkedSetOf('a'..'f' step 2) // {'a', 'c', 'e'}
Content copied to clipboard
Since
1.1.0