profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/iluwatar/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

iluwatar/java-design-patterns 70675

Design patterns implemented in Java

iluwatar/30-seconds-of-java 553

Collection of reusable tested Java 11 compatible code snippets that you can understand in 30 seconds or less.

iluwatar/programming-principles 218

Categorized overview of Programming Principles & Patterns

iluwatar/uml-reverse-mapper 121

Automatically generate class diagram from code. Supports Graphviz, PlantUML and Mermaid output formats.

iluwatar/java-design-patterns-web 75

Java Design Patterns website at https://java-design-patterns.com

vrk-kpa/xroad-joint-development 19

Unmaintained repository. Development moved to: https://github.com/nordic-institute/X-Road-development

nordic-institute/X-Road-development 12

This repository contains X-Road development model description, development practices and guidelines.

aws-samples/aws-best-practices-for-xroad-security-servers 8

Best Practices for Deploying X-Road Security Servers on AWS

vrk-kpa/X-Road 7

Source code of the X-Road software

iluwatar/java-design-patterns-vuepress-web 4

Next-generation website for Java Design Patterns (under construction)

Pull request review commentiluwatar/30-seconds-of-java

Hacktoberfest - Convert integer to binary string and back #106

+/*+ * MIT License+ *+ * Copyright (c) 2017-2019 Ilkka Seppälä+ *+ * 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 math;++import java.util.Stack;+import java.util.stream.Collectors;+import java.util.stream.IntStream;+import java.util.stream.Stream;++/*+ * 30 Seconds of Java code library+ *+ */+public class NaturalNumberBinaryConversionSnippet {++  /**+   * Convert natural number to binary string. Only supports positive integers.Throws exception+   * for negative integers+   *+   * @param naturalNumber given number+   * @return Binary string representation of naturalNumber+   */+  public static String toBinary(long naturalNumber) {+    if (naturalNumber < 0) {+      throw new NumberFormatException("Negative Integer, this snippet only accepts "+              + "positive integers");+    }+    if (naturalNumber == 0) {+      return "0";+    }+    final Stack<Long> binaryBits =+            Stream.iterate(naturalNumber, n -> n > 0, n -> n / 2).map(n -> n % 2)+                    .collect(Stack::new, Stack::push, Stack::addAll);+    return Stream.generate(binaryBits::pop)+            .limit(binaryBits.size()).map(String::valueOf).collect(Collectors.joining());+  }++  /**+   * Convert binary string representation to Long valued Integer. Throws exception if input+   * string contains characters other than '0' and '1'+   *+   * @param binary given number+   * @return Unsigned Long value for the binary number+   */+  public static Long fromBinary(String binary) {+    final boolean invalidBinaryString = binary.chars().anyMatch(c -> c != '0' && c != '1');+    if (invalidBinaryString) {+      throw new NumberFormatException("Binary string contains values other than '0' and '1'");+    }

Done

sendhilkumara

comment created time in 13 hours

push eventiluwatar/java-design-patterns

allcontributors[bot]

commit sha 90b1b922e1f60b25e73493f6f71fa6ad8a10fdee

docs: add ManviGoel26 as a contributor for doc (#1878) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>

view details

push time in 14 hours

PR merged iluwatar/java-design-patterns

docs: add ManviGoel26 as a contributor for doc status: under review

Add @ManviGoel26 as a contributor for doc.

This was requested by iluwatar in this comment

+11 -1

0 comment

2 changed files

allcontributors[bot]

pr closed time in 14 hours

PullRequestReviewEvent

pull request commentiluwatar/java-design-patterns

add explanation for twin pattern

Great job, thank you for the contribution! @all-contributors please add @ManviGoel26 for doc

ManviGoel26

comment created time in 14 hours

push eventiluwatar/java-design-patterns

Manvi Goel

commit sha bd71bc1311592ef9fd8910efbca046e7752a9afc

docs: add explanation for twin pattern (#1869) * add explanation for twin pattern * updated explanation of twin pattern

view details

push time in 14 hours

PR merged iluwatar/java-design-patterns

add explanation for twin pattern status: under review

Pull request title Twin Pattern Explanation

  • Makes the twin pattern explanation more simplified with real-world examples
  • For more details refer to #590

Pull request description

  • Updates the twin Pattern README.
  • Programmatic example taken from the codes already implemented.
+138 -0

1 comment

1 changed file

ManviGoel26

pr closed time in 14 hours

PullRequestReviewEvent

issue commentiluwatar/java-design-patterns

Facing build issue after importing as existing projects

@ohbus I think we should reopen the issue and let @mohanaraosv give it a shot

Smssyed8

comment created time in 14 hours

issue commentiluwatar/java-design-patterns

Pessimistic Offline Lock pattern

I'm happy to hear you're interested @SangJinHyun. The issue is now assigned to you. Looking forward to your pull request!

iluwatar

comment created time in 14 hours

push eventiluwatar/java-design-patterns

allcontributors[bot]

commit sha 464b166fa3bcae7e3b7e1fe236860a9466444b97

docs: add Mozartuss as a contributor for translation (#1877) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>

view details

push time in 14 hours

PR merged iluwatar/java-design-patterns

docs: add Mozartuss as a contributor for translation status: under review

Add @Mozartuss as a contributor for translation.

This was requested by iluwatar in this comment

+32 -20

0 comment

2 changed files

allcontributors[bot]

pr closed time in 14 hours

PullRequestReviewEvent

push eventiluwatar/java-design-patterns

Mozartus

commit sha 78abdb4e13f1455c125023d89112e1b7b45589c3

Fix typo, grammer and links (#1874)

view details

push time in 14 hours

pull request commentiluwatar/java-design-patterns

Fix typo, grammer and links

Thank you for the fixes! @all-contributors please add @Mozartuss for translation

Mozartuss

comment created time in 14 hours

PR merged iluwatar/java-design-patterns

Fix typo, grammer and links status: under review

Fix grammar typo issues in the German translation of the README Fix the link visualization in the German README

+20 -15

1 comment

1 changed file

Mozartuss

pr closed time in 14 hours

PullRequestReviewEvent

push eventnordic-institute/X-Road

Ilkka Seppälä

commit sha fa89c52e18105cf570d88ff95d75c76e3c3364ec

XRDSD-205 work on listMethods implementation

view details

Ilkka Seppälä

commit sha 9b6aa9b0e025d006e3ed8debf85f404633507225

XRDSD-205 fix test

view details

Ilkka Seppälä

commit sha d2be3aa6623e791022fb5c391fb0114819224df8

XRDSD-205 refactor

view details

Teemu Kurki

commit sha 5fe9ef756044594bdd137ad918661a9cecaeba34

XRDDEV-1375 create fake Packages file for apt during packages-to-local-repo role

view details

Ilkka Seppälä

commit sha 152aa0d1c20576fc8ad8dc26a393d9006287059f

XRDSD-205 fetch endpoints

view details

Ilkka Seppälä

commit sha aa516feb726cce93dc3fdfb302d3d060be8be8dc

XRDSD-205 fix test

view details

Ilkka Seppälä

commit sha 102dc860630f859bdb233b19cf097aae5889455f

XRDSD-205 implement allowedMethods

view details

Ilkka Seppälä

commit sha 88decf54befcdb21c9c99b2e59193bda94e3cdde

XRDSD-205 implement new method

view details

Ilkka Seppälä

commit sha c707a05c8c7804e1fa4abd67ebeaf4cb5ac239df

XRDSD-205 fix checkstyle

view details

Ilkka Seppälä

commit sha 688fabf74643cbc733622db9c972cbfc9d1fbaa9

XRDSD-205 refactoring

view details

Ilkka Seppälä

commit sha bba847961548b33a33b1fef457e38d81afd4bfc7

XRDSD-205 set root endpoint path

view details

Ilkka Seppälä

commit sha f1b2ed592889174874a2c4bcca9f4c995e668a41

XRDSD-205 refactoring

view details

Ilkka Seppälä

commit sha 955a0901260bce7af06dc44da1661334d8380d1b

XRDSD-205 fix allowedMethods

view details

Ilkka Seppälä

commit sha 16aa5a5388ef79f7ed97e3a94eb0619bef1923aa

XRDSD-205 update documentation

view details

Mikko Riippi

commit sha 87dbd44f445b041bcbd615669aaa4b1f278120cf

XRDDEV-1774 Add components

view details

Mikko Riippi

commit sha b39eb94e332a493623bf68d9be5a38cbda90826f

XRDDEV-1774 Update shared ui

view details

Mikko Riippi

commit sha c4a042514c9f40506f3f5edbf6fd378ed64f2a02

Merge branch 'develop-7.x' into XRDDEV-1774-global-group # Conflicts: # src/centralserver/admin-ui/package-lock.json

view details

Mikko Riippi

commit sha 4d90c547e263c75e577d35d2101a43e175742f4b

XRDDEV-1774 Update localisations

view details

Mikko Riippi

commit sha a47eb287dffcc0b71203a703dab33c8b23fccf45

XRDDEV-1774 Cleanup

view details

Mikko Riippi

commit sha 1f9b5b4e2dd025da7ee10cdd6e67d54d63207699

XRDDEV-1774 Fix small issues

view details

push time in 21 hours

push eventnordic-institute/X-Road

Ilkka Seppälä

commit sha 7f2363b4a155a247f84fcbce63031e96df56d7f4

XRDDEV-1792 fix to openapi definition

view details

push time in a day

PR opened nordic-institute/X-Road

XRDDEV-1792 hacktoberfest-accepted

Add backend APIs for

  • getting the high availability configuration status and node name
  • getting the instance identifier
  • getting the central server address
+193 -7

0 comment

5 changed files

pr created time in a day

push eventnordic-institute/X-Road

Ilkka Seppälä

commit sha 4e1c826053a9a8bdc60369a1853ac022ee4b5a4f

XRDDEV-1792 implement instance-identifier and central-server-address apis

view details

Ilkka Seppälä

commit sha 47db74a6ee673767e5274461c5898782e3394711

XRDDEV-1792 add tests

view details

push time in a day

PullRequestReviewEvent

pull request commentiluwatar/java-design-patterns

Add a German README

Well done, thank you! @all-contributors please add @Mozartuss for translation

Mozartuss

comment created time in 2 days

push eventiluwatar/java-design-patterns

Mozartus

commit sha ba51a498026152387f30f5e5a8655a9aa501b104

translation: Add a German README (#1872) * Add German Readme * Add german readme

view details

push time in 2 days

PR merged iluwatar/java-design-patterns

Add a German README status: under review

Add a German translation for the README

+57 -1

1 comment

2 changed files

Mozartuss

pr closed time in 2 days

PullRequestReviewEvent

issue commentiluwatar/java-design-patterns

SLOB design pattern

I trust the main responsibility to you @dctrue2. Looking forward to seeing the pull request!

LizMoreno

comment created time in 2 days

issue commentiluwatar/java-design-patterns

Serialized Entity pattern

I'm happy to hear you're interested @komminen. You're welcome to take a shot!

iluwatar

comment created time in 2 days

issue commentiluwatar/java-design-patterns

add MVI(Model-View-Intent) Pattern

Yes, @akashrpatel621. Looking forward to your pull request!

Sanaebadi97

comment created time in 2 days

issue commentiluwatar/java-design-patterns

Java 17 migration plan

Thanks, @mohanaraosv. We can proceed with the analysis (this ticket) but need to stall the migration until the tooling supports it.

iluwatar

comment created time in 2 days