Open in app

Sign In

Write

Sign In

Yigit Kader
Yigit Kader

23 Followers

Home

About

Mar 7, 2022

Java Function Interface

“ The Function interface generically takes a parameter of type T, executes the given job, and then returns a value of type R. “ apply() (Abstract Method for Functional Interface) -> Applies this function to the given argument. compose() (Default Method)-> Returns a composed function that first applies the before…

Java

1 min read

Java

1 min read


Mar 7, 2022

Java Supplier Interface

“ This interface does the opposite of the Consumer interface. So it doesn’t take anything as input but returns a value. “ Supplier has only one method which name is “ T get() ” @FunctionalInterface public interface Supplier<T> { T get(); } And here is some examples about using ///# Example 1 Supplier<String> sayHello = () -> "Hello"; System.out.println(sayHello.get()); //Output : Hello /* * Create a random number generator with using Supplier */ Supplier<Integer> getRandomNumberBetween1And100 = () -> new SecureRandom().nextInt(100); System.out.println(getRandomNumberBetween1And100.get());

Java

1 min read

Java

1 min read


Mar 7, 2022

Java Predicate Interface

“The Predicate Interface takes a T-type input and checks whether the condition presented to it is met, and returns a “true or false” value. It is used for operations such as filtering and grouping.” Let’s take a look closely Predicate Class and I added descriptions above the methods. /* * T…

Java

2 min read

Java

2 min read


Mar 7, 2022

Java Consumer Interface

Consumer interface is a functional interface. in this way, functional interfaces can be used as Lambda. Defined under java.util.function.* Consumer interfaces have methods which names are “accept()” and “andThen()” accept() -> It takes parameter, doing some stuff and doesn’t return anything. andThen() -> It chains the consumer together so that…

Java

2 min read

Java

2 min read


Feb 9, 2022

SOLID PRINCIPLES

Solid Principles are all basic approaches in software development processes and a set of 5 basic principles in general. SOLİD PRINCIPLES 1. Single Responsibility Principle 2. Open/Closed Principle 3. Liskov ‘s Substitution Principle 4. Interface Segregation Principle 5. Dependency Inversion Principle Single Responsibility Principle Each class or method should have…

Solid

2 min read

SOLID PRINCIPLES
SOLID PRINCIPLES
Solid

2 min read


Nov 17, 2021

Create A Crypto Miner Docker Image

Hello all, I would like share how we can mining a coin(simply) and how we can dockerize this. End of this document i will share docker image built my me. If you dont know what is mining and docker, Please check this websites. Cryptocurrency - Wikipedia A cryptocurrency, crypto-currency, or crypto is a collection of binary data which is designed to work as a medium of…en.wikipedia.org How Does Bitcoin Mining Work? Bitcoin mining is the process by which new bitcoins are entered into circulation; it is also the way that new…www.investopedia.com

Mining

3 min read

Create A Crypto Miner Docker Image
Create A Crypto Miner Docker Image
Mining

3 min read


Jul 8, 2021

Spring Cloud Nedir?

Selamlar herkese, Spring Cloud, JVM tabanlı uygulamayı bulutlarda hızlı bir şekilde dağıtmak için araçlar sağlayan açık kaynaklı bir kitaplık olarak tanımlanmakta. Dağıtılmış konfigürasyon, Devre kesiciler, Global kilitler, Servis kayıtları, Yük dengeleme, Küme durumu, Yönlendirme vb. …

Spring Boot

4 min read

Spring Boot

4 min read

Yigit Kader

Yigit Kader

23 Followers

Software Engineer , Berlin , @devyigitk twitter

Following
  • JIN

    JIN

  • Cahit Barkin Ozer

    Cahit Barkin Ozer

  • Airman

    Airman

  • Mr Henriquez

    Mr Henriquez

  • Sunny Sun

    Sunny Sun

See all (53)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams