{"action":"created","comment":{"url":"https://api.github.com/repos/iluwatar/java-design-patterns/pulls/comments/38661790","id":38661790,"diff_hunk":"@@ -0,0 +1,236 @@\n+package com.iluwatar.fluentinterface.fluentiterable.lazy;\n+\n+import com.iluwatar.fluentinterface.fluentiterable.FluentIterable;\n+\n+import java.util.ArrayList;\n+import java.util.Iterator;\n+import java.util.List;\n+import java.util.Optional;\n+import java.util.function.Consumer;\n+import java.util.function.Function;\n+import java.util.function.Predicate;\n+\n+/**\n+ * This is a lazy implementation of the FluentIterable interface. It evaluates\n+ * all chained operations when a terminating operation is applied.\n+ * @param <TYPE> the type of the objects the iteration is about\n+ */\n+public class LazyFluentIterable<TYPE> implements FluentIterable<TYPE> {\n+\n+    private final Iterable<TYPE> iterable;\n+\n+    /**\n+     * This constructor creates a new LazyFluentIterable. It wraps the\n+     * given iterable.\n+     * @param iterable the iterable this FluentIterable works on.\n+     */\n+    protected LazyFluentIterable(Iterable<TYPE> iterable) {\n+        this.iterable = iterable;\n+    }\n+\n+    /**\n+     * This constructor can be used to implement anonymous subclasses\n+     * of the LazyFluentIterable.\n+     */\n+    protected LazyFluentIterable() {\n+        iterable = this;\n+    }\n+\n+    /**\n+     * Adds a filter operation to the operation chain and returns a new iterable.\n+     * @param predicate the condition to test with for the filtering. If the test\n+     *                  is negative, the tested object is removed by the iterator.\n+     * @return a new FluentIterable object that decorates the source iterable\n+     */\n+    @Override\n+    public FluentIterable<TYPE> filter(Predicate<? super TYPE> predicate) {\n+        return new LazyFluentIterable<TYPE>() {\n+            @Override\n+            public Iterator<TYPE> iterator() {\n+                return new DecoratingIterator<TYPE>(iterable.iterator()) {\n+                    @Override\n+                    public TYPE computeNext() {\n+                        while(true) {\n+                            if(fromIterator.hasNext()) {\n+                                TYPE candidate = fromIterator.next();\n+                                if(!predicate.test(candidate)) {\n+                                    continue;\n+                                }\n+                                return candidate;\n+                            }\n+\n+                            return null;\n+                        }\n+                    }\n+                };\n+            }\n+        };\n+    }\n+\n+    /**\n+     * Uses the Iterable interface's forEach method to apply a given function\n+     * for each object of the iterator. Is a terminating operation.\n+     * @param action the action for each object\n+     */\n+    @Override\n+    public void forEachDo(Consumer<? super TYPE> action) {\n+        Iterator<TYPE> newIterator = iterable.iterator();\n+        while(newIterator.hasNext()) {\n+            action.accept(newIterator.next());\n+        }\n+    }\n+\n+    /**\n+     * Can be used to collect objects from the iteration. Is a terminating operation.\n+     * @return an option of the first object of the iteration\n+     */\n+    @Override\n+    public Optional<TYPE> first() {\n+        Optional result = Optional.empty();\n+        List<TYPE> list = first(1).asList();\n+        if(!list.isEmpty()) {\n+            result = Optional.of(list.get(0));\n+        }\n+\n+        return result;\n+    }\n+\n+    /**\n+     * Can be used to collect objects from the iteration. Is a terminating operation.\n+     * @param count defines the number of objects to return\n+     * @return the same FluentIterable with a collection decimated to a maximum of 'count' first objects.\n+     */\n+    @Override\n+    public FluentIterable<TYPE> first(int count) {\n+        return new LazyFluentIterable<TYPE>() {\n+            @Override\n+            public Iterator<TYPE> iterator() {\n+                return new DecoratingIterator<TYPE>(iterable.iterator()) {\n+                    int currentIndex = 0;\n+\n+                    @Override\n+                    public TYPE computeNext() {\n+                        if(currentIndex < count) {\n+                            if(fromIterator.hasNext()) {\n+                                TYPE candidate = fromIterator.next();\n+                                currentIndex++;\n+                                return candidate;\n+                            }\n+                        }\n+                        return null;\n+                    }\n+                };\n+            }\n+        };\n+    }\n+\n+    /**\n+     * Can be used to collect objects from the iteration. Is a terminating operation.\n+     * @return an option of the last object of the iteration\n+     */\n+    @Override\n+    public Optional<TYPE> last() {\n+        Optional result = Optional.empty();\n+        List<TYPE> list = last(1).asList();\n+        if(!list.isEmpty()) {\n+            result = Optional.of(list.get(0));\n+        }\n+\n+        return result;\n+    }\n+\n+    /**\n+     * Can be used to collect objects from the iteration. Is a terminating operation.\n+     * @param count defines the number of objects to return\n+     * @return the same FluentIterable with a collection decimated to a maximum of 'count' last objects\n+     */\n+    @Override\n+    public FluentIterable<TYPE> last(int count) {return new LazyFluentIterable<TYPE>() {\n+        @Override\n+        public Iterator<TYPE> iterator() {\n+            return new DecoratingIterator<TYPE>(iterable.iterator()) {\n+                int currentIndex = 0;\n+\n+                @Override\n+                public TYPE computeNext() {\n+                    List<TYPE> list = new ArrayList<>();\n+\n+                    Iterator<TYPE> newIterator = iterable.iterator();\n+                    while(newIterator.hasNext()) {\n+                        list.add(newIterator.next());\n+                    }\n+\n+                    int totalElementsCount = list.size();\n+                    int stopIndex = totalElementsCount - count;\n+\n+                    TYPE candidate = null;\n+                    while(currentIndex < stopIndex && fromIterator.hasNext()) {\n+                        currentIndex++;\n+                        fromIterator.next();\n+                    }\n+                    if(currentIndex >= stopIndex && fromIterator.hasNext()) {\n+                        candidate = fromIterator.next();\n+                    }\n+                    return candidate;\n+                }\n+            };\n+        }\n+    };\n+    }\n+\n+    /**\n+     * Transforms this FluentIterable into a new one containing objects of the type NEW_TYPE.\n+     * @param function a function that transforms an instance of TYPE into an instance of NEW_TYPE\n+     * @param <NEW_TYPE> the target type of the transformation\n+     * @return a new FluentIterable of the new type\n+     */\n+    @Override\n+    public <NEW_TYPE> FluentIterable<NEW_TYPE> map(Function<? super TYPE, NEW_TYPE> function) {\n+        return new LazyFluentIterable<NEW_TYPE>() {\n+            @Override\n+            public Iterator<NEW_TYPE> iterator() {\n+                return new DecoratingIterator<NEW_TYPE>(null) {\n+                    Iterator<TYPE> oldTypeIterator = iterable.iterator();\n+                    @Override\n+                    public NEW_TYPE computeNext() {\n+                        while(true) {","path":"fluentinterface/src/main/java/com/iluwatar/fluentinterface/fluentiterable/lazy/LazyFluentIterable.java","position":null,"original_position":196,"commit_id":"7cc09e359e4f3d1ba6c2cb7937d43a1ca20f70cb","original_commit_id":"251fd0905fe8a8aeceee811dc64be737a51aa861","user":{"login":"hannespernpeintner","id":1679437,"avatar_url":"https://avatars.githubusercontent.com/u/1679437?v=3","gravatar_id":"","url":"https://api.github.com/users/hannespernpeintner","html_url":"https://github.com/hannespernpeintner","followers_url":"https://api.github.com/users/hannespernpeintner/followers","following_url":"https://api.github.com/users/hannespernpeintner/following{/other_user}","gists_url":"https://api.github.com/users/hannespernpeintner/gists{/gist_id}","starred_url":"https://api.github.com/users/hannespernpeintner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hannespernpeintner/subscriptions","organizations_url":"https://api.github.com/users/hannespernpeintner/orgs","repos_url":"https://api.github.com/users/hannespernpeintner/repos","events_url":"https://api.github.com/users/hannespernpeintner/events{/privacy}","received_events_url":"https://api.github.com/users/hannespernpeintner/received_events","type":"User","site_admin":false},"body":"Done.","created_at":"2015-09-03T15:51:13Z","updated_at":"2015-09-03T15:51:13Z","html_url":"https://github.com/iluwatar/java-design-patterns/pull/225#discussion_r38661790","pull_request_url":"https://api.github.com/repos/iluwatar/java-design-patterns/pulls/225","_links":{"self":{"href":"https://api.github.com/repos/iluwatar/java-design-patterns/pulls/comments/38661790"},"html":{"href":"https://github.com/iluwatar/java-design-patterns/pull/225#discussion_r38661790"},"pull_request":{"href":"https://api.github.com/repos/iluwatar/java-design-patterns/pulls/225"}}},"pull_request":{"url":"https://api.github.com/repos/iluwatar/java-design-patterns/pulls/225","id":43034764,"html_url":"https://github.com/iluwatar/java-design-patterns/pull/225","diff_url":"https://github.com/iluwatar/java-design-patterns/pull/225.diff","patch_url":"https://github.com/iluwatar/java-design-patterns/pull/225.patch","issue_url":"https://api.github.com/repos/iluwatar/java-design-patterns/issues/225","number":225,"state":"open","locked":false,"title":"#184 Fluent Interface pattern","user":{"login":"hannespernpeintner","id":1679437,"avatar_url":"https://avatars.githubusercontent.com/u/1679437?v=3","gravatar_id":"","url":"https://api.github.com/users/hannespernpeintner","html_url":"https://github.com/hannespernpeintner","followers_url":"https://api.github.com/users/hannespernpeintner/followers","following_url":"https://api.github.com/users/hannespernpeintner/following{/other_user}","gists_url":"https://api.github.com/users/hannespernpeintner/gists{/gist_id}","starred_url":"https://api.github.com/users/hannespernpeintner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hannespernpeintner/subscriptions","organizations_url":"https://api.github.com/users/hannespernpeintner/orgs","repos_url":"https://api.github.com/users/hannespernpeintner/repos","events_url":"https://api.github.com/users/hannespernpeintner/events{/privacy}","received_events_url":"https://api.github.com/users/hannespernpeintner/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-21T12:57:02Z","updated_at":"2015-09-03T15:51:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/iluwatar/java-design-patterns/pulls/225/commits","review_comments_url":"https://api.github.com/repos/iluwatar/java-design-patterns/pulls/225/comments","review_comment_url":"https://api.github.com/repos/iluwatar/java-design-patterns/pulls/comments{/number}","comments_url":"https://api.github.com/repos/iluwatar/java-design-patterns/issues/225/comments","statuses_url":"https://api.github.com/repos/iluwatar/java-design-patterns/statuses/7cc09e359e4f3d1ba6c2cb7937d43a1ca20f70cb","head":{"label":"hannespernpeintner:fluentinterface","ref":"fluentinterface","sha":"7cc09e359e4f3d1ba6c2cb7937d43a1ca20f70cb","user":{"login":"hannespernpeintner","id":1679437,"avatar_url":"https://avatars.githubusercontent.com/u/1679437?v=3","gravatar_id":"","url":"https://api.github.com/users/hannespernpeintner","html_url":"https://github.com/hannespernpeintner","followers_url":"https://api.github.com/users/hannespernpeintner/followers","following_url":"https://api.github.com/users/hannespernpeintner/following{/other_user}","gists_url":"https://api.github.com/users/hannespernpeintner/gists{/gist_id}","starred_url":"https://api.github.com/users/hannespernpeintner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hannespernpeintner/subscriptions","organizations_url":"https://api.github.com/users/hannespernpeintner/orgs","repos_url":"https://api.github.com/users/hannespernpeintner/repos","events_url":"https://api.github.com/users/hannespernpeintner/events{/privacy}","received_events_url":"https://api.github.com/users/hannespernpeintner/received_events","type":"User","site_admin":false},"repo":{"id":40676579,"name":"java-design-patterns","full_name":"hannespernpeintner/java-design-patterns","owner":{"login":"hannespernpeintner","id":1679437,"avatar_url":"https://avatars.githubusercontent.com/u/1679437?v=3","gravatar_id":"","url":"https://api.github.com/users/hannespernpeintner","html_url":"https://github.com/hannespernpeintner","followers_url":"https://api.github.com/users/hannespernpeintner/followers","following_url":"https://api.github.com/users/hannespernpeintner/following{/other_user}","gists_url":"https://api.github.com/users/hannespernpeintner/gists{/gist_id}","starred_url":"https://api.github.com/users/hannespernpeintner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hannespernpeintner/subscriptions","organizations_url":"https://api.github.com/users/hannespernpeintner/orgs","repos_url":"https://api.github.com/users/hannespernpeintner/repos","events_url":"https://api.github.com/users/hannespernpeintner/events{/privacy}","received_events_url":"https://api.github.com/users/hannespernpeintner/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hannespernpeintner/java-design-patterns","description":"Design pattern samples implemented in Java","fork":true,"url":"https://api.github.com/repos/hannespernpeintner/java-design-patterns","forks_url":"https://api.github.com/repos/hannespernpeintner/java-design-patterns/forks","keys_url":"https://api.github.com/repos/hannespernpeintner/java-design-patterns/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hannespernpeintner/java-design-patterns/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hannespernpeintner/java-design-patterns/teams","hooks_url":"https://api.github.com/repos/hannespernpeintner/java-design-patterns/hooks","issue_events_url":"https://api.github.com/repos/hannespernpeintner/java-design-patterns/issues/events{/number}","events_url":"https://api.github.com/repos/hannespernpeintner/java-design-patterns/events","assignees_url":"https://api.github.com/repos/hannespernpeintner/java-design-patterns/assignees{/user}","branches_url":"https://api.github.com/repos/hannespernpeintner/java-design-patterns/branches{/branch}","tags_url":"https://api.github.com/repos/hannespernpeintner/java-design-patterns/tags","blobs_url":"https://api.github.com/repos/hannespernpeintner/java-design-patterns/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hannespernpeintner/java-design-patterns/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hannespernpeintner/java-design-patterns/git/refs{/sha}","trees_url":"https://api.github.com/repos/hannespernpeintner/java-design-patterns/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hannespernpeintner/java-design-patterns/statuses/{sha}","languages_url":"https://api.github.com/repos/hannespernpeintner/java-design-patterns/languages","stargazers_url":"https://api.github.com/repos/hannespernpeintner/java-design-patterns/stargazers","contributors_url":"https://api.github.com/repos/hannespernpeintner/java-design-patterns/contributors","subscribers_url":"https://api.github.com/repos/hannespernpeintner/java-design-patterns/subscribers","subscription_url":"https://api.github.com/repos/hannespernpeintner/java-design-patterns/subscription","commits_url":"https://api.github.com/repos/hannespernpeintner/java-design-patterns/commits{/sha}","git_commits_url":"https://api.github.com/repos/hannespernpeintner/java-design-patterns/git/commits{/sha}","comments_url":"https://api.github.com/repos/hannespernpeintner/java-design-patterns/comments{/number}","issue_comment_url":"https://api.github.com/repos/hannespernpeintner/java-design-patterns/issues/comments{/number}","contents_url":"https://api.github.com/repos/hannespernpeintner/java-design-patterns/contents/{+path}","compare_url":"https://api.github.com/repos/hannespernpeintner/java-design-patterns/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hannespernpeintner/java-design-patterns/merges","archive_url":"https://api.github.com/repos/hannespernpeintner/java-design-patterns/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hannespernpeintner/java-design-patterns/downloads","issues_url":"https://api.github.com/repos/hannespernpeintner/java-design-patterns/issues{/number}","pulls_url":"https://api.github.com/repos/hannespernpeintner/java-design-patterns/pulls{/number}","milestones_url":"https://api.github.com/repos/hannespernpeintner/java-design-patterns/milestones{/number}","notifications_url":"https://api.github.com/repos/hannespernpeintner/java-design-patterns/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hannespernpeintner/java-design-patterns/labels{/name}","releases_url":"https://api.github.com/repos/hannespernpeintner/java-design-patterns/releases{/id}","created_at":"2015-08-13T19:00:45Z","updated_at":"2015-08-13T19:00:47Z","pushed_at":"2015-09-02T15:21:39Z","git_url":"git://github.com/hannespernpeintner/java-design-patterns.git","ssh_url":"git@github.com:hannespernpeintner/java-design-patterns.git","clone_url":"https://github.com/hannespernpeintner/java-design-patterns.git","svn_url":"https://github.com/hannespernpeintner/java-design-patterns","homepage":"","size":6459,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"iluwatar:master","ref":"master","sha":"5ce932ceb7768e9f8f975524af9758f614ef68ee","user":{"login":"iluwatar","id":582346,"avatar_url":"https://avatars.githubusercontent.com/u/582346?v=3","gravatar_id":"","url":"https://api.github.com/users/iluwatar","html_url":"https://github.com/iluwatar","followers_url":"https://api.github.com/users/iluwatar/followers","following_url":"https://api.github.com/users/iluwatar/following{/other_user}","gists_url":"https://api.github.com/users/iluwatar/gists{/gist_id}","starred_url":"https://api.github.com/users/iluwatar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iluwatar/subscriptions","organizations_url":"https://api.github.com/users/iluwatar/orgs","repos_url":"https://api.github.com/users/iluwatar/repos","events_url":"https://api.github.com/users/iluwatar/events{/privacy}","received_events_url":"https://api.github.com/users/iluwatar/received_events","type":"User","site_admin":false},"repo":{"id":22790488,"name":"java-design-patterns","full_name":"iluwatar/java-design-patterns","owner":{"login":"iluwatar","id":582346,"avatar_url":"https://avatars.githubusercontent.com/u/582346?v=3","gravatar_id":"","url":"https://api.github.com/users/iluwatar","html_url":"https://github.com/iluwatar","followers_url":"https://api.github.com/users/iluwatar/followers","following_url":"https://api.github.com/users/iluwatar/following{/other_user}","gists_url":"https://api.github.com/users/iluwatar/gists{/gist_id}","starred_url":"https://api.github.com/users/iluwatar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iluwatar/subscriptions","organizations_url":"https://api.github.com/users/iluwatar/orgs","repos_url":"https://api.github.com/users/iluwatar/repos","events_url":"https://api.github.com/users/iluwatar/events{/privacy}","received_events_url":"https://api.github.com/users/iluwatar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/iluwatar/java-design-patterns","description":"Design pattern samples implemented in Java","fork":false,"url":"https://api.github.com/repos/iluwatar/java-design-patterns","forks_url":"https://api.github.com/repos/iluwatar/java-design-patterns/forks","keys_url":"https://api.github.com/repos/iluwatar/java-design-patterns/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iluwatar/java-design-patterns/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iluwatar/java-design-patterns/teams","hooks_url":"https://api.github.com/repos/iluwatar/java-design-patterns/hooks","issue_events_url":"https://api.github.com/repos/iluwatar/java-design-patterns/issues/events{/number}","events_url":"https://api.github.com/repos/iluwatar/java-design-patterns/events","assignees_url":"https://api.github.com/repos/iluwatar/java-design-patterns/assignees{/user}","branches_url":"https://api.github.com/repos/iluwatar/java-design-patterns/branches{/branch}","tags_url":"https://api.github.com/repos/iluwatar/java-design-patterns/tags","blobs_url":"https://api.github.com/repos/iluwatar/java-design-patterns/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iluwatar/java-design-patterns/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iluwatar/java-design-patterns/git/refs{/sha}","trees_url":"https://api.github.com/repos/iluwatar/java-design-patterns/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iluwatar/java-design-patterns/statuses/{sha}","languages_url":"https://api.github.com/repos/iluwatar/java-design-patterns/languages","stargazers_url":"https://api.github.com/repos/iluwatar/java-design-patterns/stargazers","contributors_url":"https://api.github.com/repos/iluwatar/java-design-patterns/contributors","subscribers_url":"https://api.github.com/repos/iluwatar/java-design-patterns/subscribers","subscription_url":"https://api.github.com/repos/iluwatar/java-design-patterns/subscription","commits_url":"https://api.github.com/repos/iluwatar/java-design-patterns/commits{/sha}","git_commits_url":"https://api.github.com/repos/iluwatar/java-design-patterns/git/commits{/sha}","comments_url":"https://api.github.com/repos/iluwatar/java-design-patterns/comments{/number}","issue_comment_url":"https://api.github.com/repos/iluwatar/java-design-patterns/issues/comments{/number}","contents_url":"https://api.github.com/repos/iluwatar/java-design-patterns/contents/{+path}","compare_url":"https://api.github.com/repos/iluwatar/java-design-patterns/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iluwatar/java-design-patterns/merges","archive_url":"https://api.github.com/repos/iluwatar/java-design-patterns/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iluwatar/java-design-patterns/downloads","issues_url":"https://api.github.com/repos/iluwatar/java-design-patterns/issues{/number}","pulls_url":"https://api.github.com/repos/iluwatar/java-design-patterns/pulls{/number}","milestones_url":"https://api.github.com/repos/iluwatar/java-design-patterns/milestones{/number}","notifications_url":"https://api.github.com/repos/iluwatar/java-design-patterns/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iluwatar/java-design-patterns/labels{/name}","releases_url":"https://api.github.com/repos/iluwatar/java-design-patterns/releases{/id}","created_at":"2014-08-09T16:45:18Z","updated_at":"2015-09-03T14:34:17Z","pushed_at":"2015-09-03T15:10:58Z","git_url":"git://github.com/iluwatar/java-design-patterns.git","ssh_url":"git@github.com:iluwatar/java-design-patterns.git","clone_url":"https://github.com/iluwatar/java-design-patterns.git","svn_url":"https://github.com/iluwatar/java-design-patterns","homepage":"http://iluwatar.github.io/java-design-patterns/","size":9545,"stargazers_count":7465,"watchers_count":7465,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2275,"mirror_url":null,"open_issues_count":123,"forks":2275,"open_issues":123,"watchers":7465,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/iluwatar/java-design-patterns/pulls/225"},"html":{"href":"https://github.com/iluwatar/java-design-patterns/pull/225"},"issue":{"href":"https://api.github.com/repos/iluwatar/java-design-patterns/issues/225"},"comments":{"href":"https://api.github.com/repos/iluwatar/java-design-patterns/issues/225/comments"},"review_comments":{"href":"https://api.github.com/repos/iluwatar/java-design-patterns/pulls/225/comments"},"review_comment":{"href":"https://api.github.com/repos/iluwatar/java-design-patterns/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/iluwatar/java-design-patterns/pulls/225/commits"},"statuses":{"href":"https://api.github.com/repos/iluwatar/java-design-patterns/statuses/7cc09e359e4f3d1ba6c2cb7937d43a1ca20f70cb"}}}}