db6ca1387d
add replaceAll
2017-11-09 09:33:19 +01:00
6df2553fae
add indexOf(value) and indexOf(value, offset)
2017-10-13 17:02:01 +02:00
cbe468cae8
add toArray(int[])
2017-10-07 10:01:38 +02:00
56779368b8
make class final
...
We haven't designed the class for extension.
2017-09-29 18:59:02 +02:00
e7d88babb4
add stream() and parallelStream()
...
Both methods return an IntStream.
2017-09-29 18:57:43 +02:00
fc1ca26d52
use fromIndex and toIndex for remove instead of from and length
...
The new API is consistent with the internal API of ArrayList.
2017-09-29 18:12:58 +02:00
5112fcdfa0
do not create empty array in clone
2017-09-29 17:46:00 +02:00
235565bfe4
make IntList cloneable
2017-09-28 20:25:56 +02:00
a178086dfa
make IntList serializable
2017-09-28 19:02:43 +02:00
4a762f39b9
add special implementation for add
...
The special implementation does not need to allocate an array for the
varargs of addAll
2017-09-28 18:22:16 +02:00
4da0726185
added todos with features that could be added
2017-09-26 20:22:52 +02:00
d00ab6533d
use a static final empty array if list is empty
2017-09-26 20:10:54 +02:00
ab7d554d52
grow the array only by 50%
...
The old implementation grew the array by 100% with each resize.
The new implementation reduces the memory usage for, especially
for large lists.
The new algorithm is overflow-concious.
2017-09-26 19:59:50 +02:00
4a07ed14b0
update gradle to 4.2
2017-09-26 19:30:58 +02:00
f7870a15a7
add sort (ascending) method
2017-02-05 14:18:47 +01:00
a535761b46
README.md edited online with Bitbucket
2017-02-04 08:15:29 +00:00
9a365834b6
Replace license with MIT.
...
Apparently putting your code into public domain is not that easy,
because of law(yer)s. So I'll stick to MIT license for now. It
seems to be the easiest and most free license that is widely
recognized.
2017-02-04 09:10:28 +01:00
ef5fb80fc9
README.md edited online with Bitbucket
2017-02-04 07:50:50 +00:00
145c2152d0
Add IntList a list implementation for primitive integers.
2017-02-03 20:31:58 +01:00
d3315a80d5
add license
...
This software released into the public domain.
2017-02-03 20:29:45 +01:00
5b082d6069
Initial commit
2017-02-01 18:50:57 +01:00