From b791e13bec73c7cfed992a2ec13eb94142feab68 Mon Sep 17 00:00:00 2001 From: Chris Froussios Date: Mon, 22 Jun 2015 15:14:27 +0200 Subject: [PATCH] Added copyrights to everything --- .../itrx/chapter1/AsyncSubjectExample.java | 22 +++++++++++++++++++ .../itrx/chapter1/BehaviorSubjectExample.java | 22 +++++++++++++++++++ .../itrx/chapter1/PublishSubjectExample.java | 22 +++++++++++++++++++ .../itrx/chapter1/ReplaySubjectExample.java | 22 +++++++++++++++++++ .../java/itrx/chapter1/RxContractExample.java | 22 +++++++++++++++++++ .../itrx/chapter1/UnsubscribingExample.java | 22 +++++++++++++++++++ .../chapter2/aggregation/CollectExample.java | 22 +++++++++++++++++++ .../chapter2/aggregation/CountExample.java | 22 +++++++++++++++++++ .../chapter2/aggregation/FirstExample.java | 22 +++++++++++++++++++ .../chapter2/aggregation/GroupByExample.java | 22 +++++++++++++++++++ .../chapter2/aggregation/LastExample.java | 22 +++++++++++++++++++ .../chapter2/aggregation/NestExample.java | 22 +++++++++++++++++++ .../chapter2/aggregation/ReduceExample.java | 22 +++++++++++++++++++ .../chapter2/aggregation/ScanExample.java | 22 +++++++++++++++++++ .../chapter2/aggregation/SingleExample.java | 22 +++++++++++++++++++ .../aggregation/ToCollectionExample.java | 22 +++++++++++++++++++ .../chapter2/aggregation/ToMapExample.java | 22 +++++++++++++++++++ .../itrx/chapter2/creating/FromExample.java | 22 +++++++++++++++++++ .../creating/FunctionalUnfoldsExample.java | 22 +++++++++++++++++++ .../creating/ObservableFactoriesExample.java | 22 +++++++++++++++++++ .../itrx/chapter2/inspection/AllExample.java | 22 +++++++++++++++++++ .../chapter2/inspection/ContainsExample.java | 22 +++++++++++++++++++ .../inspection/DefaultIfEmptyExample.java | 22 +++++++++++++++++++ .../chapter2/inspection/ElementAtExample.java | 22 +++++++++++++++++++ .../chapter2/inspection/ExistsExample.java | 22 +++++++++++++++++++ .../chapter2/inspection/IsEmptyExample.java | 22 +++++++++++++++++++ .../inspection/SequenceEqualExample.java | 22 +++++++++++++++++++ .../chapter2/reducing/DistinctExample.java | 22 +++++++++++++++++++ .../itrx/chapter2/reducing/FilterExample.java | 22 +++++++++++++++++++ .../itrx/chapter2/reducing/IgnoreExample.java | 22 +++++++++++++++++++ .../chapter2/reducing/TakeSkipExample.java | 22 +++++++++++++++++++ .../transforming/CastTypeOfExample.java | 22 +++++++++++++++++++ .../transforming/ConcatMapExample.java | 22 +++++++++++++++++++ .../chapter2/transforming/FlatMapExample.java | 22 +++++++++++++++++++ .../transforming/FlatMapIterableExample.java | 22 +++++++++++++++++++ .../chapter2/transforming/MapExample.java | 22 +++++++++++++++++++ .../transforming/MaterializeExample.java | 22 +++++++++++++++++++ .../TimestampTimeIntervalExample.java | 22 +++++++++++++++++++ .../itrx/chapter3/combining/AmbExample.java | 22 +++++++++++++++++++ .../combining/CombineLatestExample.java | 22 +++++++++++++++++++ .../chapter3/combining/ConcatExample.java | 22 +++++++++++++++++++ .../combining/MergeDelayErrorExample.java | 22 +++++++++++++++++++ .../itrx/chapter3/combining/MergeExample.java | 22 +++++++++++++++++++ .../chapter3/combining/RepeatExample.java | 22 +++++++++++++++++++ .../chapter3/combining/StartWithExample.java | 22 +++++++++++++++++++ .../chapter3/combining/SwitchMapExample.java | 22 +++++++++++++++++++ .../combining/SwitchOnNextExample.java | 22 +++++++++++++++++++ .../itrx/chapter3/combining/ZipExample.java | 22 +++++++++++++++++++ .../itrx/chapter3/custom/ComposeExample.java | 22 +++++++++++++++++++ .../itrx/chapter3/custom/LiftExample.java | 22 +++++++++++++++++++ .../chapter3/custom/SerializeExample.java | 22 +++++++++++++++++++ .../itrx/chapter3/error/ResumeExample.java | 22 +++++++++++++++++++ .../itrx/chapter3/error/RetryExample.java | 22 +++++++++++++++++++ .../itrx/chapter3/error/RetryWhenExample.java | 22 +++++++++++++++++++ .../itrx/chapter3/error/UsingExample.java | 22 +++++++++++++++++++ .../chapter3/hotandcold/CacheExample.java | 22 +++++++++++++++++++ .../itrx/chapter3/hotandcold/ColdExample.java | 22 +++++++++++++++++++ .../ConnectableObservableExample.java | 22 +++++++++++++++++++ .../chapter3/hotandcold/MulticastExample.java | 22 +++++++++++++++++++ .../chapter3/hotandcold/ReplayExample.java | 22 +++++++++++++++++++ .../leaving/FirstLastSingleExample.java | 22 +++++++++++++++++++ .../itrx/chapter3/leaving/ForEachExample.java | 22 +++++++++++++++++++ .../itrx/chapter3/leaving/FutureExample.java | 22 +++++++++++++++++++ .../chapter3/leaving/IterablesExample.java | 22 +++++++++++++++++++ .../sideeffects/AsObservableExample.java | 22 +++++++++++++++++++ .../chapter3/sideeffects/DoOnExample.java | 22 +++++++++++++++++++ .../sideeffects/MutablePipelineExample.java | 22 +++++++++++++++++++ .../sideeffects/SideEffectExample.java | 22 +++++++++++++++++++ .../chapter3/timeshifted/BufferExample.java | 22 +++++++++++++++++++ .../chapter3/timeshifted/DebounceExample.java | 22 +++++++++++++++++++ .../chapter3/timeshifted/DelayExample.java | 22 +++++++++++++++++++ .../chapter3/timeshifted/SampleExample.java | 22 +++++++++++++++++++ .../timeshifted/TakeLastBufferExample.java | 22 +++++++++++++++++++ .../chapter3/timeshifted/ThrottleExample.java | 22 +++++++++++++++++++ .../chapter3/timeshifted/TimeoutExample.java | 22 +++++++++++++++++++ .../backpressure/ConsumerSideExample.java | 22 +++++++++++++++++++ .../ControlledPullSubscriber.java | 22 +++++++++++++++++++ .../backpressure/NoBackpressureExample.java | 22 +++++++++++++++++++ .../backpressure/OnBackpressureExample.java | 22 +++++++++++++++++++ .../backpressure/OnRequestExample.java | 22 +++++++++++++++++++ .../backpressure/ReactivePullExample.java | 22 +++++++++++++++++++ .../coincidence/GroupJoinExample.java | 22 +++++++++++++++++++ .../chapter4/coincidence/JoinExample.java | 22 +++++++++++++++++++ .../chapter4/coincidence/WindowExample.java | 22 +++++++++++++++++++ .../chapter4/scheduling/ObserveOnExample.java | 22 +++++++++++++++++++ .../chapter4/scheduling/SchedulerExample.java | 22 +++++++++++++++++++ .../scheduling/SchedulersExample.java | 22 +++++++++++++++++++ .../scheduling/SingleThreadedExample.java | 22 +++++++++++++++++++ .../scheduling/SubscribeOnExample.java | 22 +++++++++++++++++++ .../scheduling/UnsubscribeOnExample.java | 22 +++++++++++++++++++ .../itrx/chapter4/testing/ExampleExample.java | 22 +++++++++++++++++++ .../testing/TestSchedulerExample.java | 22 +++++++++++++++++++ .../testing/TestSubscriberExample.java | 22 +++++++++++++++++++ 93 files changed, 2046 insertions(+) diff --git a/tests/java/itrx/chapter1/AsyncSubjectExample.java b/tests/java/itrx/chapter1/AsyncSubjectExample.java index 1bfb918..5fe595c 100644 --- a/tests/java/itrx/chapter1/AsyncSubjectExample.java +++ b/tests/java/itrx/chapter1/AsyncSubjectExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter1; import static org.junit.Assert.*; diff --git a/tests/java/itrx/chapter1/BehaviorSubjectExample.java b/tests/java/itrx/chapter1/BehaviorSubjectExample.java index a2fc014..6be1e92 100644 --- a/tests/java/itrx/chapter1/BehaviorSubjectExample.java +++ b/tests/java/itrx/chapter1/BehaviorSubjectExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter1; import java.util.Arrays; diff --git a/tests/java/itrx/chapter1/PublishSubjectExample.java b/tests/java/itrx/chapter1/PublishSubjectExample.java index 94d6619..e771477 100644 --- a/tests/java/itrx/chapter1/PublishSubjectExample.java +++ b/tests/java/itrx/chapter1/PublishSubjectExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter1; import java.util.Arrays; diff --git a/tests/java/itrx/chapter1/ReplaySubjectExample.java b/tests/java/itrx/chapter1/ReplaySubjectExample.java index 5e94b2d..4d01da6 100644 --- a/tests/java/itrx/chapter1/ReplaySubjectExample.java +++ b/tests/java/itrx/chapter1/ReplaySubjectExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter1; import java.util.Arrays; diff --git a/tests/java/itrx/chapter1/RxContractExample.java b/tests/java/itrx/chapter1/RxContractExample.java index b367f3f..4d15a25 100644 --- a/tests/java/itrx/chapter1/RxContractExample.java +++ b/tests/java/itrx/chapter1/RxContractExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter1; import java.util.Arrays; diff --git a/tests/java/itrx/chapter1/UnsubscribingExample.java b/tests/java/itrx/chapter1/UnsubscribingExample.java index b4b7393..3d67086 100644 --- a/tests/java/itrx/chapter1/UnsubscribingExample.java +++ b/tests/java/itrx/chapter1/UnsubscribingExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter1; import static org.junit.Assert.assertFalse; diff --git a/tests/java/itrx/chapter2/aggregation/CollectExample.java b/tests/java/itrx/chapter2/aggregation/CollectExample.java index 3041b38..592a979 100644 --- a/tests/java/itrx/chapter2/aggregation/CollectExample.java +++ b/tests/java/itrx/chapter2/aggregation/CollectExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter2.aggregation; import java.util.ArrayList; diff --git a/tests/java/itrx/chapter2/aggregation/CountExample.java b/tests/java/itrx/chapter2/aggregation/CountExample.java index b40a205..a01890a 100644 --- a/tests/java/itrx/chapter2/aggregation/CountExample.java +++ b/tests/java/itrx/chapter2/aggregation/CountExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter2.aggregation; import java.util.Arrays; diff --git a/tests/java/itrx/chapter2/aggregation/FirstExample.java b/tests/java/itrx/chapter2/aggregation/FirstExample.java index 075658b..4c9f59d 100644 --- a/tests/java/itrx/chapter2/aggregation/FirstExample.java +++ b/tests/java/itrx/chapter2/aggregation/FirstExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter2.aggregation; import java.util.Arrays; diff --git a/tests/java/itrx/chapter2/aggregation/GroupByExample.java b/tests/java/itrx/chapter2/aggregation/GroupByExample.java index cef8e2b..0adcb6f 100644 --- a/tests/java/itrx/chapter2/aggregation/GroupByExample.java +++ b/tests/java/itrx/chapter2/aggregation/GroupByExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter2.aggregation; import java.util.Arrays; diff --git a/tests/java/itrx/chapter2/aggregation/LastExample.java b/tests/java/itrx/chapter2/aggregation/LastExample.java index 384ca58..fd759f9 100644 --- a/tests/java/itrx/chapter2/aggregation/LastExample.java +++ b/tests/java/itrx/chapter2/aggregation/LastExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter2.aggregation; import java.util.Arrays; diff --git a/tests/java/itrx/chapter2/aggregation/NestExample.java b/tests/java/itrx/chapter2/aggregation/NestExample.java index 0d6a168..cfa027d 100644 --- a/tests/java/itrx/chapter2/aggregation/NestExample.java +++ b/tests/java/itrx/chapter2/aggregation/NestExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter2.aggregation; import java.util.Arrays; diff --git a/tests/java/itrx/chapter2/aggregation/ReduceExample.java b/tests/java/itrx/chapter2/aggregation/ReduceExample.java index a281ae0..1592ee9 100644 --- a/tests/java/itrx/chapter2/aggregation/ReduceExample.java +++ b/tests/java/itrx/chapter2/aggregation/ReduceExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter2.aggregation; import java.util.Arrays; diff --git a/tests/java/itrx/chapter2/aggregation/ScanExample.java b/tests/java/itrx/chapter2/aggregation/ScanExample.java index 860931a..018921d 100644 --- a/tests/java/itrx/chapter2/aggregation/ScanExample.java +++ b/tests/java/itrx/chapter2/aggregation/ScanExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter2.aggregation; import java.util.Arrays; diff --git a/tests/java/itrx/chapter2/aggregation/SingleExample.java b/tests/java/itrx/chapter2/aggregation/SingleExample.java index f8d30dd..1153e90 100644 --- a/tests/java/itrx/chapter2/aggregation/SingleExample.java +++ b/tests/java/itrx/chapter2/aggregation/SingleExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter2.aggregation; import static org.junit.Assert.*; diff --git a/tests/java/itrx/chapter2/aggregation/ToCollectionExample.java b/tests/java/itrx/chapter2/aggregation/ToCollectionExample.java index c8e36ec..f33c687 100644 --- a/tests/java/itrx/chapter2/aggregation/ToCollectionExample.java +++ b/tests/java/itrx/chapter2/aggregation/ToCollectionExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter2.aggregation; import java.util.ArrayList; diff --git a/tests/java/itrx/chapter2/aggregation/ToMapExample.java b/tests/java/itrx/chapter2/aggregation/ToMapExample.java index 6ad6da6..5d064f5 100644 --- a/tests/java/itrx/chapter2/aggregation/ToMapExample.java +++ b/tests/java/itrx/chapter2/aggregation/ToMapExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter2.aggregation; import static org.junit.Assert.assertEquals; diff --git a/tests/java/itrx/chapter2/creating/FromExample.java b/tests/java/itrx/chapter2/creating/FromExample.java index b5ddc73..71be04b 100644 --- a/tests/java/itrx/chapter2/creating/FromExample.java +++ b/tests/java/itrx/chapter2/creating/FromExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter2.creating; import java.util.Arrays; diff --git a/tests/java/itrx/chapter2/creating/FunctionalUnfoldsExample.java b/tests/java/itrx/chapter2/creating/FunctionalUnfoldsExample.java index 54a8b8b..050ef2f 100644 --- a/tests/java/itrx/chapter2/creating/FunctionalUnfoldsExample.java +++ b/tests/java/itrx/chapter2/creating/FunctionalUnfoldsExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter2.creating; import static org.junit.Assert.assertEquals; diff --git a/tests/java/itrx/chapter2/creating/ObservableFactoriesExample.java b/tests/java/itrx/chapter2/creating/ObservableFactoriesExample.java index a6be755..4077fda 100644 --- a/tests/java/itrx/chapter2/creating/ObservableFactoriesExample.java +++ b/tests/java/itrx/chapter2/creating/ObservableFactoriesExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter2.creating; import static org.junit.Assert.assertEquals; diff --git a/tests/java/itrx/chapter2/inspection/AllExample.java b/tests/java/itrx/chapter2/inspection/AllExample.java index 4f3df9b..9fe812b 100644 --- a/tests/java/itrx/chapter2/inspection/AllExample.java +++ b/tests/java/itrx/chapter2/inspection/AllExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter2.inspection; import static org.junit.Assert.assertEquals; diff --git a/tests/java/itrx/chapter2/inspection/ContainsExample.java b/tests/java/itrx/chapter2/inspection/ContainsExample.java index 96aa214..031ebf9 100644 --- a/tests/java/itrx/chapter2/inspection/ContainsExample.java +++ b/tests/java/itrx/chapter2/inspection/ContainsExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter2.inspection; import java.util.Arrays; diff --git a/tests/java/itrx/chapter2/inspection/DefaultIfEmptyExample.java b/tests/java/itrx/chapter2/inspection/DefaultIfEmptyExample.java index 8e4c27c..7c4b513 100644 --- a/tests/java/itrx/chapter2/inspection/DefaultIfEmptyExample.java +++ b/tests/java/itrx/chapter2/inspection/DefaultIfEmptyExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter2.inspection; import static org.junit.Assert.assertEquals; diff --git a/tests/java/itrx/chapter2/inspection/ElementAtExample.java b/tests/java/itrx/chapter2/inspection/ElementAtExample.java index 0276eb3..3e07e8c 100644 --- a/tests/java/itrx/chapter2/inspection/ElementAtExample.java +++ b/tests/java/itrx/chapter2/inspection/ElementAtExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter2.inspection; import java.util.Arrays; diff --git a/tests/java/itrx/chapter2/inspection/ExistsExample.java b/tests/java/itrx/chapter2/inspection/ExistsExample.java index 7b4ba39..2b2d250 100644 --- a/tests/java/itrx/chapter2/inspection/ExistsExample.java +++ b/tests/java/itrx/chapter2/inspection/ExistsExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter2.inspection; import java.util.Arrays; diff --git a/tests/java/itrx/chapter2/inspection/IsEmptyExample.java b/tests/java/itrx/chapter2/inspection/IsEmptyExample.java index 8b8a2b2..a474721 100644 --- a/tests/java/itrx/chapter2/inspection/IsEmptyExample.java +++ b/tests/java/itrx/chapter2/inspection/IsEmptyExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter2.inspection; import java.util.Arrays; diff --git a/tests/java/itrx/chapter2/inspection/SequenceEqualExample.java b/tests/java/itrx/chapter2/inspection/SequenceEqualExample.java index c2cbdfe..8bd8ef8 100644 --- a/tests/java/itrx/chapter2/inspection/SequenceEqualExample.java +++ b/tests/java/itrx/chapter2/inspection/SequenceEqualExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter2.inspection; import static org.junit.Assert.*; diff --git a/tests/java/itrx/chapter2/reducing/DistinctExample.java b/tests/java/itrx/chapter2/reducing/DistinctExample.java index 81755d4..49007f4 100644 --- a/tests/java/itrx/chapter2/reducing/DistinctExample.java +++ b/tests/java/itrx/chapter2/reducing/DistinctExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter2.reducing; import java.util.Arrays; diff --git a/tests/java/itrx/chapter2/reducing/FilterExample.java b/tests/java/itrx/chapter2/reducing/FilterExample.java index 695e22a..405ddc6 100644 --- a/tests/java/itrx/chapter2/reducing/FilterExample.java +++ b/tests/java/itrx/chapter2/reducing/FilterExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter2.reducing; import java.util.Arrays; diff --git a/tests/java/itrx/chapter2/reducing/IgnoreExample.java b/tests/java/itrx/chapter2/reducing/IgnoreExample.java index c651199..57b3216 100644 --- a/tests/java/itrx/chapter2/reducing/IgnoreExample.java +++ b/tests/java/itrx/chapter2/reducing/IgnoreExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter2.reducing; import java.util.Arrays; diff --git a/tests/java/itrx/chapter2/reducing/TakeSkipExample.java b/tests/java/itrx/chapter2/reducing/TakeSkipExample.java index 68b2b3d..5b82f15 100644 --- a/tests/java/itrx/chapter2/reducing/TakeSkipExample.java +++ b/tests/java/itrx/chapter2/reducing/TakeSkipExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter2.reducing; import java.util.Arrays; diff --git a/tests/java/itrx/chapter2/transforming/CastTypeOfExample.java b/tests/java/itrx/chapter2/transforming/CastTypeOfExample.java index 020c3f6..0b3a337 100644 --- a/tests/java/itrx/chapter2/transforming/CastTypeOfExample.java +++ b/tests/java/itrx/chapter2/transforming/CastTypeOfExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter2.transforming; import static org.junit.Assert.*; diff --git a/tests/java/itrx/chapter2/transforming/ConcatMapExample.java b/tests/java/itrx/chapter2/transforming/ConcatMapExample.java index 45b3caf..630caa2 100644 --- a/tests/java/itrx/chapter2/transforming/ConcatMapExample.java +++ b/tests/java/itrx/chapter2/transforming/ConcatMapExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter2.transforming; import java.util.Arrays; diff --git a/tests/java/itrx/chapter2/transforming/FlatMapExample.java b/tests/java/itrx/chapter2/transforming/FlatMapExample.java index 077aad9..bf7ed57 100644 --- a/tests/java/itrx/chapter2/transforming/FlatMapExample.java +++ b/tests/java/itrx/chapter2/transforming/FlatMapExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter2.transforming; import static org.junit.Assert.*; diff --git a/tests/java/itrx/chapter2/transforming/FlatMapIterableExample.java b/tests/java/itrx/chapter2/transforming/FlatMapIterableExample.java index 1681a34..0619ef8 100644 --- a/tests/java/itrx/chapter2/transforming/FlatMapIterableExample.java +++ b/tests/java/itrx/chapter2/transforming/FlatMapIterableExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter2.transforming; import java.util.ArrayList; diff --git a/tests/java/itrx/chapter2/transforming/MapExample.java b/tests/java/itrx/chapter2/transforming/MapExample.java index 9b61334..9ca4ae4 100644 --- a/tests/java/itrx/chapter2/transforming/MapExample.java +++ b/tests/java/itrx/chapter2/transforming/MapExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter2.transforming; import java.util.Arrays; diff --git a/tests/java/itrx/chapter2/transforming/MaterializeExample.java b/tests/java/itrx/chapter2/transforming/MaterializeExample.java index 8799532..1bd47de 100644 --- a/tests/java/itrx/chapter2/transforming/MaterializeExample.java +++ b/tests/java/itrx/chapter2/transforming/MaterializeExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter2.transforming; import java.util.Arrays; diff --git a/tests/java/itrx/chapter2/transforming/TimestampTimeIntervalExample.java b/tests/java/itrx/chapter2/transforming/TimestampTimeIntervalExample.java index 2f76771..02272fa 100644 --- a/tests/java/itrx/chapter2/transforming/TimestampTimeIntervalExample.java +++ b/tests/java/itrx/chapter2/transforming/TimestampTimeIntervalExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter2.transforming; import static org.junit.Assert.assertEquals; diff --git a/tests/java/itrx/chapter3/combining/AmbExample.java b/tests/java/itrx/chapter3/combining/AmbExample.java index c339769..ec22051 100644 --- a/tests/java/itrx/chapter3/combining/AmbExample.java +++ b/tests/java/itrx/chapter3/combining/AmbExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter3.combining; import java.util.Arrays; diff --git a/tests/java/itrx/chapter3/combining/CombineLatestExample.java b/tests/java/itrx/chapter3/combining/CombineLatestExample.java index 983b779..26cfd1f 100644 --- a/tests/java/itrx/chapter3/combining/CombineLatestExample.java +++ b/tests/java/itrx/chapter3/combining/CombineLatestExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter3.combining; import java.util.Arrays; diff --git a/tests/java/itrx/chapter3/combining/ConcatExample.java b/tests/java/itrx/chapter3/combining/ConcatExample.java index 50f0230..23e054a 100644 --- a/tests/java/itrx/chapter3/combining/ConcatExample.java +++ b/tests/java/itrx/chapter3/combining/ConcatExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter3.combining; import java.util.Arrays; diff --git a/tests/java/itrx/chapter3/combining/MergeDelayErrorExample.java b/tests/java/itrx/chapter3/combining/MergeDelayErrorExample.java index a8ee257..8f93572 100644 --- a/tests/java/itrx/chapter3/combining/MergeDelayErrorExample.java +++ b/tests/java/itrx/chapter3/combining/MergeDelayErrorExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter3.combining; import static org.hamcrest.CoreMatchers.instanceOf; diff --git a/tests/java/itrx/chapter3/combining/MergeExample.java b/tests/java/itrx/chapter3/combining/MergeExample.java index f888846..95f6709 100644 --- a/tests/java/itrx/chapter3/combining/MergeExample.java +++ b/tests/java/itrx/chapter3/combining/MergeExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter3.combining; import static org.junit.Assert.assertTrue; diff --git a/tests/java/itrx/chapter3/combining/RepeatExample.java b/tests/java/itrx/chapter3/combining/RepeatExample.java index e8deba0..fafe6b3 100644 --- a/tests/java/itrx/chapter3/combining/RepeatExample.java +++ b/tests/java/itrx/chapter3/combining/RepeatExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter3.combining; import java.util.Arrays; diff --git a/tests/java/itrx/chapter3/combining/StartWithExample.java b/tests/java/itrx/chapter3/combining/StartWithExample.java index abb1915..f442da0 100644 --- a/tests/java/itrx/chapter3/combining/StartWithExample.java +++ b/tests/java/itrx/chapter3/combining/StartWithExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter3.combining; import java.util.Arrays; diff --git a/tests/java/itrx/chapter3/combining/SwitchMapExample.java b/tests/java/itrx/chapter3/combining/SwitchMapExample.java index 5eec35f..2257b86 100644 --- a/tests/java/itrx/chapter3/combining/SwitchMapExample.java +++ b/tests/java/itrx/chapter3/combining/SwitchMapExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter3.combining; import java.util.Arrays; diff --git a/tests/java/itrx/chapter3/combining/SwitchOnNextExample.java b/tests/java/itrx/chapter3/combining/SwitchOnNextExample.java index 867432b..41afcda 100644 --- a/tests/java/itrx/chapter3/combining/SwitchOnNextExample.java +++ b/tests/java/itrx/chapter3/combining/SwitchOnNextExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter3.combining; import static org.junit.Assert.*; diff --git a/tests/java/itrx/chapter3/combining/ZipExample.java b/tests/java/itrx/chapter3/combining/ZipExample.java index 0413be1..05d9047 100644 --- a/tests/java/itrx/chapter3/combining/ZipExample.java +++ b/tests/java/itrx/chapter3/combining/ZipExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter3.combining; import java.util.Arrays; diff --git a/tests/java/itrx/chapter3/custom/ComposeExample.java b/tests/java/itrx/chapter3/custom/ComposeExample.java index feae07e..aaaccec 100644 --- a/tests/java/itrx/chapter3/custom/ComposeExample.java +++ b/tests/java/itrx/chapter3/custom/ComposeExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter3.custom; import java.util.Arrays; diff --git a/tests/java/itrx/chapter3/custom/LiftExample.java b/tests/java/itrx/chapter3/custom/LiftExample.java index 755994e..35d79a0 100644 --- a/tests/java/itrx/chapter3/custom/LiftExample.java +++ b/tests/java/itrx/chapter3/custom/LiftExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter3.custom; import java.util.Arrays; diff --git a/tests/java/itrx/chapter3/custom/SerializeExample.java b/tests/java/itrx/chapter3/custom/SerializeExample.java index 8706766..3c39d51 100644 --- a/tests/java/itrx/chapter3/custom/SerializeExample.java +++ b/tests/java/itrx/chapter3/custom/SerializeExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter3.custom; import static org.junit.Assert.*; diff --git a/tests/java/itrx/chapter3/error/ResumeExample.java b/tests/java/itrx/chapter3/error/ResumeExample.java index e795d3a..da4fa15 100644 --- a/tests/java/itrx/chapter3/error/ResumeExample.java +++ b/tests/java/itrx/chapter3/error/ResumeExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter3.error; import static org.junit.Assert.assertEquals; diff --git a/tests/java/itrx/chapter3/error/RetryExample.java b/tests/java/itrx/chapter3/error/RetryExample.java index 3b4d43b..03c3cc5 100644 --- a/tests/java/itrx/chapter3/error/RetryExample.java +++ b/tests/java/itrx/chapter3/error/RetryExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter3.error; import static org.junit.Assert.*; diff --git a/tests/java/itrx/chapter3/error/RetryWhenExample.java b/tests/java/itrx/chapter3/error/RetryWhenExample.java index 77e090e..6d1becc 100644 --- a/tests/java/itrx/chapter3/error/RetryWhenExample.java +++ b/tests/java/itrx/chapter3/error/RetryWhenExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter3.error; import java.util.Arrays; diff --git a/tests/java/itrx/chapter3/error/UsingExample.java b/tests/java/itrx/chapter3/error/UsingExample.java index a21d39b..52e36ec 100644 --- a/tests/java/itrx/chapter3/error/UsingExample.java +++ b/tests/java/itrx/chapter3/error/UsingExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter3.error; import static org.junit.Assert.assertEquals; diff --git a/tests/java/itrx/chapter3/hotandcold/CacheExample.java b/tests/java/itrx/chapter3/hotandcold/CacheExample.java index c9e333e..f993348 100644 --- a/tests/java/itrx/chapter3/hotandcold/CacheExample.java +++ b/tests/java/itrx/chapter3/hotandcold/CacheExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter3.hotandcold; import java.util.Arrays; diff --git a/tests/java/itrx/chapter3/hotandcold/ColdExample.java b/tests/java/itrx/chapter3/hotandcold/ColdExample.java index 2e549c3..372612b 100644 --- a/tests/java/itrx/chapter3/hotandcold/ColdExample.java +++ b/tests/java/itrx/chapter3/hotandcold/ColdExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter3.hotandcold; import java.util.Arrays; diff --git a/tests/java/itrx/chapter3/hotandcold/ConnectableObservableExample.java b/tests/java/itrx/chapter3/hotandcold/ConnectableObservableExample.java index a1f989f..37212b4 100644 --- a/tests/java/itrx/chapter3/hotandcold/ConnectableObservableExample.java +++ b/tests/java/itrx/chapter3/hotandcold/ConnectableObservableExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter3.hotandcold; import java.util.Arrays; diff --git a/tests/java/itrx/chapter3/hotandcold/MulticastExample.java b/tests/java/itrx/chapter3/hotandcold/MulticastExample.java index 23a0cc1..eca36ef 100644 --- a/tests/java/itrx/chapter3/hotandcold/MulticastExample.java +++ b/tests/java/itrx/chapter3/hotandcold/MulticastExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter3.hotandcold; import java.util.Arrays; diff --git a/tests/java/itrx/chapter3/hotandcold/ReplayExample.java b/tests/java/itrx/chapter3/hotandcold/ReplayExample.java index aca1912..69aecc6 100644 --- a/tests/java/itrx/chapter3/hotandcold/ReplayExample.java +++ b/tests/java/itrx/chapter3/hotandcold/ReplayExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter3.hotandcold; import java.util.Arrays; diff --git a/tests/java/itrx/chapter3/leaving/FirstLastSingleExample.java b/tests/java/itrx/chapter3/leaving/FirstLastSingleExample.java index c8c9576..1fe7f0a 100644 --- a/tests/java/itrx/chapter3/leaving/FirstLastSingleExample.java +++ b/tests/java/itrx/chapter3/leaving/FirstLastSingleExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter3.leaving; import static org.junit.Assert.assertEquals; diff --git a/tests/java/itrx/chapter3/leaving/ForEachExample.java b/tests/java/itrx/chapter3/leaving/ForEachExample.java index 2258e78..d13574e 100644 --- a/tests/java/itrx/chapter3/leaving/ForEachExample.java +++ b/tests/java/itrx/chapter3/leaving/ForEachExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter3.leaving; import static org.junit.Assert.*; diff --git a/tests/java/itrx/chapter3/leaving/FutureExample.java b/tests/java/itrx/chapter3/leaving/FutureExample.java index 4598d21..12f5118 100644 --- a/tests/java/itrx/chapter3/leaving/FutureExample.java +++ b/tests/java/itrx/chapter3/leaving/FutureExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter3.leaving; diff --git a/tests/java/itrx/chapter3/leaving/IterablesExample.java b/tests/java/itrx/chapter3/leaving/IterablesExample.java index de99b06..bc9b142 100644 --- a/tests/java/itrx/chapter3/leaving/IterablesExample.java +++ b/tests/java/itrx/chapter3/leaving/IterablesExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter3.leaving; import static org.junit.Assert.*; diff --git a/tests/java/itrx/chapter3/sideeffects/AsObservableExample.java b/tests/java/itrx/chapter3/sideeffects/AsObservableExample.java index 8bcbc36..76a8fad 100644 --- a/tests/java/itrx/chapter3/sideeffects/AsObservableExample.java +++ b/tests/java/itrx/chapter3/sideeffects/AsObservableExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter3.sideeffects; import static org.junit.Assert.*; diff --git a/tests/java/itrx/chapter3/sideeffects/DoOnExample.java b/tests/java/itrx/chapter3/sideeffects/DoOnExample.java index 8682625..4d08c43 100644 --- a/tests/java/itrx/chapter3/sideeffects/DoOnExample.java +++ b/tests/java/itrx/chapter3/sideeffects/DoOnExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter3.sideeffects; import static org.junit.Assert.*; diff --git a/tests/java/itrx/chapter3/sideeffects/MutablePipelineExample.java b/tests/java/itrx/chapter3/sideeffects/MutablePipelineExample.java index 3e02b0b..a1a185b 100644 --- a/tests/java/itrx/chapter3/sideeffects/MutablePipelineExample.java +++ b/tests/java/itrx/chapter3/sideeffects/MutablePipelineExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter3.sideeffects; import java.util.Arrays; diff --git a/tests/java/itrx/chapter3/sideeffects/SideEffectExample.java b/tests/java/itrx/chapter3/sideeffects/SideEffectExample.java index 2447289..ff18bd8 100644 --- a/tests/java/itrx/chapter3/sideeffects/SideEffectExample.java +++ b/tests/java/itrx/chapter3/sideeffects/SideEffectExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter3.sideeffects; import java.util.Arrays; diff --git a/tests/java/itrx/chapter3/timeshifted/BufferExample.java b/tests/java/itrx/chapter3/timeshifted/BufferExample.java index da3135e..1b3d046 100644 --- a/tests/java/itrx/chapter3/timeshifted/BufferExample.java +++ b/tests/java/itrx/chapter3/timeshifted/BufferExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter3.timeshifted; import java.util.Arrays; diff --git a/tests/java/itrx/chapter3/timeshifted/DebounceExample.java b/tests/java/itrx/chapter3/timeshifted/DebounceExample.java index 75a0d34..70d738e 100644 --- a/tests/java/itrx/chapter3/timeshifted/DebounceExample.java +++ b/tests/java/itrx/chapter3/timeshifted/DebounceExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter3.timeshifted; import java.util.Arrays; diff --git a/tests/java/itrx/chapter3/timeshifted/DelayExample.java b/tests/java/itrx/chapter3/timeshifted/DelayExample.java index 31a6ed5..bdac209 100644 --- a/tests/java/itrx/chapter3/timeshifted/DelayExample.java +++ b/tests/java/itrx/chapter3/timeshifted/DelayExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter3.timeshifted; import java.util.Arrays; diff --git a/tests/java/itrx/chapter3/timeshifted/SampleExample.java b/tests/java/itrx/chapter3/timeshifted/SampleExample.java index e6c376e..f4b3a6f 100644 --- a/tests/java/itrx/chapter3/timeshifted/SampleExample.java +++ b/tests/java/itrx/chapter3/timeshifted/SampleExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter3.timeshifted; import java.util.Arrays; diff --git a/tests/java/itrx/chapter3/timeshifted/TakeLastBufferExample.java b/tests/java/itrx/chapter3/timeshifted/TakeLastBufferExample.java index c054712..fa97db3 100644 --- a/tests/java/itrx/chapter3/timeshifted/TakeLastBufferExample.java +++ b/tests/java/itrx/chapter3/timeshifted/TakeLastBufferExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter3.timeshifted; import java.util.Arrays; diff --git a/tests/java/itrx/chapter3/timeshifted/ThrottleExample.java b/tests/java/itrx/chapter3/timeshifted/ThrottleExample.java index df4ab77..da8012b 100644 --- a/tests/java/itrx/chapter3/timeshifted/ThrottleExample.java +++ b/tests/java/itrx/chapter3/timeshifted/ThrottleExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter3.timeshifted; import java.util.Arrays; diff --git a/tests/java/itrx/chapter3/timeshifted/TimeoutExample.java b/tests/java/itrx/chapter3/timeshifted/TimeoutExample.java index 5dcaace..f1feef3 100644 --- a/tests/java/itrx/chapter3/timeshifted/TimeoutExample.java +++ b/tests/java/itrx/chapter3/timeshifted/TimeoutExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter3.timeshifted; import java.util.Arrays; diff --git a/tests/java/itrx/chapter4/backpressure/ConsumerSideExample.java b/tests/java/itrx/chapter4/backpressure/ConsumerSideExample.java index 8a05bc2..659b86a 100644 --- a/tests/java/itrx/chapter4/backpressure/ConsumerSideExample.java +++ b/tests/java/itrx/chapter4/backpressure/ConsumerSideExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter4.backpressure; import java.util.Arrays; diff --git a/tests/java/itrx/chapter4/backpressure/ControlledPullSubscriber.java b/tests/java/itrx/chapter4/backpressure/ControlledPullSubscriber.java index c845c3d..7c6db40 100644 --- a/tests/java/itrx/chapter4/backpressure/ControlledPullSubscriber.java +++ b/tests/java/itrx/chapter4/backpressure/ControlledPullSubscriber.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter4.backpressure; import rx.Subscriber; diff --git a/tests/java/itrx/chapter4/backpressure/NoBackpressureExample.java b/tests/java/itrx/chapter4/backpressure/NoBackpressureExample.java index 12e1480..be2d11c 100644 --- a/tests/java/itrx/chapter4/backpressure/NoBackpressureExample.java +++ b/tests/java/itrx/chapter4/backpressure/NoBackpressureExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter4.backpressure; import static org.hamcrest.CoreMatchers.instanceOf; diff --git a/tests/java/itrx/chapter4/backpressure/OnBackpressureExample.java b/tests/java/itrx/chapter4/backpressure/OnBackpressureExample.java index 9d646db..aa74d47 100644 --- a/tests/java/itrx/chapter4/backpressure/OnBackpressureExample.java +++ b/tests/java/itrx/chapter4/backpressure/OnBackpressureExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter4.backpressure; import static org.hamcrest.CoreMatchers.instanceOf; diff --git a/tests/java/itrx/chapter4/backpressure/OnRequestExample.java b/tests/java/itrx/chapter4/backpressure/OnRequestExample.java index 7920c43..462e1e8 100644 --- a/tests/java/itrx/chapter4/backpressure/OnRequestExample.java +++ b/tests/java/itrx/chapter4/backpressure/OnRequestExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter4.backpressure; import static org.junit.Assert.assertEquals; diff --git a/tests/java/itrx/chapter4/backpressure/ReactivePullExample.java b/tests/java/itrx/chapter4/backpressure/ReactivePullExample.java index b79259a..ce7d1c1 100644 --- a/tests/java/itrx/chapter4/backpressure/ReactivePullExample.java +++ b/tests/java/itrx/chapter4/backpressure/ReactivePullExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter4.backpressure; import static org.junit.Assert.assertEquals; diff --git a/tests/java/itrx/chapter4/coincidence/GroupJoinExample.java b/tests/java/itrx/chapter4/coincidence/GroupJoinExample.java index 487c2f0..c591286 100644 --- a/tests/java/itrx/chapter4/coincidence/GroupJoinExample.java +++ b/tests/java/itrx/chapter4/coincidence/GroupJoinExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter4.coincidence; import java.util.Arrays; diff --git a/tests/java/itrx/chapter4/coincidence/JoinExample.java b/tests/java/itrx/chapter4/coincidence/JoinExample.java index b10a9bc..a283e9f 100644 --- a/tests/java/itrx/chapter4/coincidence/JoinExample.java +++ b/tests/java/itrx/chapter4/coincidence/JoinExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter4.coincidence; import java.util.Arrays; diff --git a/tests/java/itrx/chapter4/coincidence/WindowExample.java b/tests/java/itrx/chapter4/coincidence/WindowExample.java index 12897de0..a227fe1 100644 --- a/tests/java/itrx/chapter4/coincidence/WindowExample.java +++ b/tests/java/itrx/chapter4/coincidence/WindowExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter4.coincidence; import java.util.Arrays; diff --git a/tests/java/itrx/chapter4/scheduling/ObserveOnExample.java b/tests/java/itrx/chapter4/scheduling/ObserveOnExample.java index bf27e4f..d0c0fd7 100644 --- a/tests/java/itrx/chapter4/scheduling/ObserveOnExample.java +++ b/tests/java/itrx/chapter4/scheduling/ObserveOnExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter4.scheduling; import static org.junit.Assert.*; diff --git a/tests/java/itrx/chapter4/scheduling/SchedulerExample.java b/tests/java/itrx/chapter4/scheduling/SchedulerExample.java index 655d8bf..32cb235 100644 --- a/tests/java/itrx/chapter4/scheduling/SchedulerExample.java +++ b/tests/java/itrx/chapter4/scheduling/SchedulerExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter4.scheduling; import static org.junit.Assert.*; diff --git a/tests/java/itrx/chapter4/scheduling/SchedulersExample.java b/tests/java/itrx/chapter4/scheduling/SchedulersExample.java index 3829a84..67222cc 100644 --- a/tests/java/itrx/chapter4/scheduling/SchedulersExample.java +++ b/tests/java/itrx/chapter4/scheduling/SchedulersExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter4.scheduling; import static org.junit.Assert.*; diff --git a/tests/java/itrx/chapter4/scheduling/SingleThreadedExample.java b/tests/java/itrx/chapter4/scheduling/SingleThreadedExample.java index 70554bb..c4ce155 100644 --- a/tests/java/itrx/chapter4/scheduling/SingleThreadedExample.java +++ b/tests/java/itrx/chapter4/scheduling/SingleThreadedExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter4.scheduling; import org.junit.Assert; diff --git a/tests/java/itrx/chapter4/scheduling/SubscribeOnExample.java b/tests/java/itrx/chapter4/scheduling/SubscribeOnExample.java index 9112b04..ebae61d 100644 --- a/tests/java/itrx/chapter4/scheduling/SubscribeOnExample.java +++ b/tests/java/itrx/chapter4/scheduling/SubscribeOnExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter4.scheduling; import static org.junit.Assert.*; diff --git a/tests/java/itrx/chapter4/scheduling/UnsubscribeOnExample.java b/tests/java/itrx/chapter4/scheduling/UnsubscribeOnExample.java index 8cae62d..4357c15 100644 --- a/tests/java/itrx/chapter4/scheduling/UnsubscribeOnExample.java +++ b/tests/java/itrx/chapter4/scheduling/UnsubscribeOnExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter4.scheduling; import static org.junit.Assert.*; diff --git a/tests/java/itrx/chapter4/testing/ExampleExample.java b/tests/java/itrx/chapter4/testing/ExampleExample.java index c872c86..803942f 100644 --- a/tests/java/itrx/chapter4/testing/ExampleExample.java +++ b/tests/java/itrx/chapter4/testing/ExampleExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter4.testing; import static org.junit.Assert.assertTrue; diff --git a/tests/java/itrx/chapter4/testing/TestSchedulerExample.java b/tests/java/itrx/chapter4/testing/TestSchedulerExample.java index cadc950..0c5fc16 100644 --- a/tests/java/itrx/chapter4/testing/TestSchedulerExample.java +++ b/tests/java/itrx/chapter4/testing/TestSchedulerExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter4.testing; import static org.junit.Assert.*; diff --git a/tests/java/itrx/chapter4/testing/TestSubscriberExample.java b/tests/java/itrx/chapter4/testing/TestSubscriberExample.java index 22fbd31..3cda32c 100644 --- a/tests/java/itrx/chapter4/testing/TestSubscriberExample.java +++ b/tests/java/itrx/chapter4/testing/TestSubscriberExample.java @@ -1,3 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Christos Froussios + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + *******************************************************************************/ package itrx.chapter4.testing; import static org.junit.Assert.assertTrue;