diff --git a/LICENSE b/LICENSE index 182032d76c01e0d0b11246b67a05313907412350..dfdaa19eaad8a338683a564c4da9dd161327a53a 100644 --- a/LICENSE +++ b/LICENSE @@ -186,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright 2022 Karma Krafts + Copyright 2022 - 2024 Karma Krafts Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/main/java/io/karma/sliced/function/BoolFunction.java b/src/main/java/io/karma/sliced/function/BoolFunction.java index 90543dc2d14c785025edf3e82b337f61d3f8af75..87da158608d7766045ff89a313f73e7c3a0d91b6 100644 --- a/src/main/java/io/karma/sliced/function/BoolFunction.java +++ b/src/main/java/io/karma/sliced/function/BoolFunction.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/function/ByteFunction.java b/src/main/java/io/karma/sliced/function/ByteFunction.java index ed8707c84626eb7b5fa32a07f67f9f29d3af9b6d..46cf76e390def01ef357037c1113b3e5dad0eb3f 100644 --- a/src/main/java/io/karma/sliced/function/ByteFunction.java +++ b/src/main/java/io/karma/sliced/function/ByteFunction.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/function/FloatFunction.java b/src/main/java/io/karma/sliced/function/FloatFunction.java index 747f1a789c5f98a7885ae7ba0db581495d9f69ff..42258281204f9066ce343bd9ba6912138b2cf3a3 100644 --- a/src/main/java/io/karma/sliced/function/FloatFunction.java +++ b/src/main/java/io/karma/sliced/function/FloatFunction.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/function/Int2CharFunction.java b/src/main/java/io/karma/sliced/function/Int2CharFunction.java index 15d9db11e4686c96a52dbc79abcdc6ce3df948df..d1a9c7e8fff7226553cb8d94872c41bef71f8337 100644 --- a/src/main/java/io/karma/sliced/function/Int2CharFunction.java +++ b/src/main/java/io/karma/sliced/function/Int2CharFunction.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/function/ShortFunction.java b/src/main/java/io/karma/sliced/function/ShortFunction.java index 1f0da21cdfae9a3effa6248f0a1b8ee59dd76f62..7045200fdabd486a9905675eb0a18cf5f4d0c5bc 100644 --- a/src/main/java/io/karma/sliced/function/ShortFunction.java +++ b/src/main/java/io/karma/sliced/function/ShortFunction.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/iterator/BoolIterator.java b/src/main/java/io/karma/sliced/iterator/BoolIterator.java index f51147c008c56e08ea507d031cf9da68da3ee055..bb92aa33ee8e35e761d46fae1fd9a8c0bbf66733 100644 --- a/src/main/java/io/karma/sliced/iterator/BoolIterator.java +++ b/src/main/java/io/karma/sliced/iterator/BoolIterator.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/iterator/ByteIterator.java b/src/main/java/io/karma/sliced/iterator/ByteIterator.java index 72ea8026c95d990eef5701e1846b89eb67f7190a..7a62cc770df62d144a6d91e713f2a1bf72d693e7 100644 --- a/src/main/java/io/karma/sliced/iterator/ByteIterator.java +++ b/src/main/java/io/karma/sliced/iterator/ByteIterator.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/iterator/CharIterator.java b/src/main/java/io/karma/sliced/iterator/CharIterator.java index 4c098dc2b17a7015bad76c7ce924f3846eb6cf11..3e9813d10ca8987d3033c2eda306bcd58a0f39e0 100644 --- a/src/main/java/io/karma/sliced/iterator/CharIterator.java +++ b/src/main/java/io/karma/sliced/iterator/CharIterator.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/iterator/DoubleIterator.java b/src/main/java/io/karma/sliced/iterator/DoubleIterator.java index e0f3af27fe216e52949b35a3b5482ef86a948230..4c71a2474abb75bb3e3602d917058f3e02308bb7 100644 --- a/src/main/java/io/karma/sliced/iterator/DoubleIterator.java +++ b/src/main/java/io/karma/sliced/iterator/DoubleIterator.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/iterator/FloatIterator.java b/src/main/java/io/karma/sliced/iterator/FloatIterator.java index 1ad83777ff8919675d6a5e409d510ee684f81636..83d34560f08337173715a7cfd2f044553dd079db 100644 --- a/src/main/java/io/karma/sliced/iterator/FloatIterator.java +++ b/src/main/java/io/karma/sliced/iterator/FloatIterator.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/iterator/IntIterator.java b/src/main/java/io/karma/sliced/iterator/IntIterator.java index 0cfb89c0045e092b036d678d607f8a6aaf5cf7a0..bb53cf6fa556684fc55018a305df12d90683ff59 100644 --- a/src/main/java/io/karma/sliced/iterator/IntIterator.java +++ b/src/main/java/io/karma/sliced/iterator/IntIterator.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/iterator/LongIterator.java b/src/main/java/io/karma/sliced/iterator/LongIterator.java index 1e453abc815a87919a2c318a9cf63c40b569e8dc..cbe912abeb5bbed17cd8307f0dae6d3261d7526a 100644 --- a/src/main/java/io/karma/sliced/iterator/LongIterator.java +++ b/src/main/java/io/karma/sliced/iterator/LongIterator.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/iterator/ShortIterator.java b/src/main/java/io/karma/sliced/iterator/ShortIterator.java index 45bb985d0e5c0286563e78646fc03a6867a6dff3..e3ffacea3c2705941a8f21744a30e2ac91e09dad 100644 --- a/src/main/java/io/karma/sliced/iterator/ShortIterator.java +++ b/src/main/java/io/karma/sliced/iterator/ShortIterator.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/iterator/TextIterator.java b/src/main/java/io/karma/sliced/iterator/TextIterator.java index c1a99c1cc91a25b0bcaeed8dbc7f28c3b77c8f0a..c97773ab64952669af7326359e4722d618cf2c15 100644 --- a/src/main/java/io/karma/sliced/iterator/TextIterator.java +++ b/src/main/java/io/karma/sliced/iterator/TextIterator.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/iterator/impl/ArrayBoolIterator.java b/src/main/java/io/karma/sliced/iterator/impl/ArrayBoolIterator.java index 6f44151ede6bee340a85e0f73277e350dd25b595..dc0733e7bac0dfeb384def8721f08903b61257c7 100644 --- a/src/main/java/io/karma/sliced/iterator/impl/ArrayBoolIterator.java +++ b/src/main/java/io/karma/sliced/iterator/impl/ArrayBoolIterator.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/iterator/impl/ArrayByteIterator.java b/src/main/java/io/karma/sliced/iterator/impl/ArrayByteIterator.java index 195a4333cb60b135e2a452e00ffa8fbd54047a09..2b09e1bf24ea8365f8aa68c8c171007c969768c3 100644 --- a/src/main/java/io/karma/sliced/iterator/impl/ArrayByteIterator.java +++ b/src/main/java/io/karma/sliced/iterator/impl/ArrayByteIterator.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/iterator/impl/ArrayCharIterator.java b/src/main/java/io/karma/sliced/iterator/impl/ArrayCharIterator.java index c36e8b872337555a2cf46478e9656b193ba7b6a8..6f27f8a3b90c44454f932432bc9bb110cd4f3385 100644 --- a/src/main/java/io/karma/sliced/iterator/impl/ArrayCharIterator.java +++ b/src/main/java/io/karma/sliced/iterator/impl/ArrayCharIterator.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/iterator/impl/ArrayDoubleIterator.java b/src/main/java/io/karma/sliced/iterator/impl/ArrayDoubleIterator.java index 75112cc1a8f91f5cabb9f29bc6f376c97f01e9b2..450375528beac4ba2a3e191a41f0da5a0194470e 100644 --- a/src/main/java/io/karma/sliced/iterator/impl/ArrayDoubleIterator.java +++ b/src/main/java/io/karma/sliced/iterator/impl/ArrayDoubleIterator.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/iterator/impl/ArrayFloatIterator.java b/src/main/java/io/karma/sliced/iterator/impl/ArrayFloatIterator.java index d15ff0b675c0faab4ff5734ad79b814f5bd20dc8..0d917b4125ade123b0fbef52b3a6cea9346be5f8 100644 --- a/src/main/java/io/karma/sliced/iterator/impl/ArrayFloatIterator.java +++ b/src/main/java/io/karma/sliced/iterator/impl/ArrayFloatIterator.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/iterator/impl/ArrayIntIterator.java b/src/main/java/io/karma/sliced/iterator/impl/ArrayIntIterator.java index 9d1d5c65e4d9f158b6872ff48e9b906186619aa1..a8f11b676668807879e58e4dfb7ac3539a305bf5 100644 --- a/src/main/java/io/karma/sliced/iterator/impl/ArrayIntIterator.java +++ b/src/main/java/io/karma/sliced/iterator/impl/ArrayIntIterator.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/iterator/impl/ArrayIterator.java b/src/main/java/io/karma/sliced/iterator/impl/ArrayIterator.java index 09e614631df3cde31e92f747f2d45a6591792e8c..3d8b12dda60aec007f42e522467c54e29feaae55 100644 --- a/src/main/java/io/karma/sliced/iterator/impl/ArrayIterator.java +++ b/src/main/java/io/karma/sliced/iterator/impl/ArrayIterator.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/iterator/impl/ArrayLongIterator.java b/src/main/java/io/karma/sliced/iterator/impl/ArrayLongIterator.java index 2b76e74652e947c4dd7d9822719b5f4e9a7332ac..c55f06455c24681f967c1ee0fc8e29e286cd6930 100644 --- a/src/main/java/io/karma/sliced/iterator/impl/ArrayLongIterator.java +++ b/src/main/java/io/karma/sliced/iterator/impl/ArrayLongIterator.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/iterator/impl/ArrayShortIterator.java b/src/main/java/io/karma/sliced/iterator/impl/ArrayShortIterator.java index 180c055b2f212f0dc06c7f95b273a57cf796b3c4..eb9da24b7fdb14edf833b7545291b02d374b48a7 100644 --- a/src/main/java/io/karma/sliced/iterator/impl/ArrayShortIterator.java +++ b/src/main/java/io/karma/sliced/iterator/impl/ArrayShortIterator.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/iterator/impl/ArrayTextIterator.java b/src/main/java/io/karma/sliced/iterator/impl/ArrayTextIterator.java index fa9a1544cfcd80c6fd934e8a0bd6181b4a0b348d..5480a247ab76f9f606121271517e7032d8e1e66b 100644 --- a/src/main/java/io/karma/sliced/iterator/impl/ArrayTextIterator.java +++ b/src/main/java/io/karma/sliced/iterator/impl/ArrayTextIterator.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/iterator/impl/CharSeqCharIterator.java b/src/main/java/io/karma/sliced/iterator/impl/CharSeqCharIterator.java index 21839f8681cc6704e2151a89e5877d3a6b2c36c3..b960d3109add958d078a01ecec34c25a1ce7b9dd 100644 --- a/src/main/java/io/karma/sliced/iterator/impl/CharSeqCharIterator.java +++ b/src/main/java/io/karma/sliced/iterator/impl/CharSeqCharIterator.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/iterator/impl/CharSeqTextIterator.java b/src/main/java/io/karma/sliced/iterator/impl/CharSeqTextIterator.java index 2e0dbcf6ff242a1a3ad378aba121159386070aa0..e9d04ef14c522a34a9bf8edf8c8fe773a9e03941 100644 --- a/src/main/java/io/karma/sliced/iterator/impl/CharSeqTextIterator.java +++ b/src/main/java/io/karma/sliced/iterator/impl/CharSeqTextIterator.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/iterator/impl/RangedArrayBoolIterator.java b/src/main/java/io/karma/sliced/iterator/impl/RangedArrayBoolIterator.java index aadea946ebe2913c5bf0349d18f52837c7461d78..c70841a060b4a87beb17ec11bf86809fddeee982 100644 --- a/src/main/java/io/karma/sliced/iterator/impl/RangedArrayBoolIterator.java +++ b/src/main/java/io/karma/sliced/iterator/impl/RangedArrayBoolIterator.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/iterator/impl/RangedArrayByteIterator.java b/src/main/java/io/karma/sliced/iterator/impl/RangedArrayByteIterator.java index 37ef37c1d6d9cca12b3d72b206bd6b4f104ec306..1c69ece85e2516940232bc673b2a4e57fcc85f89 100644 --- a/src/main/java/io/karma/sliced/iterator/impl/RangedArrayByteIterator.java +++ b/src/main/java/io/karma/sliced/iterator/impl/RangedArrayByteIterator.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/iterator/impl/RangedArrayCharIterator.java b/src/main/java/io/karma/sliced/iterator/impl/RangedArrayCharIterator.java index 4fab2b15207914228981e126a106c2ef1bf87f0b..160539e468aba9c08950dfc3bfc734c0c688d5b2 100644 --- a/src/main/java/io/karma/sliced/iterator/impl/RangedArrayCharIterator.java +++ b/src/main/java/io/karma/sliced/iterator/impl/RangedArrayCharIterator.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/iterator/impl/RangedArrayDoubleIterator.java b/src/main/java/io/karma/sliced/iterator/impl/RangedArrayDoubleIterator.java index 4912a1907fac47836bf4f837d9901d932d168512..d45946259678886eaf4b72a05c45e31fc7c1a6d8 100644 --- a/src/main/java/io/karma/sliced/iterator/impl/RangedArrayDoubleIterator.java +++ b/src/main/java/io/karma/sliced/iterator/impl/RangedArrayDoubleIterator.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/iterator/impl/RangedArrayFloatIterator.java b/src/main/java/io/karma/sliced/iterator/impl/RangedArrayFloatIterator.java index 587f63bb9362e6655b24a12b37eb94bc3340c35c..11230a6147b83753126d6be888c16efb078a5e8c 100644 --- a/src/main/java/io/karma/sliced/iterator/impl/RangedArrayFloatIterator.java +++ b/src/main/java/io/karma/sliced/iterator/impl/RangedArrayFloatIterator.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/iterator/impl/RangedArrayIntIterator.java b/src/main/java/io/karma/sliced/iterator/impl/RangedArrayIntIterator.java index 012da3367cb12ab08972c811d61480be6eda5eab..8da6c6ca17a81c717c7a22065a6a028cf25f8178 100644 --- a/src/main/java/io/karma/sliced/iterator/impl/RangedArrayIntIterator.java +++ b/src/main/java/io/karma/sliced/iterator/impl/RangedArrayIntIterator.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/iterator/impl/RangedArrayIterator.java b/src/main/java/io/karma/sliced/iterator/impl/RangedArrayIterator.java index a62d4c75305974a2cc5d19439d72d806686c5a6b..c4cf8392284792ddd91265a1147e1ae31272a242 100644 --- a/src/main/java/io/karma/sliced/iterator/impl/RangedArrayIterator.java +++ b/src/main/java/io/karma/sliced/iterator/impl/RangedArrayIterator.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/iterator/impl/RangedArrayLongIterator.java b/src/main/java/io/karma/sliced/iterator/impl/RangedArrayLongIterator.java index 4af4c61eba0bb122bb88859050ae3dd5260fdbfc..4ba16c67415e66666489c764e54933185271aead 100644 --- a/src/main/java/io/karma/sliced/iterator/impl/RangedArrayLongIterator.java +++ b/src/main/java/io/karma/sliced/iterator/impl/RangedArrayLongIterator.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/iterator/impl/RangedArrayShortIterator.java b/src/main/java/io/karma/sliced/iterator/impl/RangedArrayShortIterator.java index 2aeb59764f684a5257c5148be82050c67b377840..b1f922c99e98c0b72a5995ec1319714348eb5ef2 100644 --- a/src/main/java/io/karma/sliced/iterator/impl/RangedArrayShortIterator.java +++ b/src/main/java/io/karma/sliced/iterator/impl/RangedArrayShortIterator.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/iterator/impl/RangedArrayTextIterator.java b/src/main/java/io/karma/sliced/iterator/impl/RangedArrayTextIterator.java index a4d2fe4c431afce7b71e3fb159dfee481ca41ea8..7e1375450996a3ac5719c82f769f0d01a4c84805 100644 --- a/src/main/java/io/karma/sliced/iterator/impl/RangedArrayTextIterator.java +++ b/src/main/java/io/karma/sliced/iterator/impl/RangedArrayTextIterator.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/iterator/impl/RangedCharSeqCharIterator.java b/src/main/java/io/karma/sliced/iterator/impl/RangedCharSeqCharIterator.java index 0be19dcbe26a20d1832ae6c92d1393d9980282af..68aabea39587fd264395835c7c8c4e25d6a6aa5c 100644 --- a/src/main/java/io/karma/sliced/iterator/impl/RangedCharSeqCharIterator.java +++ b/src/main/java/io/karma/sliced/iterator/impl/RangedCharSeqCharIterator.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/iterator/impl/RangedCharSeqTextIterator.java b/src/main/java/io/karma/sliced/iterator/impl/RangedCharSeqTextIterator.java index 0fdfd0427c8e66a25d7c0fddd92d0d0ab080b621..9b90e4f59f2ea4c26191c76d7e5e3acff0103d6c 100644 --- a/src/main/java/io/karma/sliced/iterator/impl/RangedCharSeqTextIterator.java +++ b/src/main/java/io/karma/sliced/iterator/impl/RangedCharSeqTextIterator.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/iterator/impl/RangedListIterator.java b/src/main/java/io/karma/sliced/iterator/impl/RangedListIterator.java index 487f3ec5ef149a24a643e1fcde49cb00a937da4b..12b9727ba8a8cde70553c4f20e35b76c65f78063 100644 --- a/src/main/java/io/karma/sliced/iterator/impl/RangedListIterator.java +++ b/src/main/java/io/karma/sliced/iterator/impl/RangedListIterator.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/slice/BoolSlice.java b/src/main/java/io/karma/sliced/slice/BoolSlice.java index fcfc890408c02d427794d857290c94d9afdb273e..5d44c34f7bda24e044e6a08bc1590c9564a72350 100644 --- a/src/main/java/io/karma/sliced/slice/BoolSlice.java +++ b/src/main/java/io/karma/sliced/slice/BoolSlice.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/slice/ByteSlice.java b/src/main/java/io/karma/sliced/slice/ByteSlice.java index cb7abd37b35314cd7cf0c88f2e8a21032df95db5..551932fc1719c5b27d5c0f78f2cc8c0a2677e780 100644 --- a/src/main/java/io/karma/sliced/slice/ByteSlice.java +++ b/src/main/java/io/karma/sliced/slice/ByteSlice.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/slice/CharSlice.java b/src/main/java/io/karma/sliced/slice/CharSlice.java index 3fa338a6a5860a98a1e2d053b92a8e1f3eec9e6f..6fee58f655ecd9a3c0926ecc6fb576f0be0faa04 100644 --- a/src/main/java/io/karma/sliced/slice/CharSlice.java +++ b/src/main/java/io/karma/sliced/slice/CharSlice.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, @@ -89,9 +88,10 @@ public interface CharSlice extends CharView, Slice<Character> { * @param offset The index at which to start splitting. * @param size The size of the part of the sequence to split. * @return A new array of {@link CharSlice} instances, referencing the relevant - * sections of the original char sequence. + * sections of the original char sequence. */ - static @NotNull CharSlice[] split(final @NotNull CharSequence seq, final @NotNull CharSequence delimiter, final int offset, final int size) { + static @NotNull CharSlice[] split(final @NotNull CharSequence seq, final @NotNull CharSequence delimiter, + final int offset, final int size) { final int seqSize = seq.length(); final int maxIndex = seqSize - 1; @@ -157,7 +157,7 @@ public interface CharSlice extends CharView, Slice<Character> { * @param seq The character sequence to split. * @param delimiter The delimiter to split with. * @return A new array of {@link CharSlice} instances, referencing the relevant - * sections of the original char sequence. + * sections of the original char sequence. */ static @NotNull CharSlice[] split(final @NotNull CharSequence seq, final @NotNull CharSequence delimiter) { return split(seq, delimiter, 0, seq.length() - 1); @@ -172,9 +172,10 @@ public interface CharSlice extends CharView, Slice<Character> { * @param offset The index at which to start splitting. * @param size The size of the part of the sequence to split. * @return A new array of {@link CharSlice} instances, referencing the relevant - * sections of the original char sequence. + * sections of the original char sequence. */ - static @NotNull CharSlice[] split(final @NotNull CharSequence seq, final char delimiter, final int offset, final int size) { + static @NotNull CharSlice[] split(final @NotNull CharSequence seq, final char delimiter, final int offset, + final int size) { final int seqSize = seq.length(); final int maxIndex = seqSize - 1; @@ -220,7 +221,7 @@ public interface CharSlice extends CharView, Slice<Character> { * @param seq The character sequence to split. * @param delimiter The delimiter to split with. * @return A new array of {@link CharSlice} instances, referencing the relevant - * sections of the original char sequence. + * sections of the original char sequence. */ static @NotNull CharSlice[] split(final @NotNull CharSequence seq, final char delimiter) { return split(seq, delimiter, 0, seq.length() - 1); @@ -244,7 +245,7 @@ public interface CharSlice extends CharView, Slice<Character> { * @param offset The index at which to start splitting. * @param size The size of the part of the sequence to split. * @return A new array of {@link CharSlice} instances, referencing the relevant - * sections of the original char sequence. + * sections of the original char sequence. */ default @NotNull CharSlice[] split(final char delimiter, final int offset, final int size) { return split(this, delimiter, offset, size); @@ -255,7 +256,7 @@ public interface CharSlice extends CharView, Slice<Character> { * * @param delimiter The delimiter to split with. * @return A new array of {@link CharSlice} instances, referencing the relevant - * sections of the original char sequence. + * sections of the original char sequence. */ default @NotNull CharSlice[] split(final char delimiter) { return split(delimiter, 0, length() - 1); @@ -269,7 +270,7 @@ public interface CharSlice extends CharView, Slice<Character> { * @param offset The index at which to start splitting. * @param size The size of the part of the sequence to split. * @return A new array of {@link CharSlice} instances, referencing the relevant - * sections of the original char sequence. + * sections of the original char sequence. */ default @NotNull CharSlice[] split(final @NotNull CharSequence delimiter, final int offset, final int size) { return split(this, delimiter, offset, size); @@ -280,7 +281,7 @@ public interface CharSlice extends CharView, Slice<Character> { * * @param delimiter The delimiter to split with. * @return A new array of {@link CharSlice} instances, referencing the relevant - * sections of the original char sequence. + * sections of the original char sequence. */ default @NotNull CharSlice[] split(final @NotNull CharSequence delimiter) { return split(delimiter, 0, length() - 1); @@ -293,7 +294,7 @@ public interface CharSlice extends CharView, Slice<Character> { * underlying character sequence. * * @return A new {@link CharSlice} referencing all non-leading-WS - * characters of the original slice instance's character sequence. + * characters of the original slice instance's character sequence. */ @NotNull CharSlice trimLeading(); @@ -304,7 +305,7 @@ public interface CharSlice extends CharView, Slice<Character> { * underlying character sequence. * * @return A new {@link CharSlice} referencing all non-trailing-WS - * characters of the original slice instance's character sequence. + * characters of the original slice instance's character sequence. */ @NotNull CharSlice trimTrailing(); @@ -317,7 +318,7 @@ public interface CharSlice extends CharView, Slice<Character> { * This function is a combination of {@link #trimLeading()} and {@link #trimTrailing()}. * * @return A new {@link CharSlice} referencing all non-WS - * characters of the original slice instance's character sequence. + * characters of the original slice instance's character sequence. */ default @NotNull CharSlice trim() { return trimLeading().trimTrailing(); diff --git a/src/main/java/io/karma/sliced/slice/DoubleSlice.java b/src/main/java/io/karma/sliced/slice/DoubleSlice.java index 19d36d4bf9c6d80f75ffff80af29ed14c742686f..163fd4e9a7c253d6a0a73e8bd4f26a94429de728 100644 --- a/src/main/java/io/karma/sliced/slice/DoubleSlice.java +++ b/src/main/java/io/karma/sliced/slice/DoubleSlice.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/slice/FloatSlice.java b/src/main/java/io/karma/sliced/slice/FloatSlice.java index 04f4e6e2a8aa5c64e184d74abc64fc2c9ea6c60e..49d582fec4222ab8f9bf4c810530fb1544a72fbc 100644 --- a/src/main/java/io/karma/sliced/slice/FloatSlice.java +++ b/src/main/java/io/karma/sliced/slice/FloatSlice.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/slice/IntSlice.java b/src/main/java/io/karma/sliced/slice/IntSlice.java index cc3ddce9983310413cfe4aab5a22a9457e2bbe99..a1a95b1e6502460df30916b67935b18f7c2030c6 100644 --- a/src/main/java/io/karma/sliced/slice/IntSlice.java +++ b/src/main/java/io/karma/sliced/slice/IntSlice.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/slice/LongSlice.java b/src/main/java/io/karma/sliced/slice/LongSlice.java index fa9ef4b925a0f8826e9d47838071144aed94f96a..32735f3a0b6528df2d625c1cc75948f8b484f563 100644 --- a/src/main/java/io/karma/sliced/slice/LongSlice.java +++ b/src/main/java/io/karma/sliced/slice/LongSlice.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/slice/ShortSlice.java b/src/main/java/io/karma/sliced/slice/ShortSlice.java index 2240ce87e8fa157311b2f5a6157307931b3fbc05..116ef1be2712e5b1598144b56bf9f1d4482cf24a 100644 --- a/src/main/java/io/karma/sliced/slice/ShortSlice.java +++ b/src/main/java/io/karma/sliced/slice/ShortSlice.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/slice/Slice.java b/src/main/java/io/karma/sliced/slice/Slice.java index 70024235a5ed838b24f89b1fd72d166dd45142f3..68c6f3357993924a1089f59717c41e6ab0c744af 100644 --- a/src/main/java/io/karma/sliced/slice/Slice.java +++ b/src/main/java/io/karma/sliced/slice/Slice.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, @@ -23,12 +22,7 @@ import io.karma.sliced.view.View; import org.apiguardian.api.API; import org.jetbrains.annotations.NotNull; -import java.util.ArrayList; -import java.util.Collection; -import java.util.HashSet; -import java.util.List; -import java.util.Optional; -import java.util.Set; +import java.util.*; import java.util.function.Function; import java.util.function.IntFunction; import java.util.function.ObjIntConsumer; @@ -111,7 +105,8 @@ public interface Slice<T> extends View<T>, ResettableEnumeration<T> { * @param size The size of the newly created slice. * @return A new slice instance, which references the given array. */ - static <T> @NotNull Slice<T> copyOf(final @NotNull T[] array, final int offset, final int size, final @NotNull IntFunction<T[]> factory) { + static <T> @NotNull Slice<T> copyOf(final @NotNull T[] array, final int offset, final int size, + final @NotNull IntFunction<T[]> factory) { final int arraySize = array.length; if (offset < 0 || size < 0 || size > arraySize) { @@ -186,7 +181,7 @@ public interface Slice<T> extends View<T>, ResettableEnumeration<T> { * (relative to the offset of this slice). * @param size The size of the newly created slice. * @return A new slice instance containing the same collection/array reference - * as this slice instance, but with the given relative index range. + * as this slice instance, but with the given relative index range. */ @NotNull Slice<T> slice(final int offset, final int size); @@ -201,7 +196,7 @@ public interface Slice<T> extends View<T>, ResettableEnumeration<T> { * @param size The size of the newly created array. * @param factory The function with which to create the new array of size n. * @return A new array of size n, containing a reference to all elements contained - * within this view's underlying collection/array. + * within this view's underlying collection/array. */ default @NotNull T[] toArray(final int offset, final int size, final @NotNull IntFunction<T[]> factory) { if (offset < 0 || offset > size() || size <= 0) { @@ -228,9 +223,10 @@ public interface Slice<T> extends View<T>, ResettableEnumeration<T> { * @param factory The function with which to create the new collection. * @param <C> The type of the collection to create. * @return A new collection instance of type {@link C}, containing all elements - * given access to by this view instance. + * given access to by this view instance. */ - default <C extends Collection<T>> @NotNull C copy(final int offset, final int size, final @NotNull IntFunction<C> factory) { + default <C extends Collection<T>> @NotNull C copy(final int offset, final int size, + final @NotNull IntFunction<C> factory) { if (offset < 0 || offset > size() || size <= 0) { throw new ArrayIndexOutOfBoundsException("Invalid slice range"); } @@ -253,7 +249,7 @@ public interface Slice<T> extends View<T>, ResettableEnumeration<T> { * pre-allocated with the given size. * @param <C> The type of the collection to create. * @return A new collection instance of type {@link C}, containing all elements - * given access to by this view instance. + * given access to by this view instance. */ default <C extends Collection<T>> @NotNull C copy(final @NotNull IntFunction<C> factory) { return copy(0, size(), factory); diff --git a/src/main/java/io/karma/sliced/slice/StackSlice.java b/src/main/java/io/karma/sliced/slice/StackSlice.java index 3eaae8f75f521f35bfa2a3af392e8979f6fbdd6c..a7f5eed50c456fd7864c934ead328115c6192005 100644 --- a/src/main/java/io/karma/sliced/slice/StackSlice.java +++ b/src/main/java/io/karma/sliced/slice/StackSlice.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/slice/impl/AbstractSlice.java b/src/main/java/io/karma/sliced/slice/impl/AbstractSlice.java index 2ebfebc298def25862034b6bb42a5a376548a3b3..f3c8749b665dc283b40f48c7396e16daed087fac 100644 --- a/src/main/java/io/karma/sliced/slice/impl/AbstractSlice.java +++ b/src/main/java/io/karma/sliced/slice/impl/AbstractSlice.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/slice/impl/ArrayBoolSlice.java b/src/main/java/io/karma/sliced/slice/impl/ArrayBoolSlice.java index cdee4337a1b60a8abd5a5bc70c307d7976e135cd..9f7baafeabc920086d581323514af26cbfdf2cb4 100644 --- a/src/main/java/io/karma/sliced/slice/impl/ArrayBoolSlice.java +++ b/src/main/java/io/karma/sliced/slice/impl/ArrayBoolSlice.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/slice/impl/ArrayByteSlice.java b/src/main/java/io/karma/sliced/slice/impl/ArrayByteSlice.java index c8b435eb864f13ad9ee346bc6d296197dc4d68a9..cd734b29b2f24cc6118018c0f3f02ddf1f8e0f79 100644 --- a/src/main/java/io/karma/sliced/slice/impl/ArrayByteSlice.java +++ b/src/main/java/io/karma/sliced/slice/impl/ArrayByteSlice.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/slice/impl/ArrayCharSlice.java b/src/main/java/io/karma/sliced/slice/impl/ArrayCharSlice.java index 5f07bc4e9e99fc1a0f99a536cd16da1cd3efac33..d765bc6eeb8be346ffd710a1c2db5eb6680dd33a 100644 --- a/src/main/java/io/karma/sliced/slice/impl/ArrayCharSlice.java +++ b/src/main/java/io/karma/sliced/slice/impl/ArrayCharSlice.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/slice/impl/ArrayDoubleSlice.java b/src/main/java/io/karma/sliced/slice/impl/ArrayDoubleSlice.java index 437e911898bc4ff09cf838969c4d6d72502fa997..ca1e8afde4c2ad853a6450c117df4d9bf71a63a8 100644 --- a/src/main/java/io/karma/sliced/slice/impl/ArrayDoubleSlice.java +++ b/src/main/java/io/karma/sliced/slice/impl/ArrayDoubleSlice.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/slice/impl/ArrayFloatSlice.java b/src/main/java/io/karma/sliced/slice/impl/ArrayFloatSlice.java index 368e3b162f48b41791d6826f3c22baea8cc2cd28..2641c3d2b829f178217be85531a4664c8e4daf58 100644 --- a/src/main/java/io/karma/sliced/slice/impl/ArrayFloatSlice.java +++ b/src/main/java/io/karma/sliced/slice/impl/ArrayFloatSlice.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/slice/impl/ArrayIntSlice.java b/src/main/java/io/karma/sliced/slice/impl/ArrayIntSlice.java index a7d9256246c270c827470a024e362277f9d37f52..2668688c2dff57a7b7b22ecaea5f2bf83acecd61 100644 --- a/src/main/java/io/karma/sliced/slice/impl/ArrayIntSlice.java +++ b/src/main/java/io/karma/sliced/slice/impl/ArrayIntSlice.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/slice/impl/ArrayLongSlice.java b/src/main/java/io/karma/sliced/slice/impl/ArrayLongSlice.java index 45a73973e13112fd71426df106f3471a8fb13b10..a3b0ab8fd352c027dbb36ddc2432e0d758d67530 100644 --- a/src/main/java/io/karma/sliced/slice/impl/ArrayLongSlice.java +++ b/src/main/java/io/karma/sliced/slice/impl/ArrayLongSlice.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/slice/impl/ArrayShortSlice.java b/src/main/java/io/karma/sliced/slice/impl/ArrayShortSlice.java index 11a23897d520f93fec7ec53bd51c3f523fe2822b..c14e1fed06b97d084067714f6f55c9412244d5da 100644 --- a/src/main/java/io/karma/sliced/slice/impl/ArrayShortSlice.java +++ b/src/main/java/io/karma/sliced/slice/impl/ArrayShortSlice.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/slice/impl/ArraySlice.java b/src/main/java/io/karma/sliced/slice/impl/ArraySlice.java index d04a2e0175633fd96045256618f14b8ef7f7bc8d..000ce8ad3d233f09d209de9a394b7e531848ee6d 100644 --- a/src/main/java/io/karma/sliced/slice/impl/ArraySlice.java +++ b/src/main/java/io/karma/sliced/slice/impl/ArraySlice.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/slice/impl/CharSeqSlice.java b/src/main/java/io/karma/sliced/slice/impl/CharSeqSlice.java index 0f1f448352b16f0f7f4fa58cf919035e0d2ab3c1..45e697ef4ecf51fa32d29ec3ab9e9eee63dba871 100644 --- a/src/main/java/io/karma/sliced/slice/impl/CharSeqSlice.java +++ b/src/main/java/io/karma/sliced/slice/impl/CharSeqSlice.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/slice/impl/ListSlice.java b/src/main/java/io/karma/sliced/slice/impl/ListSlice.java index 145e3b57ab4e12ae49bcf9e8ea5816e1ac4cde7e..d1247e6a785145c0d274458d2e62d18a1a1fc3e4 100644 --- a/src/main/java/io/karma/sliced/slice/impl/ListSlice.java +++ b/src/main/java/io/karma/sliced/slice/impl/ListSlice.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/slice/impl/StackSliceImpl.java b/src/main/java/io/karma/sliced/slice/impl/StackSliceImpl.java index 39877f46cc876509a6b6409990b3f72778604c67..68ab94cf866dd7df3b4b0e170e30fe658ac585f2 100644 --- a/src/main/java/io/karma/sliced/slice/impl/StackSliceImpl.java +++ b/src/main/java/io/karma/sliced/slice/impl/StackSliceImpl.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/slice/mutable/MutableBoolSlice.java b/src/main/java/io/karma/sliced/slice/mutable/MutableBoolSlice.java index e6d54b4490a88b59bca0b1e65261c9b4a9912f5a..d26afb4d27e71b0d55b6c0abf6d70bd32314ff14 100644 --- a/src/main/java/io/karma/sliced/slice/mutable/MutableBoolSlice.java +++ b/src/main/java/io/karma/sliced/slice/mutable/MutableBoolSlice.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/slice/mutable/MutableByteSlice.java b/src/main/java/io/karma/sliced/slice/mutable/MutableByteSlice.java index 5f0207a3822dfa5e361a279186b21ce35415447f..bebac6bde69148d871148c8e2b9b7df8557dab9d 100644 --- a/src/main/java/io/karma/sliced/slice/mutable/MutableByteSlice.java +++ b/src/main/java/io/karma/sliced/slice/mutable/MutableByteSlice.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/slice/mutable/MutableCharSlice.java b/src/main/java/io/karma/sliced/slice/mutable/MutableCharSlice.java index fc021ebff1bd68744346e02b55aee5b3ce268904..5aa1dc7b56ac900d4c37fc6e88c2912e80b0df3d 100644 --- a/src/main/java/io/karma/sliced/slice/mutable/MutableCharSlice.java +++ b/src/main/java/io/karma/sliced/slice/mutable/MutableCharSlice.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/slice/mutable/MutableDoubleSlice.java b/src/main/java/io/karma/sliced/slice/mutable/MutableDoubleSlice.java index db6fba41c44dcecc1ef4fcea95ad467d5e828b27..14af7b03cd7e0e0e60b2d63d558d5709a2ce2629 100644 --- a/src/main/java/io/karma/sliced/slice/mutable/MutableDoubleSlice.java +++ b/src/main/java/io/karma/sliced/slice/mutable/MutableDoubleSlice.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/slice/mutable/MutableFloatSlice.java b/src/main/java/io/karma/sliced/slice/mutable/MutableFloatSlice.java index 52c03b8bd58794c454a931a352ac58c759ed2222..05c9faf2d4623f67108e094ab78ec266e53acdca 100644 --- a/src/main/java/io/karma/sliced/slice/mutable/MutableFloatSlice.java +++ b/src/main/java/io/karma/sliced/slice/mutable/MutableFloatSlice.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/slice/mutable/MutableIntSlice.java b/src/main/java/io/karma/sliced/slice/mutable/MutableIntSlice.java index f997b92ff15b964a961a6241791de0574979ce63..5ad4494a550854943bbbdcb8fd9d6815ba9f413d 100644 --- a/src/main/java/io/karma/sliced/slice/mutable/MutableIntSlice.java +++ b/src/main/java/io/karma/sliced/slice/mutable/MutableIntSlice.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/slice/mutable/MutableLongSlice.java b/src/main/java/io/karma/sliced/slice/mutable/MutableLongSlice.java index 1d91e5727b285a83ba534cadd996395a65ebb1d1..2a4924f6044749200c550fc4077382bb57026385 100644 --- a/src/main/java/io/karma/sliced/slice/mutable/MutableLongSlice.java +++ b/src/main/java/io/karma/sliced/slice/mutable/MutableLongSlice.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/slice/mutable/MutableShortSlice.java b/src/main/java/io/karma/sliced/slice/mutable/MutableShortSlice.java index e0d760d93b42db83d2430cda555cf3b2d0a10e84..28204bab7aff0cc07ebede3253a077290743935f 100644 --- a/src/main/java/io/karma/sliced/slice/mutable/MutableShortSlice.java +++ b/src/main/java/io/karma/sliced/slice/mutable/MutableShortSlice.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/slice/mutable/MutableSlice.java b/src/main/java/io/karma/sliced/slice/mutable/MutableSlice.java index 3300d5d2d4f1693c98b50fedb7772e67e42a7976..40318c6becc50e4f7e16fc74785ff27d3cdb4bb1 100644 --- a/src/main/java/io/karma/sliced/slice/mutable/MutableSlice.java +++ b/src/main/java/io/karma/sliced/slice/mutable/MutableSlice.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/slice/mutable/MutableStackSlice.java b/src/main/java/io/karma/sliced/slice/mutable/MutableStackSlice.java index bdf728740ac5de5e180f8ec772c8f963155f8317..1249e1108cfb8f614bacfdcee51cb1b98751b9f8 100644 --- a/src/main/java/io/karma/sliced/slice/mutable/MutableStackSlice.java +++ b/src/main/java/io/karma/sliced/slice/mutable/MutableStackSlice.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/slice/mutable/impl/AbstractMutableSlice.java b/src/main/java/io/karma/sliced/slice/mutable/impl/AbstractMutableSlice.java index f712696f3264576883ded2b89da4b357abb0922a..088b75773c4b90f417e592d2b9805405fdba4568 100644 --- a/src/main/java/io/karma/sliced/slice/mutable/impl/AbstractMutableSlice.java +++ b/src/main/java/io/karma/sliced/slice/mutable/impl/AbstractMutableSlice.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/slice/mutable/impl/MutableArrayBoolSlice.java b/src/main/java/io/karma/sliced/slice/mutable/impl/MutableArrayBoolSlice.java index ce0e2479981d89abf9aac34d79ae7d0b55b63d2b..f6e601cfb8f8e98dce2515af63537a0546ccf323 100644 --- a/src/main/java/io/karma/sliced/slice/mutable/impl/MutableArrayBoolSlice.java +++ b/src/main/java/io/karma/sliced/slice/mutable/impl/MutableArrayBoolSlice.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/slice/mutable/impl/MutableArrayByteSlice.java b/src/main/java/io/karma/sliced/slice/mutable/impl/MutableArrayByteSlice.java index cae90ae1594698cff09ea9687433b7c07c177af0..b03f0c4c785ac8aec7e5d6d659e5c64eb1d64964 100644 --- a/src/main/java/io/karma/sliced/slice/mutable/impl/MutableArrayByteSlice.java +++ b/src/main/java/io/karma/sliced/slice/mutable/impl/MutableArrayByteSlice.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/slice/mutable/impl/MutableArrayCharSlice.java b/src/main/java/io/karma/sliced/slice/mutable/impl/MutableArrayCharSlice.java index 3a1c35ce0c2ed976bff908b3f045d21a91be0c39..cdac2d911a167d260a609e6d80d04e99736edbde 100644 --- a/src/main/java/io/karma/sliced/slice/mutable/impl/MutableArrayCharSlice.java +++ b/src/main/java/io/karma/sliced/slice/mutable/impl/MutableArrayCharSlice.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/slice/mutable/impl/MutableArrayDoubleSlice.java b/src/main/java/io/karma/sliced/slice/mutable/impl/MutableArrayDoubleSlice.java index c8062fad0c6bbbed61e0a87d99b55a3fe6eb2319..c0b9bc2be3adbc299dd9fc7a1c60c9824354e00b 100644 --- a/src/main/java/io/karma/sliced/slice/mutable/impl/MutableArrayDoubleSlice.java +++ b/src/main/java/io/karma/sliced/slice/mutable/impl/MutableArrayDoubleSlice.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/slice/mutable/impl/MutableArrayFloatSlice.java b/src/main/java/io/karma/sliced/slice/mutable/impl/MutableArrayFloatSlice.java index b44e9ec4bee0947d1e88b951767a8cbd41fa4d30..f041f5097c30280711ebdaa491ce9305b43e41b5 100644 --- a/src/main/java/io/karma/sliced/slice/mutable/impl/MutableArrayFloatSlice.java +++ b/src/main/java/io/karma/sliced/slice/mutable/impl/MutableArrayFloatSlice.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/slice/mutable/impl/MutableArrayIntSlice.java b/src/main/java/io/karma/sliced/slice/mutable/impl/MutableArrayIntSlice.java index 5d9851afd8cd4e209c09ad7c0048676de9b92a69..7bc71a2b5cf712836537f28eceaf2a072f26a307 100644 --- a/src/main/java/io/karma/sliced/slice/mutable/impl/MutableArrayIntSlice.java +++ b/src/main/java/io/karma/sliced/slice/mutable/impl/MutableArrayIntSlice.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/slice/mutable/impl/MutableArrayLongSlice.java b/src/main/java/io/karma/sliced/slice/mutable/impl/MutableArrayLongSlice.java index 0a0a54c9c713566d94b0e275f09a556718e31c58..a3a9279cc9c095d63666141bdefba78082d948a2 100644 --- a/src/main/java/io/karma/sliced/slice/mutable/impl/MutableArrayLongSlice.java +++ b/src/main/java/io/karma/sliced/slice/mutable/impl/MutableArrayLongSlice.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/slice/mutable/impl/MutableArrayShortSlice.java b/src/main/java/io/karma/sliced/slice/mutable/impl/MutableArrayShortSlice.java index c9ff1edb377d1a8c4512d9752fd2d393bf630857..5da62642ed4cb7bcf561199c8c9539abb4330339 100644 --- a/src/main/java/io/karma/sliced/slice/mutable/impl/MutableArrayShortSlice.java +++ b/src/main/java/io/karma/sliced/slice/mutable/impl/MutableArrayShortSlice.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/slice/mutable/impl/MutableArraySlice.java b/src/main/java/io/karma/sliced/slice/mutable/impl/MutableArraySlice.java index 8cc054fd7db99ec702f135d682a87ad355e04784..1c2a4132ea5397c8cffa570cf805fd7593f556d2 100644 --- a/src/main/java/io/karma/sliced/slice/mutable/impl/MutableArraySlice.java +++ b/src/main/java/io/karma/sliced/slice/mutable/impl/MutableArraySlice.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/slice/mutable/impl/MutableCharSeqSlice.java b/src/main/java/io/karma/sliced/slice/mutable/impl/MutableCharSeqSlice.java index 8905efe897a0c1e1faa17afb7cf8eb929537f7f5..e692a0c57f2b1e8729dbf59fa4181e36be4acc06 100644 --- a/src/main/java/io/karma/sliced/slice/mutable/impl/MutableCharSeqSlice.java +++ b/src/main/java/io/karma/sliced/slice/mutable/impl/MutableCharSeqSlice.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/slice/mutable/impl/MutableListSlice.java b/src/main/java/io/karma/sliced/slice/mutable/impl/MutableListSlice.java index 8072e19ab285be64fbdd2710807941db60efa17c..64f2680417f7078f8f88ded084dfe5ede1f22fa0 100644 --- a/src/main/java/io/karma/sliced/slice/mutable/impl/MutableListSlice.java +++ b/src/main/java/io/karma/sliced/slice/mutable/impl/MutableListSlice.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/slice/mutable/impl/MutableStackSliceImpl.java b/src/main/java/io/karma/sliced/slice/mutable/impl/MutableStackSliceImpl.java index 76f91c36c1fdf96b45577a05ce26b612f7a52643..30350ca749c279655fcd814b76f3ef3fae1bbf35 100644 --- a/src/main/java/io/karma/sliced/slice/mutable/impl/MutableStackSliceImpl.java +++ b/src/main/java/io/karma/sliced/slice/mutable/impl/MutableStackSliceImpl.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, @@ -34,7 +33,8 @@ import java.util.Stack; * @since 11/08/2022 */ @API(status = Status.INTERNAL) -public final class MutableStackSliceImpl<T, S extends Stack<T>> extends AbstractMutableSlice<T> implements MutableStackSlice<T> { +public final class MutableStackSliceImpl<T, S extends Stack<T>> extends AbstractMutableSlice<T> + implements MutableStackSlice<T> { private final S ref; private int iterationIndex; diff --git a/src/main/java/io/karma/sliced/util/MoreArrays.java b/src/main/java/io/karma/sliced/util/MoreArrays.java index 19fcb462e368912ddff82a0e9839841c534f17e3..a238f72a7ebb04d6e7976c938fb6dda38a0fd962 100644 --- a/src/main/java/io/karma/sliced/util/MoreArrays.java +++ b/src/main/java/io/karma/sliced/util/MoreArrays.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, @@ -42,7 +41,7 @@ public final class MoreArrays { * @param offset The offset into the array from which to copy. * @param size The number of elements to copy into the newly created array. * @return A new array with the given size, containing - * all the elements from the given array, at the given indices. + * all the elements from the given array, at the given indices. */ public static boolean[] copy(final boolean[] ref, final int offset, final int size) { if (offset < 0 || size < 0 || size > ref.length || offset >= size) { @@ -71,7 +70,7 @@ public final class MoreArrays { * @param offset The offset into the array from which to copy. * @param size The number of elements to copy into the newly created array. * @return A new array with the given size, containing - * all the elements from the given array, at the given indices. + * all the elements from the given array, at the given indices. */ public static byte[] copy(final byte[] ref, final int offset, final int size) { if (offset < 0 || size < 0 || size > ref.length || offset >= size) { @@ -100,7 +99,7 @@ public final class MoreArrays { * @param offset The offset into the array from which to copy. * @param size The number of elements to copy into the newly created array. * @return A new array with the given size, containing - * all the elements from the given array, at the given indices. + * all the elements from the given array, at the given indices. */ public static short[] copy(final short[] ref, final int offset, final int size) { if (offset < 0 || size < 0 || size > ref.length || offset >= size) { @@ -129,7 +128,7 @@ public final class MoreArrays { * @param offset The offset into the array from which to copy. * @param size The number of elements to copy into the newly created array. * @return A new array with the given size, containing - * all the elements from the given array, at the given indices. + * all the elements from the given array, at the given indices. */ public static int[] copy(final int[] ref, final int offset, final int size) { if (offset < 0 || size < 0 || size > ref.length || offset >= size) { @@ -158,7 +157,7 @@ public final class MoreArrays { * @param offset The offset into the array from which to copy. * @param size The number of elements to copy into the newly created array. * @return A new array with the given size, containing - * all the elements from the given array, at the given indices. + * all the elements from the given array, at the given indices. */ public static long[] copy(final long[] ref, final int offset, final int size) { if (offset < 0 || size < 0 || size > ref.length || offset >= size) { @@ -187,7 +186,7 @@ public final class MoreArrays { * @param offset The offset into the array from which to copy. * @param size The number of elements to copy into the newly created array. * @return A new array with the given size, containing - * all the elements from the given array, at the given indices. + * all the elements from the given array, at the given indices. */ public static float[] copy(final float[] ref, final int offset, final int size) { if (offset < 0 || size < 0 || size > ref.length || offset >= size) { @@ -216,7 +215,7 @@ public final class MoreArrays { * @param offset The offset into the array from which to copy. * @param size The number of elements to copy into the newly created array. * @return A new array with the given size, containing - * all the elements from the given array, at the given indices. + * all the elements from the given array, at the given indices. */ public static double[] copy(final double[] ref, final int offset, final int size) { if (offset < 0 || size < 0 || size > ref.length || offset >= size) { @@ -245,7 +244,7 @@ public final class MoreArrays { * @param offset The offset into the array from which to copy. * @param size The number of elements to copy into the newly created array. * @return A new array with the given size, containing - * all the elements from the given array, at the given indices. + * all the elements from the given array, at the given indices. */ public static char[] copy(final char[] ref, final int offset, final int size) { if (offset < 0 || size < 0 || size > ref.length || offset >= size) { @@ -269,19 +268,19 @@ public final class MoreArrays { /** * Returns a hash code based on the contents of the specified array. - * For any two <tt>boolean</tt> arrays <tt>a</tt> and <tt>b</tt> - * such that <tt>Arrays.equals(a, b)</tt>, it is also the case that - * <tt>Arrays.hashCode(a) == Arrays.hashCode(b)</tt>. + * For any two {@code boolean} arrays <b>a</b> and <b>b</b> + * such that {@code Arrays.equals(a, b)}, it is also the case that + * {@code Arrays.hashCode(a) == Arrays.hashCode(b)}. * <p>The value returned by this method is the same value that would be - * obtained by invoking the {@link List#hashCode() <tt>hashCode</tt>} + * obtained by invoking the {@link List#hashCode()} {@code hashCode} * method on a {@link List} containing a sequence of {@link Boolean} - * instances representing the elements of <tt>a</tt> in the same order. - * If <tt>a</tt> is <tt>null</tt>, this method returns 0. + * instances representing the elements of <b>a</b> in the same order. + * If <b>a</b> is <b>null</b>, this method returns 0. * * @param ref the array whose hash value to compute. * @param offset The offset into the array at which to start hashing. * @param size The size of the element sequence to hash. - * @return a content-based hash code for <tt>a</tt>. + * @return a content-based hash code for <b>a</b>. */ public static int hashCode(final boolean[] ref, final int offset, final int size) { if (ref == null || offset < 0 || size < 0 || size > ref.length || offset >= size) { @@ -300,19 +299,19 @@ public final class MoreArrays { /** * Returns a hash code based on the contents of the specified array. - * For any two <tt>byte</tt> arrays <tt>a</tt> and <tt>b</tt> - * such that <tt>Arrays.equals(a, b)</tt>, it is also the case that - * <tt>Arrays.hashCode(a) == Arrays.hashCode(b)</tt>. + * For any two {@code boolean} arrays <b>a</b> and <b>b</b> + * such that {@code Arrays.equals(a, b)}, it is also the case that + * {@code Arrays.hashCode(a) == Arrays.hashCode(b)}. * <p>The value returned by this method is the same value that would be - * obtained by invoking the {@link List#hashCode() <tt>hashCode</tt>} + * obtained by invoking the {@link List#hashCode()} {@code hashCode} * method on a {@link List} containing a sequence of {@link Byte} - * instances representing the elements of <tt>a</tt> in the same order. - * If <tt>a</tt> is <tt>null</tt>, this method returns 0. + * instances representing the elements of <b>a</b> in the same order. + * If <b>a</b> is <b>null</b>, this method returns 0. * * @param ref the array whose hash value to compute. * @param offset The offset into the array at which to start hashing. * @param size The size of the element sequence to hash. - * @return a content-based hash code for <tt>a</tt>. + * @return a content-based hash code for <b>a</b>. */ public static int hashCode(final byte[] ref, final int offset, final int size) { if (ref == null || offset < 0 || size < 0 || size > ref.length || offset >= size) { @@ -331,19 +330,19 @@ public final class MoreArrays { /** * Returns a hash code based on the contents of the specified array. - * For any two <tt>short</tt> arrays <tt>a</tt> and <tt>b</tt> - * such that <tt>Arrays.equals(a, b)</tt>, it is also the case that - * <tt>Arrays.hashCode(a) == Arrays.hashCode(b)</tt>. + * For any two {@code boolean} arrays <b>a</b> and <b>b</b> + * such that {@code Arrays.equals(a, b)}, it is also the case that + * {@code Arrays.hashCode(a) == Arrays.hashCode(b)}. * <p>The value returned by this method is the same value that would be - * obtained by invoking the {@link List#hashCode() <tt>hashCode</tt>} + * obtained by invoking the {@link List#hashCode()} {@code hashCode} * method on a {@link List} containing a sequence of {@link Short} - * instances representing the elements of <tt>a</tt> in the same order. - * If <tt>a</tt> is <tt>null</tt>, this method returns 0. + * instances representing the elements of <b>a</b> in the same order. + * If <b>a</b> is <b>null</b>, this method returns 0. * * @param ref the array whose hash value to compute. * @param offset The offset into the array at which to start hashing. * @param size The size of the element sequence to hash. - * @return a content-based hash code for <tt>a</tt>. + * @return a content-based hash code for <b>a</b>. */ public static int hashCode(final short[] ref, final int offset, final int size) { if (ref == null || offset < 0 || size < 0 || size > ref.length || offset >= size) { @@ -362,19 +361,19 @@ public final class MoreArrays { /** * Returns a hash code based on the contents of the specified array. - * For any two <tt>int</tt> arrays <tt>a</tt> and <tt>b</tt> - * such that <tt>Arrays.equals(a, b)</tt>, it is also the case that - * <tt>Arrays.hashCode(a) == Arrays.hashCode(b)</tt>. + * For any two {@code boolean} arrays <b>a</b> and <b>b</b> + * such that {@code Arrays.equals(a, b)}, it is also the case that + * {@code Arrays.hashCode(a) == Arrays.hashCode(b)}. * <p>The value returned by this method is the same value that would be - * obtained by invoking the {@link List#hashCode() <tt>hashCode</tt>} + * obtained by invoking the {@link List#hashCode()} {@code hashCode} * method on a {@link List} containing a sequence of {@link Integer} - * instances representing the elements of <tt>a</tt> in the same order. - * If <tt>a</tt> is <tt>null</tt>, this method returns 0. + * instances representing the elements of <b>a</b> in the same order. + * If <b>a</b> is <b>null</b>, this method returns 0. * * @param ref the array whose hash value to compute. * @param offset The offset into the array at which to start hashing. * @param size The size of the element sequence to hash. - * @return a content-based hash code for <tt>a</tt>. + * @return a content-based hash code for <b>a</b>. */ public static int hashCode(final int[] ref, final int offset, final int size) { if (ref == null || offset < 0 || size < 0 || size > ref.length || offset >= size) { @@ -393,19 +392,19 @@ public final class MoreArrays { /** * Returns a hash code based on the contents of the specified array. - * For any two <tt>long</tt> arrays <tt>a</tt> and <tt>b</tt> - * such that <tt>Arrays.equals(a, b)</tt>, it is also the case that - * <tt>Arrays.hashCode(a) == Arrays.hashCode(b)</tt>. + * For any two {@code boolean} arrays <b>a</b> and <b>b</b> + * such that {@code Arrays.equals(a, b)}, it is also the case that + * {@code Arrays.hashCode(a) == Arrays.hashCode(b)}. * <p>The value returned by this method is the same value that would be - * obtained by invoking the {@link List#hashCode() <tt>hashCode</tt>} + * obtained by invoking the {@link List#hashCode()} {@code hashCode} * method on a {@link List} containing a sequence of {@link Long} - * instances representing the elements of <tt>a</tt> in the same order. - * If <tt>a</tt> is <tt>null</tt>, this method returns 0. + * instances representing the elements of <b>a</b> in the same order. + * If <b>a</b> is <b>null</b>, this method returns 0. * * @param ref the array whose hash value to compute. * @param offset The offset into the array at which to start hashing. * @param size The size of the element sequence to hash. - * @return a content-based hash code for <tt>a</tt>. + * @return a content-based hash code for <b>a</b>. */ public static int hashCode(final long[] ref, final int offset, final int size) { if (ref == null || offset < 0 || size < 0 || size > ref.length || offset >= size) { @@ -425,19 +424,19 @@ public final class MoreArrays { /** * Returns a hash code based on the contents of the specified array. - * For any two <tt>float</tt> arrays <tt>a</tt> and <tt>b</tt> - * such that <tt>Arrays.equals(a, b)</tt>, it is also the case that - * <tt>Arrays.hashCode(a) == Arrays.hashCode(b)</tt>. + * For any two {@code boolean} arrays <b>a</b> and <b>b</b> + * such that {@code Arrays.equals(a, b)}, it is also the case that + * {@code Arrays.hashCode(a) == Arrays.hashCode(b)}. * <p>The value returned by this method is the same value that would be - * obtained by invoking the {@link List#hashCode() <tt>hashCode</tt>} + * obtained by invoking the {@link List#hashCode()} {@code hashCode} * method on a {@link List} containing a sequence of {@link Float} - * instances representing the elements of <tt>a</tt> in the same order. - * If <tt>a</tt> is <tt>null</tt>, this method returns 0. + * instances representing the elements of <b>a</b> in the same order. + * If <b>a</b> is <b>null</b>, this method returns 0. * * @param ref the array whose hash value to compute. * @param offset The offset into the array at which to start hashing. * @param size The size of the element sequence to hash. - * @return a content-based hash code for <tt>a</tt>. + * @return a content-based hash code for <b>a</b>. */ public static int hashCode(final float[] ref, final int offset, final int size) { if (ref == null || offset < 0 || size < 0 || size > ref.length || offset >= size) { @@ -456,19 +455,19 @@ public final class MoreArrays { /** * Returns a hash code based on the contents of the specified array. - * For any two <tt>double</tt> arrays <tt>a</tt> and <tt>b</tt> - * such that <tt>Arrays.equals(a, b)</tt>, it is also the case that - * <tt>Arrays.hashCode(a) == Arrays.hashCode(b)</tt>. + * For any two {@code boolean} arrays <b>a</b> and <b>b</b> + * such that {@code Arrays.equals(a, b)}, it is also the case that + * {@code Arrays.hashCode(a) == Arrays.hashCode(b)}. * <p>The value returned by this method is the same value that would be - * obtained by invoking the {@link List#hashCode() <tt>hashCode</tt>} + * obtained by invoking the {@link List#hashCode()} {@code hashCode} * method on a {@link List} containing a sequence of {@link Double} - * instances representing the elements of <tt>a</tt> in the same order. - * If <tt>a</tt> is <tt>null</tt>, this method returns 0. + * instances representing the elements of <b>a</b> in the same order. + * If <b>a</b> is <b>null</b>, this method returns 0. * * @param ref the array whose hash value to compute. * @param offset The offset into the array at which to start hashing. * @param size The size of the element sequence to hash. - * @return a content-based hash code for <tt>a</tt>. + * @return a content-based hash code for <b>a</b>. */ public static int hashCode(final double[] ref, final int offset, final int size) { if (ref == null || offset < 0 || size < 0 || size > ref.length || offset >= size) { @@ -488,19 +487,19 @@ public final class MoreArrays { /** * Returns a hash code based on the contents of the specified array. - * For any two <tt>char</tt> arrays <tt>a</tt> and <tt>b</tt> - * such that <tt>Arrays.equals(a, b)</tt>, it is also the case that - * <tt>Arrays.hashCode(a) == Arrays.hashCode(b)</tt>. + * For any two {@code boolean} arrays <b>a</b> and <b>b</b> + * such that {@code Arrays.equals(a, b)}, it is also the case that + * {@code Arrays.hashCode(a) == Arrays.hashCode(b)}. * <p>The value returned by this method is the same value that would be - * obtained by invoking the {@link List#hashCode() <tt>hashCode</tt>} + * obtained by invoking the {@link List#hashCode()} {@code hashCode} * method on a {@link List} containing a sequence of {@link Character} - * instances representing the elements of <tt>a</tt> in the same order. - * If <tt>a</tt> is <tt>null</tt>, this method returns 0. + * instances representing the elements of <b>a</b> in the same order. + * If <b>a</b> is <b>null</b>, this method returns 0. * * @param ref the array whose hash value to compute. * @param offset The offset into the array at which to start hashing. * @param size The size of the element sequence to hash. - * @return a content-based hash code for <tt>a</tt>. + * @return a content-based hash code for <b>a</b>. */ public static int hashCode(final char[] ref, final int offset, final int size) { if (ref == null || offset < 0 || size < 0 || size > ref.length || offset >= size) { @@ -518,19 +517,19 @@ public final class MoreArrays { /** * Returns a hash code based on the contents of the specified array. - * For any two <tt>Object</tt> arrays <tt>a</tt> and <tt>b</tt> - * such that <tt>Arrays.equals(a, b)</tt>, it is also the case that - * <tt>Arrays.hashCode(a) == Arrays.hashCode(b)</tt>. + * For any two {@code boolean} arrays <b>a</b> and <b>b</b> + * such that {@code Arrays.equals(a, b)}, it is also the case that + * {@code Arrays.hashCode(a) == Arrays.hashCode(b)}. * <p>The value returned by this method is the same value that would be - * obtained by invoking the {@link List#hashCode() <tt>hashCode</tt>} + * obtained by invoking the {@link List#hashCode()} {@code hashCode} * method on a {@link List} containing a sequence of {@link Object} - * instances representing the elements of <tt>a</tt> in the same order. - * If <tt>a</tt> is <tt>null</tt>, this method returns 0. + * instances representing the elements of <b>a</b> in the same order. + * If <b>a</b> is <b>null</b>, this method returns 0. * * @param ref the array whose hash value to compute. * @param offset The offset into the array at which to start hashing. * @param size The size of the element sequence to hash. - * @return a content-based hash code for <tt>a</tt>. + * @return a content-based hash code for <b>a</b>. */ public static int hashCode(final @NotNull Object[] ref, final int offset, final int size) { if (offset < 0 || size < 0 || size > ref.length || offset >= size) { @@ -549,16 +548,16 @@ public final class MoreArrays { /** * Returns a string representation of the contents of the specified array. * The string representation consists of a list of the array's elements, - * enclosed in square brackets (<tt>"[]"</tt>). Adjacent elements are - * separated by the characters <tt>", "</tt> (a comma followed by a + * enclosed in square brackets (<b>"[]"</b>). Adjacent elements are + * separated by the characters <b>", "</b> (a comma followed by a * space). Elements are converted to strings as by - * <tt>String.valueOf(long)</tt>. Returns <tt>"null"</tt> if <tt>ref</tt> - * is <tt>null</tt>. + * {@code String.valueOf()}. Returns <b>"null"</b> if {@code ref} + * is {@code null}. * * @param ref the array whose string representation to return. * @param offset The offset into the array at which to start the conversion. * @param size The size of the element sequence to convert. - * @return a string representation of <tt>ref</tt>. + * @return a string representation of {@code ref}. */ public static @NotNull String toString(final boolean[] ref, final int offset, final int size) { if (offset < 0 || size < 0 || size > ref.length || offset >= size) { @@ -582,16 +581,16 @@ public final class MoreArrays { /** * Returns a string representation of the contents of the specified array. * The string representation consists of a list of the array's elements, - * enclosed in square brackets (<tt>"[]"</tt>). Adjacent elements are - * separated by the characters <tt>", "</tt> (a comma followed by a + * enclosed in square brackets (<b>"[]"</b>). Adjacent elements are + * separated by the characters <b>", "</b> (a comma followed by a * space). Elements are converted to strings as by - * <tt>String.valueOf(long)</tt>. Returns <tt>"null"</tt> if <tt>ref</tt> - * is <tt>null</tt>. + * {@code String.valueOf()}. Returns <b>"null"</b> if {@code ref} + * is {@code null}. * * @param ref the array whose string representation to return. * @param offset The offset into the array at which to start the conversion. * @param size The size of the element sequence to convert. - * @return a string representation of <tt>ref</tt>. + * @return a string representation of {@code ref}. */ public static @NotNull String toString(final byte[] ref, final int offset, final int size) { if (offset < 0 || size < 0 || size > ref.length || offset >= size) { @@ -615,16 +614,16 @@ public final class MoreArrays { /** * Returns a string representation of the contents of the specified array. * The string representation consists of a list of the array's elements, - * enclosed in square brackets (<tt>"[]"</tt>). Adjacent elements are - * separated by the characters <tt>", "</tt> (a comma followed by a + * enclosed in square brackets (<b>"[]"</b>). Adjacent elements are + * separated by the characters <b>", "</b> (a comma followed by a * space). Elements are converted to strings as by - * <tt>String.valueOf(long)</tt>. Returns <tt>"null"</tt> if <tt>ref</tt> - * is <tt>null</tt>. + * {@code String.valueOf()}. Returns <b>"null"</b> if {@code ref} + * is {@code null}. * * @param ref the array whose string representation to return. * @param offset The offset into the array at which to start the conversion. * @param size The size of the element sequence to convert. - * @return a string representation of <tt>ref</tt>. + * @return a string representation of {@code ref}. */ public static @NotNull String toString(final short[] ref, final int offset, final int size) { if (offset < 0 || size < 0 || size > ref.length || offset >= size) { @@ -648,16 +647,16 @@ public final class MoreArrays { /** * Returns a string representation of the contents of the specified array. * The string representation consists of a list of the array's elements, - * enclosed in square brackets (<tt>"[]"</tt>). Adjacent elements are - * separated by the characters <tt>", "</tt> (a comma followed by a + * enclosed in square brackets (<b>"[]"</b>). Adjacent elements are + * separated by the characters <b>", "</b> (a comma followed by a * space). Elements are converted to strings as by - * <tt>String.valueOf(long)</tt>. Returns <tt>"null"</tt> if <tt>ref</tt> - * is <tt>null</tt>. + * {@code String.valueOf()}. Returns <b>"null"</b> if {@code ref} + * is {@code null}. * * @param ref the array whose string representation to return. * @param offset The offset into the array at which to start the conversion. * @param size The size of the element sequence to convert. - * @return a string representation of <tt>ref</tt>. + * @return a string representation of {@code ref}. */ public static @NotNull String toString(final int[] ref, final int offset, final int size) { if (offset < 0 || size < 0 || size > ref.length || offset >= size) { @@ -681,16 +680,16 @@ public final class MoreArrays { /** * Returns a string representation of the contents of the specified array. * The string representation consists of a list of the array's elements, - * enclosed in square brackets (<tt>"[]"</tt>). Adjacent elements are - * separated by the characters <tt>", "</tt> (a comma followed by a + * enclosed in square brackets (<b>"[]"</b>). Adjacent elements are + * separated by the characters <b>", "</b> (a comma followed by a * space). Elements are converted to strings as by - * <tt>String.valueOf(long)</tt>. Returns <tt>"null"</tt> if <tt>ref</tt> - * is <tt>null</tt>. + * {@code String.valueOf()}. Returns <b>"null"</b> if {@code ref} + * is {@code null}. * * @param ref the array whose string representation to return. * @param offset The offset into the array at which to start the conversion. * @param size The size of the element sequence to convert. - * @return a string representation of <tt>ref</tt>. + * @return a string representation of {@code ref}. */ public static @NotNull String toString(final long[] ref, final int offset, final int size) { if (offset < 0 || size < 0 || size > ref.length || offset >= size) { @@ -714,16 +713,16 @@ public final class MoreArrays { /** * Returns a string representation of the contents of the specified array. * The string representation consists of a list of the array's elements, - * enclosed in square brackets (<tt>"[]"</tt>). Adjacent elements are - * separated by the characters <tt>", "</tt> (a comma followed by a + * enclosed in square brackets (<b>"[]"</b>). Adjacent elements are + * separated by the characters <b>", "</b> (a comma followed by a * space). Elements are converted to strings as by - * <tt>String.valueOf(long)</tt>. Returns <tt>"null"</tt> if <tt>ref</tt> - * is <tt>null</tt>. + * {@code String.valueOf()}. Returns <b>"null"</b> if {@code ref} + * is {@code null}. * * @param ref the array whose string representation to return. * @param offset The offset into the array at which to start the conversion. * @param size The size of the element sequence to convert. - * @return a string representation of <tt>ref</tt>. + * @return a string representation of {@code ref}. */ public static @NotNull String toString(final float[] ref, final int offset, final int size) { if (offset < 0 || size < 0 || size > ref.length || offset >= size) { @@ -747,16 +746,16 @@ public final class MoreArrays { /** * Returns a string representation of the contents of the specified array. * The string representation consists of a list of the array's elements, - * enclosed in square brackets (<tt>"[]"</tt>). Adjacent elements are - * separated by the characters <tt>", "</tt> (a comma followed by a + * enclosed in square brackets (<b>"[]"</b>). Adjacent elements are + * separated by the characters <b>", "</b> (a comma followed by a * space). Elements are converted to strings as by - * <tt>String.valueOf(long)</tt>. Returns <tt>"null"</tt> if <tt>ref</tt> - * is <tt>null</tt>. + * {@code String.valueOf()}. Returns <b>"null"</b> if {@code ref} + * is {@code null}. * * @param ref the array whose string representation to return. * @param offset The offset into the array at which to start the conversion. * @param size The size of the element sequence to convert. - * @return a string representation of <tt>ref</tt>. + * @return a string representation of {@code ref}. */ public static @NotNull String toString(final double[] ref, final int offset, final int size) { if (offset < 0 || size < 0 || size > ref.length || offset >= size) { @@ -780,16 +779,16 @@ public final class MoreArrays { /** * Returns a string representation of the contents of the specified array. * The string representation consists of a list of the array's elements, - * enclosed in square brackets (<tt>"[]"</tt>). Adjacent elements are - * separated by the characters <tt>", "</tt> (a comma followed by a + * enclosed in square brackets (<b>"[]"</b>). Adjacent elements are + * separated by the characters <b>", "</b> (a comma followed by a * space). Elements are converted to strings as by - * <tt>String.valueOf(long)</tt>. Returns <tt>"null"</tt> if <tt>ref</tt> - * is <tt>null</tt>. + * {@code String.valueOf()}. Returns <b>"null"</b> if {@code ref} + * is {@code null}. * * @param ref the array whose string representation to return. * @param offset The offset into the array at which to start the conversion. * @param size The size of the element sequence to convert. - * @return a string representation of <tt>ref</tt>. + * @return a string representation of {@code ref}. */ public static @NotNull String toString(final char[] ref, final int offset, final int size) { if (offset < 0 || size < 0 || size > ref.length || offset >= size) { @@ -813,16 +812,16 @@ public final class MoreArrays { /** * Returns a string representation of the contents of the specified array. * The string representation consists of a list of the array's elements, - * enclosed in square brackets (<tt>"[]"</tt>). Adjacent elements are - * separated by the characters <tt>", "</tt> (a comma followed by a + * enclosed in square brackets (<b>"[]"</b>). Adjacent elements are + * separated by the characters <b>", "</b> (a comma followed by a * space). Elements are converted to strings as by - * <tt>String.valueOf(long)</tt>. Returns <tt>"null"</tt> if <tt>ref</tt> - * is <tt>null</tt>. + * {@code String.valueOf()}. Returns <b>"null"</b> if {@code ref} + * is {@code null}. * * @param ref the array whose string representation to return. * @param offset The offset into the array at which to start the conversion. * @param size The size of the element sequence to convert. - * @return a string representation of <tt>ref</tt>. + * @return a string representation of {@code ref}. */ public static @NotNull String toString(final @NotNull Object[] ref, final int offset, final int size) { if (offset < 0 || size < 0 || size > ref.length || offset >= size) { @@ -851,7 +850,7 @@ public final class MoreArrays { * @param offset The offset into the array to box. * @param size The number of elements to box. * @return A new array containing all values in the given range, - * wrapped as a boxed type instance. + * wrapped as a boxed type instance. */ public static @NotNull Boolean[] box(final boolean[] ref, final int offset, final int size) { if (offset < 0 || size < 0 || size > ref.length || offset >= size) { @@ -873,7 +872,7 @@ public final class MoreArrays { * * @param ref The array to box. * @return A new array containing all values in the given range, - * wrapped as a boxed type instance. + * wrapped as a boxed type instance. */ public static @NotNull Boolean[] box(final boolean[] ref) { return box(ref, 0, ref.length); @@ -887,7 +886,7 @@ public final class MoreArrays { * @param offset The offset into the array to box. * @param size The number of elements to box. * @return A new array containing all values in the given range, - * wrapped as a boxed type instance. + * wrapped as a boxed type instance. */ public static @NotNull Byte[] box(final byte[] ref, final int offset, final int size) { if (offset < 0 || size < 0 || size > ref.length || offset >= size) { @@ -909,7 +908,7 @@ public final class MoreArrays { * * @param ref The array to box. * @return A new array containing all values in the given range, - * wrapped as a boxed type instance. + * wrapped as a boxed type instance. */ public static @NotNull Byte[] box(final byte[] ref) { return box(ref, 0, ref.length); @@ -923,7 +922,7 @@ public final class MoreArrays { * @param offset The offset into the array to box. * @param size The number of elements to box. * @return A new array containing all values in the given range, - * wrapped as a boxed type instance. + * wrapped as a boxed type instance. */ public static @NotNull Short[] box(final short[] ref, final int offset, final int size) { if (offset < 0 || size < 0 || size > ref.length || offset >= size) { @@ -945,7 +944,7 @@ public final class MoreArrays { * * @param ref The array to box. * @return A new array containing all values in the given range, - * wrapped as a boxed type instance. + * wrapped as a boxed type instance. */ public static @NotNull Short[] box(final short[] ref) { return box(ref, 0, ref.length); @@ -959,7 +958,7 @@ public final class MoreArrays { * @param offset The offset into the array to box. * @param size The number of elements to box. * @return A new array containing all values in the given range, - * wrapped as a boxed type instance. + * wrapped as a boxed type instance. */ public static @NotNull Integer[] box(final int[] ref, final int offset, final int size) { if (offset < 0 || size < 0 || size > ref.length || offset >= size) { @@ -981,7 +980,7 @@ public final class MoreArrays { * * @param ref The array to box. * @return A new array containing all values in the given range, - * wrapped as a boxed type instance. + * wrapped as a boxed type instance. */ public static @NotNull Integer[] box(final int[] ref) { return box(ref, 0, ref.length); @@ -995,7 +994,7 @@ public final class MoreArrays { * @param offset The offset into the array to box. * @param size The number of elements to box. * @return A new array containing all values in the given range, - * wrapped as a boxed type instance. + * wrapped as a boxed type instance. */ public static @NotNull Long[] box(final long[] ref, final int offset, final int size) { if (offset < 0 || size < 0 || size > ref.length || offset >= size) { @@ -1017,7 +1016,7 @@ public final class MoreArrays { * * @param ref The array to box. * @return A new array containing all values in the given range, - * wrapped as a boxed type instance. + * wrapped as a boxed type instance. */ public static @NotNull Long[] box(final long[] ref) { return box(ref, 0, ref.length); @@ -1031,7 +1030,7 @@ public final class MoreArrays { * @param offset The offset into the array to box. * @param size The number of elements to box. * @return A new array containing all values in the given range, - * wrapped as a boxed type instance. + * wrapped as a boxed type instance. */ public static @NotNull Float[] box(final float[] ref, final int offset, final int size) { if (offset < 0 || size < 0 || size > ref.length || offset >= size) { @@ -1053,7 +1052,7 @@ public final class MoreArrays { * * @param ref The array to box. * @return A new array containing all values in the given range, - * wrapped as a boxed type instance. + * wrapped as a boxed type instance. */ public static @NotNull Float[] box(final float[] ref) { return box(ref, 0, ref.length); @@ -1067,7 +1066,7 @@ public final class MoreArrays { * @param offset The offset into the array to box. * @param size The number of elements to box. * @return A new array containing all values in the given range, - * wrapped as a boxed type instance. + * wrapped as a boxed type instance. */ public static @NotNull Double[] box(final double[] ref, final int offset, final int size) { if (offset < 0 || size < 0 || size > ref.length || offset >= size) { @@ -1089,7 +1088,7 @@ public final class MoreArrays { * * @param ref The array to box. * @return A new array containing all values in the given range, - * wrapped as a boxed type instance. + * wrapped as a boxed type instance. */ public static @NotNull Double[] box(final double[] ref) { return box(ref, 0, ref.length); @@ -1103,7 +1102,7 @@ public final class MoreArrays { * @param offset The offset into the array to box. * @param size The number of elements to box. * @return A new array containing all values in the given range, - * wrapped as a boxed type instance. + * wrapped as a boxed type instance. */ public static @NotNull Character[] box(final char[] ref, final int offset, final int size) { if (offset < 0 || size < 0 || size > ref.length || offset >= size) { @@ -1125,7 +1124,7 @@ public final class MoreArrays { * * @param ref The array to box. * @return A new array containing all values in the given range, - * wrapped as a boxed type instance. + * wrapped as a boxed type instance. */ public static @NotNull Character[] box(final char[] ref) { return box(ref, 0, ref.length); @@ -1139,7 +1138,7 @@ public final class MoreArrays { * @param offset The offset into the array to box. * @param size The number of elements to box. * @return A new array containing all values in the given range, - * as their natural primitive type. + * as their natural primitive type. */ public static boolean[] unbox(final @NotNull Boolean[] ref, final int offset, final int size) { if (offset < 0 || size < 0 || size > ref.length || offset >= size) { @@ -1161,7 +1160,7 @@ public final class MoreArrays { * * @param ref The array to box. * @return A new array containing all values in the given range, - * as their natural primitive type. + * as their natural primitive type. */ public static boolean[] unbox(final @NotNull Boolean[] ref) { return unbox(ref, 0, ref.length); @@ -1175,7 +1174,7 @@ public final class MoreArrays { * @param offset The offset into the array to box. * @param size The number of elements to box. * @return A new array containing all values in the given range, - * as their natural primitive type. + * as their natural primitive type. */ public static byte[] unbox(final @NotNull Byte[] ref, final int offset, final int size) { if (offset < 0 || size < 0 || size > ref.length || offset >= size) { @@ -1197,7 +1196,7 @@ public final class MoreArrays { * * @param ref The array to box. * @return A new array containing all values in the given range, - * as their natural primitive type. + * as their natural primitive type. */ public static byte[] unbox(final @NotNull Byte[] ref) { return unbox(ref, 0, ref.length); @@ -1211,7 +1210,7 @@ public final class MoreArrays { * @param offset The offset into the array to box. * @param size The number of elements to box. * @return A new array containing all values in the given range, - * as their natural primitive type. + * as their natural primitive type. */ public static short[] unbox(final @NotNull Short[] ref, final int offset, final int size) { if (offset < 0 || size < 0 || size > ref.length || offset >= size) { @@ -1233,7 +1232,7 @@ public final class MoreArrays { * * @param ref The array to box. * @return A new array containing all values in the given range, - * as their natural primitive type. + * as their natural primitive type. */ public static short[] unbox(final @NotNull Short[] ref) { return unbox(ref, 0, ref.length); @@ -1247,7 +1246,7 @@ public final class MoreArrays { * @param offset The offset into the array to box. * @param size The number of elements to box. * @return A new array containing all values in the given range, - * as their natural primitive type. + * as their natural primitive type. */ public static int[] unbox(final @NotNull Integer[] ref, final int offset, final int size) { if (offset < 0 || size < 0 || size > ref.length || offset >= size) { @@ -1269,7 +1268,7 @@ public final class MoreArrays { * * @param ref The array to box. * @return A new array containing all values in the given range, - * as their natural primitive type. + * as their natural primitive type. */ public static int[] unbox(final @NotNull Integer[] ref) { return unbox(ref, 0, ref.length); @@ -1283,7 +1282,7 @@ public final class MoreArrays { * @param offset The offset into the array to box. * @param size The number of elements to box. * @return A new array containing all values in the given range, - * as their natural primitive type. + * as their natural primitive type. */ public static long[] unbox(final @NotNull Long[] ref, final int offset, final int size) { if (offset < 0 || size < 0 || size > ref.length || offset >= size) { @@ -1305,7 +1304,7 @@ public final class MoreArrays { * * @param ref The array to box. * @return A new array containing all values in the given range, - * as their natural primitive type. + * as their natural primitive type. */ public static long[] unbox(final @NotNull Long[] ref) { return unbox(ref, 0, ref.length); @@ -1319,7 +1318,7 @@ public final class MoreArrays { * @param offset The offset into the array to box. * @param size The number of elements to box. * @return A new array containing all values in the given range, - * as their natural primitive type. + * as their natural primitive type. */ public static float[] unbox(final @NotNull Float[] ref, final int offset, final int size) { if (offset < 0 || size < 0 || size > ref.length || offset >= size) { @@ -1341,7 +1340,7 @@ public final class MoreArrays { * * @param ref The array to box. * @return A new array containing all values in the given range, - * as their natural primitive type. + * as their natural primitive type. */ public static float[] unbox(final @NotNull Float[] ref) { return unbox(ref, 0, ref.length); @@ -1355,7 +1354,7 @@ public final class MoreArrays { * @param offset The offset into the array to box. * @param size The number of elements to box. * @return A new array containing all values in the given range, - * as their natural primitive type. + * as their natural primitive type. */ public static double[] unbox(final @NotNull Double[] ref, final int offset, final int size) { if (offset < 0 || size < 0 || size > ref.length || offset >= size) { @@ -1377,7 +1376,7 @@ public final class MoreArrays { * * @param ref The array to box. * @return A new array containing all values in the given range, - * as their natural primitive type. + * as their natural primitive type. */ public static double[] unbox(final @NotNull Double[] ref) { return unbox(ref, 0, ref.length); @@ -1391,7 +1390,7 @@ public final class MoreArrays { * @param offset The offset into the array to box. * @param size The number of elements to box. * @return A new array containing all values in the given range, - * as their natural primitive type. + * as their natural primitive type. */ public static char[] unbox(final @NotNull Character[] ref, final int offset, final int size) { if (offset < 0 || size < 0 || size > ref.length || offset >= size) { @@ -1413,7 +1412,7 @@ public final class MoreArrays { * * @param ref The array to box. * @return A new array containing all values in the given range, - * as their natural primitive type. + * as their natural primitive type. */ public static char[] unbox(final @NotNull Character[] ref) { return unbox(ref, 0, ref.length); @@ -1429,7 +1428,8 @@ public final class MoreArrays { * @param a2 The second array to compare references from. * @return True if all element references are equal. */ - public static boolean refsEqual(final @NotNull Object[] a1, final int offset, final int size, final @NotNull Object[] a2) { + public static boolean refsEqual(final @NotNull Object[] a1, final int offset, final int size, + final @NotNull Object[] a2) { if (offset < 0 || size < 0 || size > a1.length || offset >= size) { throw new ArrayIndexOutOfBoundsException("Invalid index range"); } diff --git a/src/main/java/io/karma/sliced/util/Resettable.java b/src/main/java/io/karma/sliced/util/Resettable.java index 8078635e2380d8a19e517a7200c7128e7b86a349..73655d666469bc2c16f9eff491acdbe3929e9083 100644 --- a/src/main/java/io/karma/sliced/util/Resettable.java +++ b/src/main/java/io/karma/sliced/util/Resettable.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/util/ResettableEnumeration.java b/src/main/java/io/karma/sliced/util/ResettableEnumeration.java index 7d81bd4dfe6a622436188fb51cd72c32973a3286..678437cb8a83d01c2db4edc32ffd8224906eb598 100644 --- a/src/main/java/io/karma/sliced/util/ResettableEnumeration.java +++ b/src/main/java/io/karma/sliced/util/ResettableEnumeration.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/view/BoolView.java b/src/main/java/io/karma/sliced/view/BoolView.java index fb623989386e4ecb10185a2404e0c0e8bebec93d..aae68185d7ab9e787833df97ba06afeabe9162f2 100644 --- a/src/main/java/io/karma/sliced/view/BoolView.java +++ b/src/main/java/io/karma/sliced/view/BoolView.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, @@ -41,7 +40,7 @@ public interface BoolView extends View<Boolean> { * elements referenced by this slice instance. * * @return A new {@link BoolIterator} from the - * elements referenced by this slice instance. + * elements referenced by this slice instance. */ @NotNull BoolIterator boolIterator(); diff --git a/src/main/java/io/karma/sliced/view/ByteView.java b/src/main/java/io/karma/sliced/view/ByteView.java index 92fa2f892fce2404f147834d9425c7265fe95517..fe47d808d5ab1c1e040544b2329be0cdb6917f6d 100644 --- a/src/main/java/io/karma/sliced/view/ByteView.java +++ b/src/main/java/io/karma/sliced/view/ByteView.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, @@ -41,7 +40,7 @@ public interface ByteView extends View<Byte> { * elements referenced by this slice instance. * * @return A new {@link ByteIterator} from the - * elements referenced by this slice instance. + * elements referenced by this slice instance. */ @NotNull ByteIterator byteIterator(); diff --git a/src/main/java/io/karma/sliced/view/CharView.java b/src/main/java/io/karma/sliced/view/CharView.java index 6a11ab24d6bc47741dc8b13c3f237fb8a5bd2dd5..6191fbeb81e8ae18768b8541352256e7867e75f0 100644 --- a/src/main/java/io/karma/sliced/view/CharView.java +++ b/src/main/java/io/karma/sliced/view/CharView.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, @@ -53,7 +52,7 @@ public interface CharView extends View<Character>, CharSequence { * Compiles this character sequence as a new {@link Pattern} instance. * * @return A new {@link Pattern} instance, containing this char slice - * as its regular expression pattern. + * as its regular expression pattern. */ default @NotNull Pattern compilePattern() { return Pattern.compile(new String(toCharArray())); // why no CharSequence brian? WHY BRIAN?! diff --git a/src/main/java/io/karma/sliced/view/DequeView.java b/src/main/java/io/karma/sliced/view/DequeView.java index 3bab8c40d20597dfca646faad09c0603058137d9..62275d44a9e8cd168e85267cefc6a11d04c19f48 100644 --- a/src/main/java/io/karma/sliced/view/DequeView.java +++ b/src/main/java/io/karma/sliced/view/DequeView.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/view/DoubleView.java b/src/main/java/io/karma/sliced/view/DoubleView.java index 42f637ce91d77afb21133952350305146d2d3f2e..71769d229741b21f0e2026dea898a35408414d3b 100644 --- a/src/main/java/io/karma/sliced/view/DoubleView.java +++ b/src/main/java/io/karma/sliced/view/DoubleView.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, @@ -44,7 +43,7 @@ public interface DoubleView extends View<Double> { * elements referenced by this slice instance. * * @return A new {@link DoubleIterator} from the - * elements referenced by this slice instance. + * elements referenced by this slice instance. */ @NotNull DoubleIterator doubleIterator(); @@ -53,7 +52,7 @@ public interface DoubleView extends View<Double> { * elements referenced by this slice instance. * * @return A new {@link Spliterator.OfDouble} from the - * elements referenced by this slice instance. + * elements referenced by this slice instance. */ @NotNull Spliterator.OfDouble doubleSpliterator(); @@ -70,7 +69,7 @@ public interface DoubleView extends View<Double> { * for the elements referenced by this slice instance. * * @return A new {@link DoubleStream} instance of all - * elements referenced by this slice instance. + * elements referenced by this slice instance. */ default @NotNull DoubleStream doubleStream() { return StreamSupport.doubleStream(doubleSpliterator(), false); @@ -81,7 +80,7 @@ public interface DoubleView extends View<Double> { * for the elements referenced by this slice instance. * * @return A new {@link DoubleStream} instance of all - * elements referenced by this slice instance. + * elements referenced by this slice instance. */ default @NotNull DoubleStream parallelDoubleStream() { return StreamSupport.doubleStream(doubleSpliterator(), true); diff --git a/src/main/java/io/karma/sliced/view/FloatView.java b/src/main/java/io/karma/sliced/view/FloatView.java index a4b41e6376644941ae7f243a3a7091f2bc8b7b7e..fa02e3150fcac6eefc5054337334f030768bdec1 100644 --- a/src/main/java/io/karma/sliced/view/FloatView.java +++ b/src/main/java/io/karma/sliced/view/FloatView.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, @@ -41,7 +40,7 @@ public interface FloatView extends View<Float> { * elements referenced by this slice instance. * * @return A new {@link FloatIterator} from the - * elements referenced by this slice instance. + * elements referenced by this slice instance. */ @NotNull FloatIterator floatIterator(); diff --git a/src/main/java/io/karma/sliced/view/IntView.java b/src/main/java/io/karma/sliced/view/IntView.java index e999836cc27823ffbfb9c686dd8b846fca5af255..9b7dd8196cbdf046c32e8308ef62aa6573a9e567 100644 --- a/src/main/java/io/karma/sliced/view/IntView.java +++ b/src/main/java/io/karma/sliced/view/IntView.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, @@ -44,7 +43,7 @@ public interface IntView extends View<Integer> { * elements referenced by this slice instance. * * @return A new {@link IntIterator} from the - * elements referenced by this slice instance. + * elements referenced by this slice instance. */ @NotNull IntIterator intIterator(); @@ -53,7 +52,7 @@ public interface IntView extends View<Integer> { * elements referenced by this slice instance. * * @return A new {@link Spliterator.OfInt} from the - * elements referenced by this slice instance. + * elements referenced by this slice instance. */ @NotNull Spliterator.OfInt intSpliterator(); @@ -70,7 +69,7 @@ public interface IntView extends View<Integer> { * for the elements referenced by this slice instance. * * @return A new {@link IntStream} instance of all - * elements referenced by this slice instance. + * elements referenced by this slice instance. */ default @NotNull IntStream intStream() { return StreamSupport.intStream(intSpliterator(), false); @@ -81,7 +80,7 @@ public interface IntView extends View<Integer> { * for the elements referenced by this slice instance. * * @return A new {@link IntStream} instance of all - * elements referenced by this slice instance. + * elements referenced by this slice instance. */ default @NotNull IntStream parallelIntStream() { return StreamSupport.intStream(intSpliterator(), true); diff --git a/src/main/java/io/karma/sliced/view/LongView.java b/src/main/java/io/karma/sliced/view/LongView.java index df9700b57d3fef63c8bea951d3b5dda5a73159ba..b99155537cea6113eab9ca12e81ae7d2012506ab 100644 --- a/src/main/java/io/karma/sliced/view/LongView.java +++ b/src/main/java/io/karma/sliced/view/LongView.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, @@ -44,7 +43,7 @@ public interface LongView extends View<Long> { * elements referenced by this slice instance. * * @return A new {@link LongIterator} from the - * elements referenced by this slice instance. + * elements referenced by this slice instance. */ @NotNull LongIterator longIterator(); @@ -53,7 +52,7 @@ public interface LongView extends View<Long> { * elements referenced by this slice instance. * * @return A new {@link Spliterator.OfLong} from the - * elements referenced by this slice instance. + * elements referenced by this slice instance. */ @NotNull Spliterator.OfLong longSpliterator(); @@ -70,7 +69,7 @@ public interface LongView extends View<Long> { * for the elements referenced by this slice instance. * * @return A new {@link LongStream} instance of all - * elements referenced by this slice instance. + * elements referenced by this slice instance. */ default @NotNull LongStream longStream() { return StreamSupport.longStream(longSpliterator(), false); @@ -81,7 +80,7 @@ public interface LongView extends View<Long> { * for the elements referenced by this slice instance. * * @return A new {@link LongStream} instance of all - * elements referenced by this slice instance. + * elements referenced by this slice instance. */ default @NotNull LongStream parallelLongStream() { return StreamSupport.longStream(longSpliterator(), true); diff --git a/src/main/java/io/karma/sliced/view/MapView.java b/src/main/java/io/karma/sliced/view/MapView.java index 3586cd626089874fd09fd9d67342df2e9135e52f..4eb2025de6ccc0791bd4e146e524c2b9922c56e0 100644 --- a/src/main/java/io/karma/sliced/view/MapView.java +++ b/src/main/java/io/karma/sliced/view/MapView.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, @@ -56,7 +55,7 @@ public interface MapView<K, V> extends View<Entry<K, V>> { * * @param key The key to check for. * @return True if the given key is present within - * the map referenced by this view instance. + * the map referenced by this view instance. */ boolean containsKey(final @Nullable K key); @@ -66,7 +65,7 @@ public interface MapView<K, V> extends View<Entry<K, V>> { * * @param value The value to check for. * @return True if the given value is present within - * the map referenced by this view instance. + * the map referenced by this view instance. */ boolean containsValue(final @Nullable V value); @@ -93,7 +92,7 @@ public interface MapView<K, V> extends View<Entry<K, V>> { * the map, which is referenced by this view instance. * * @return A new stream instance of all keys contained within - * the map referenced by this view instance. + * the map referenced by this view instance. */ default @NotNull Stream<K> keyStream() { return keys().stream(); @@ -104,7 +103,7 @@ public interface MapView<K, V> extends View<Entry<K, V>> { * the map, which is referenced by this view instance. * * @return A new parallel stream instance of all keys contained within - * the map referenced by this view instance. + * the map referenced by this view instance. */ default @NotNull Stream<K> parallelKeyStream() { return keys().parallelStream(); @@ -123,7 +122,7 @@ public interface MapView<K, V> extends View<Entry<K, V>> { * the map, which is referenced by this view instance. * * @return A new stream instance of all values contained within - * the map referenced by this view instance. + * the map referenced by this view instance. */ default @NotNull Stream<V> valueStream() { return values().stream(); @@ -134,7 +133,7 @@ public interface MapView<K, V> extends View<Entry<K, V>> { * the map, which is referenced by this view instance. * * @return A new parallel stream instance of all values contained within - * the map referenced by this view instance. + * the map referenced by this view instance. */ default @NotNull Stream<V> parallelValueStream() { return values().parallelStream(); diff --git a/src/main/java/io/karma/sliced/view/QueueView.java b/src/main/java/io/karma/sliced/view/QueueView.java index a0ae80bbffa74a32f8233f3e12d485f6b7b3298d..75cd2bf5fb77b2b26e2c2aec091b50be6941a373 100644 --- a/src/main/java/io/karma/sliced/view/QueueView.java +++ b/src/main/java/io/karma/sliced/view/QueueView.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/view/ShortView.java b/src/main/java/io/karma/sliced/view/ShortView.java index b97b3f1681906257254ac0a46f0fa1203fe0bab3..e3f75dc0adcb292625889c4d2fb456a0ec16d141 100644 --- a/src/main/java/io/karma/sliced/view/ShortView.java +++ b/src/main/java/io/karma/sliced/view/ShortView.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, @@ -41,7 +40,7 @@ public interface ShortView extends View<Short> { * elements referenced by this slice instance. * * @return A new {@link ShortIterator} from the - * elements referenced by this slice instance. + * elements referenced by this slice instance. */ @NotNull ShortIterator shortIterator(); diff --git a/src/main/java/io/karma/sliced/view/StackView.java b/src/main/java/io/karma/sliced/view/StackView.java index de6060a6f5f336e0d48e9ee0e34cd17959ff1270..a3479a0c9b1bf633e50503c1ff629f9162b93715 100644 --- a/src/main/java/io/karma/sliced/view/StackView.java +++ b/src/main/java/io/karma/sliced/view/StackView.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/view/View.java b/src/main/java/io/karma/sliced/view/View.java index b949bf5d58fbc02ede97510027868989b6e86da1..3fc5376d6ac4b456c5b0ff95955bbd4971e95f87 100644 --- a/src/main/java/io/karma/sliced/view/View.java +++ b/src/main/java/io/karma/sliced/view/View.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, @@ -24,21 +23,8 @@ import org.apiguardian.api.API; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; -import java.util.ArrayList; -import java.util.Collection; -import java.util.Deque; -import java.util.HashSet; -import java.util.Iterator; -import java.util.List; -import java.util.Map; -import java.util.Queue; -import java.util.Set; -import java.util.Stack; -import java.util.function.Consumer; -import java.util.function.IntFunction; -import java.util.function.ObjIntConsumer; -import java.util.function.Predicate; -import java.util.function.Supplier; +import java.util.*; +import java.util.function.*; import java.util.stream.Stream; import java.util.stream.StreamSupport; @@ -100,7 +86,7 @@ public interface View<T> extends Iterable<T> { * referenced by this array. * * @return The number of element contained within the collection/array - * referenced by this view instance. + * referenced by this view instance. */ int size(); @@ -112,7 +98,7 @@ public interface View<T> extends Iterable<T> { * If you want to create slices directly, see {@link Slice#of(Object[])} and it's overloads. * * @return A new slice instance with a reference to the same collection/array - * as this view instance. + * as this view instance. */ @NotNull Slice<T> asSlice(); @@ -122,7 +108,7 @@ public interface View<T> extends Iterable<T> { * * @param array The array to check elements from. * @return True if the elements in the given array equal the elements - * referenced by this view instance. + * referenced by this view instance. */ default boolean contentEquals(final @NotNull T[] array) { if (array.length == 0) { @@ -146,7 +132,7 @@ public interface View<T> extends Iterable<T> { * * @param collection THe collection to check elements from. * @return True if the elements in the given collection equal the elements - * referenced by this view instance. + * referenced by this view instance. */ default boolean contentEquals(final @NotNull Collection<? extends T> collection) { if (collection.isEmpty()) { @@ -170,7 +156,7 @@ public interface View<T> extends Iterable<T> { * * @param array The array to check elements from. * @return True if the element references in the given array equal the - * element references in this view instance. + * element references in this view instance. */ default boolean referencesEqual(final @NotNull T[] array) { if (array.length == 0) { @@ -194,7 +180,7 @@ public interface View<T> extends Iterable<T> { * * @param collection The collection to check elements from. * @return True if the element references in the given collection equal the - * element references in this view instance. + * element references in this view instance. */ default boolean referencesEqual(final @NotNull Collection<? extends T> collection) { if (collection.isEmpty()) { @@ -220,7 +206,7 @@ public interface View<T> extends Iterable<T> { * * @param factory The function with which to create the new array of size n. * @return A new array of size n, containing a reference to all elements contained - * within this view's underlying collection/array. + * within this view's underlying collection/array. */ default @NotNull T[] toArray(final @NotNull IntFunction<T[]> factory) { final T[] result = factory.apply(size()); @@ -258,7 +244,7 @@ public interface View<T> extends Iterable<T> { * * @param value The value to check for. * @return True if the given value is contained within the underlying collection/array - * of this view instance. + * of this view instance. */ default boolean contains(final @Nullable T value) { if (value == null) { @@ -282,7 +268,7 @@ public interface View<T> extends Iterable<T> { * * @param elements A collection of elements to check for. * @return True if all elements contained within the given collection - * are also contained within the collection/array referenced by this view instance. + * are also contained within the collection/array referenced by this view instance. */ default boolean containsAll(final @Nullable Collection<? extends T> elements) { if (elements == null) { @@ -308,7 +294,7 @@ public interface View<T> extends Iterable<T> { * * @param ref The reference to check for. * @return True if the collection/array associated with this view instance - * contains the exact given reference to an object. + * contains the exact given reference to an object. */ default boolean containsRef(final @Nullable T ref) { if (ref == null) { @@ -332,7 +318,7 @@ public interface View<T> extends Iterable<T> { * * @param refs A collection of element references to check for. * @return True if all element references contained within the given collection - * are also contained within the collection/array referenced by this view instance. + * are also contained within the collection/array referenced by this view instance. */ default boolean containsAllRefs(final @Nullable Collection<? extends T> refs) { if (refs == null) { @@ -360,7 +346,7 @@ public interface View<T> extends Iterable<T> { * collection/array of this view instance. * * @return A new, non-parallelized {@link Stream} instance with access to the elements - * contained within the collection/array of this view instance. + * contained within the collection/array of this view instance. */ default @NotNull Stream<T> stream() { return StreamSupport.stream(spliterator(), false); @@ -372,7 +358,7 @@ public interface View<T> extends Iterable<T> { * collection/array of this view instance. * * @return A new, parallelized {@link Stream} instance with access to the elements - * contained within the collection/array of this view instance. + * contained within the collection/array of this view instance. */ default @NotNull Stream<T> parallelStream() { return StreamSupport.stream(spliterator(), true); diff --git a/src/main/java/io/karma/sliced/view/impl/ArrayBoolView.java b/src/main/java/io/karma/sliced/view/impl/ArrayBoolView.java index 947efdc90b0e8c6fb24b752817ece21921abaad4..96a7c9d0af88aa41b3972c808c000c8a90466b64 100644 --- a/src/main/java/io/karma/sliced/view/impl/ArrayBoolView.java +++ b/src/main/java/io/karma/sliced/view/impl/ArrayBoolView.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/view/impl/ArrayByteView.java b/src/main/java/io/karma/sliced/view/impl/ArrayByteView.java index 76d6b760cbd755d108a74db6c2f3404a28170c19..3d12c314e943b69652990fa4dab86cfc0f6cbd05 100644 --- a/src/main/java/io/karma/sliced/view/impl/ArrayByteView.java +++ b/src/main/java/io/karma/sliced/view/impl/ArrayByteView.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/view/impl/ArrayCharView.java b/src/main/java/io/karma/sliced/view/impl/ArrayCharView.java index b4a64a0ffef2723ddd6b58fafac9b1393ec7c519..1bafa40105c19e115f6bf0e44875765fe481b01f 100644 --- a/src/main/java/io/karma/sliced/view/impl/ArrayCharView.java +++ b/src/main/java/io/karma/sliced/view/impl/ArrayCharView.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/view/impl/ArrayDoubleView.java b/src/main/java/io/karma/sliced/view/impl/ArrayDoubleView.java index 0f79e84b76d104636c4f88d85f4230f749996f17..adda309f62c7908140c219b5f91968a700f14b5c 100644 --- a/src/main/java/io/karma/sliced/view/impl/ArrayDoubleView.java +++ b/src/main/java/io/karma/sliced/view/impl/ArrayDoubleView.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/view/impl/ArrayFloatView.java b/src/main/java/io/karma/sliced/view/impl/ArrayFloatView.java index ac336822262a3522ca47b3536a7fe1823df40c9d..c5e432c90dacc952c041d099674c24dbc2bd18a5 100644 --- a/src/main/java/io/karma/sliced/view/impl/ArrayFloatView.java +++ b/src/main/java/io/karma/sliced/view/impl/ArrayFloatView.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/view/impl/ArrayIntView.java b/src/main/java/io/karma/sliced/view/impl/ArrayIntView.java index e1956c9d56edbe333af365b73d82f4f6902d919f..4b3f37290806b9f51485aad08df2346cb3fb1ea4 100644 --- a/src/main/java/io/karma/sliced/view/impl/ArrayIntView.java +++ b/src/main/java/io/karma/sliced/view/impl/ArrayIntView.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/view/impl/ArrayLongView.java b/src/main/java/io/karma/sliced/view/impl/ArrayLongView.java index 197dce024e1862a043d1811ff07f73651c39d1f3..abac3a06d3d3ab7428d9417c15a852cc039d3556 100644 --- a/src/main/java/io/karma/sliced/view/impl/ArrayLongView.java +++ b/src/main/java/io/karma/sliced/view/impl/ArrayLongView.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/view/impl/ArrayShortView.java b/src/main/java/io/karma/sliced/view/impl/ArrayShortView.java index 5603599bb48f677b3c0bd9090798c09df979699f..1a021dc9e325d53b4b73670f795e195411569cc0 100644 --- a/src/main/java/io/karma/sliced/view/impl/ArrayShortView.java +++ b/src/main/java/io/karma/sliced/view/impl/ArrayShortView.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/view/impl/ArrayView.java b/src/main/java/io/karma/sliced/view/impl/ArrayView.java index 5599a7e4d06fb1bf65c04f6662cf446f3b4d95ee..7103c3e8d09659577992737d49f5731af08d35d8 100644 --- a/src/main/java/io/karma/sliced/view/impl/ArrayView.java +++ b/src/main/java/io/karma/sliced/view/impl/ArrayView.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/view/impl/CollectionView.java b/src/main/java/io/karma/sliced/view/impl/CollectionView.java index 4e94ce72e17a71544991810564a6b59efbc44452..d284cdf0d552a944d6e58d7d7917eb93ef8a72b7 100644 --- a/src/main/java/io/karma/sliced/view/impl/CollectionView.java +++ b/src/main/java/io/karma/sliced/view/impl/CollectionView.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/view/impl/DequeViewImpl.java b/src/main/java/io/karma/sliced/view/impl/DequeViewImpl.java index 345e568745d108306763a4ad6c0de9903bbc5ed7..1f2a30660ef3dba1b5cb89d30e47616fe9e3067e 100644 --- a/src/main/java/io/karma/sliced/view/impl/DequeViewImpl.java +++ b/src/main/java/io/karma/sliced/view/impl/DequeViewImpl.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/view/impl/ListView.java b/src/main/java/io/karma/sliced/view/impl/ListView.java index b9f0ab95defc0cfd7add9cd6eaef0e7805196b38..84cbad664616903de21c60bbb2d5577446c0c2e6 100644 --- a/src/main/java/io/karma/sliced/view/impl/ListView.java +++ b/src/main/java/io/karma/sliced/view/impl/ListView.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/view/impl/MapViewImpl.java b/src/main/java/io/karma/sliced/view/impl/MapViewImpl.java index 8aec96f59fe5c1f24eb9f0783085fb22931fd98e..2daccb4335e2a20c75100f1d3312bc7c2c3ee21a 100644 --- a/src/main/java/io/karma/sliced/view/impl/MapViewImpl.java +++ b/src/main/java/io/karma/sliced/view/impl/MapViewImpl.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, @@ -24,12 +23,8 @@ import org.apiguardian.api.API.Status; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; -import java.util.ArrayList; -import java.util.Collection; -import java.util.Iterator; -import java.util.Map; +import java.util.*; import java.util.Map.Entry; -import java.util.Set; import java.util.function.IntFunction; import java.util.function.Supplier; diff --git a/src/main/java/io/karma/sliced/view/impl/QueueViewImpl.java b/src/main/java/io/karma/sliced/view/impl/QueueViewImpl.java index e7e4ecab7b6039e63afa2b4989e2a0ac364a20f2..dbc218e35170d880425ccfc8c20cbd10919f1cb4 100644 --- a/src/main/java/io/karma/sliced/view/impl/QueueViewImpl.java +++ b/src/main/java/io/karma/sliced/view/impl/QueueViewImpl.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/io/karma/sliced/view/impl/StackViewImpl.java b/src/main/java/io/karma/sliced/view/impl/StackViewImpl.java index 683bb65a9c4feb44528251ce0a3cdd8f026d7421..210e654c1b2c53747aa24697e9eef2a5beea6bb5 100644 --- a/src/main/java/io/karma/sliced/view/impl/StackViewImpl.java +++ b/src/main/java/io/karma/sliced/view/impl/StackViewImpl.java @@ -1,11 +1,10 @@ /* - * Copyright 2022 Karma Krafts - * + * Copyright 2022 - 2024 Karma Krafts & associates * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS,