#weeklyjavatips 검색 결과

Simdi gordum de, benim #Java cozumunu vereyim. Aranmak istenen rakam, interval i da parametric aliyor. Daha derli halini de github repoma IntStream interface olarak ekledim. #WeeklyJavaTips olarak yayinlayacagim IntStream interface olarak.

evrn_tan's tweet image. Simdi gordum de, benim #Java cozumunu vereyim. Aranmak istenen rakam, interval i da parametric aliyor. Daha derli halini de github repoma IntStream interface olarak ekledim. 

#WeeklyJavaTips olarak yayinlayacagim IntStream interface olarak.

parallelStream().forEach() vs forEach() The execution order cannot be predicted for the first one but the execution order is same with the insertion order for the second one. These should be selected from this perspective while using. #WeeklyJavaTips #Java #SoftwareDevelopment

evrn_tan's tweet image. parallelStream().forEach() vs forEach()

The execution order cannot be predicted for the first one but the execution order is same with the insertion order for the second one.
These should be selected from this perspective while using.

#WeeklyJavaTips #Java  #SoftwareDevelopment

Vector Class in #Java; The Vector class implements a growable array of objects which means that it can dynamically grows & shrinks. As Vector class implements the List interface, all methods of List interface can be used. Example code; github.com/evrentan/java-… #WeeklyJavaTips

evrn_tan's tweet image. Vector Class in #Java;

The Vector class implements a growable array of objects  which means that it can dynamically grows & shrinks. 
As Vector class implements the List interface, all methods of List interface can be used.

Example code;
github.com/evrentan/java-…

#WeeklyJavaTips

Streaming vs Looping in #Java ☕️; * Performance -> Loop is better in memory & speed. But, for huge lists, parallelStream may be better (be careful while using it‼️) * Readability --> Streams are more readable then loops and more fancy 🎉 github.com/evrentan/java-… #WeeklyJavaTips

evrn_tan's tweet image. Streaming vs Looping in #Java ☕️;

* Performance -> Loop is better in memory & speed. But, for huge lists, parallelStream may be better (be careful while using it‼️)
* Readability --> Streams are more readable then loops and more fancy 🎉

github.com/evrentan/java-…

#WeeklyJavaTips

#APIGateway is the single entry point to access services in an #MicroservicesArchitecture. It is used to encapsulate the internal services and responses with the tailored structure to the consumer services. bit.ly/evrenTanMicros… #WeeklyJavaTips #SpringBoot #Java

evrn_tan's tweet image. #APIGateway is the single entry point to access services in an #MicroservicesArchitecture.  It is used to encapsulate the internal services and responses with the tailored structure to the consumer services.

bit.ly/evrenTanMicros…

#WeeklyJavaTips #SpringBoot #Java

Clone Objects in #Java; Object class provides clone() method to create a copy of an object. - Swallow Copy ➡️ Changes are reflected, object are not 100% disjoint - Deep Copy ➡️ Changes are not reflected, object are 100% disjoint github.com/evrentan/java-… #WeeklyJavaTips

evrn_tan's tweet image. Clone Objects in #Java;

Object class provides clone() method to create a copy of an object.

- Swallow Copy ➡️ Changes are reflected, object are not 100% disjoint
- Deep Copy ➡️ Changes are not reflected, object are 100% disjoint

github.com/evrentan/java-…

#WeeklyJavaTips

If you upgrade to #SpringBoot version 3.0.x from 2.6.x or 2.7.x and if you are using Spring Cloud, do not forget to update your Spring Cloud version. Details can be found; spring.io/projects/sprin… #WeeklyJavaTips Example error for not having this update is in the photo.

evrn_tan's tweet image. If you upgrade to #SpringBoot version 3.0.x from 2.6.x or 2.7.x and if you are using Spring Cloud, do not forget to update your Spring Cloud version. 

Details can be found;

spring.io/projects/sprin…

#WeeklyJavaTips

Example error for not having this update is in the photo.

BigDecimal Class in #Java; BigDecimal class provides operation for arithmetic, comparison, hashing, rounding, manipulation & format conversion. It is useful to use it in domains dealing with precise operations like fintech, e-commerce. github.com/evrentan/java-… #WeeklyJavaTips

evrn_tan's tweet image. BigDecimal Class in #Java;

BigDecimal class provides operation for arithmetic, comparison, hashing, rounding, manipulation & format conversion. It is useful to use it in domains dealing with precise operations like fintech, e-commerce.

github.com/evrentan/java-…

#WeeklyJavaTips

Implementing this week #WeeklyJavaTips by just looking down over the Camel Beach with my cup of #Java & with my #Java example code base open‼️ This photo is especially for you @Sharat_Chander, my friend ☕️💻☀️🏖💯👍🏻

evrn_tan's tweet image. Implementing this week #WeeklyJavaTips by just looking down over the Camel Beach with my cup of #Java & with my #Java example code base open‼️

This photo is especially for you @Sharat_Chander, my friend ☕️💻☀️🏖💯👍🏻

List vs Set in #Java; List is an indexed seq that allows duplicate values and can store multiple null values. Set is a non-indexed seq that does not allow duplicate values and can store only one null value. How to convert List to Set; github.com/evrentan/java-… #WeeklyJavaTips


Pattern Matching for Switch in #Java; Pattern matching is to recognize a specific type. It can be done with instanceof operator but can be done switch with #Java17. For me, using switch is makes code more readable. Check my sample code; bit.ly/patternMatchin… #WeeklyJavaTips

evrn_tan's tweet image. Pattern Matching for Switch in #Java;

Pattern matching is to recognize a specific type. It can be done with instanceof operator but can be done switch with #Java17.

For me, using switch is makes code more readable.

Check my sample code;
bit.ly/patternMatchin…

#WeeklyJavaTips

Function Interface in #Java; Implements functional programming in #Java, takes one input and produce result. * apply() -> apply the func to the given arg * andThen() -> input func will be executed after * compose() -> reverse of andThen() github.com/evrentan/java-… #WeeklyJavaTips


☕️ #WeeklyJavaTips Inheritance is a mechanism that allows a class to inherit properties and behaviors from another class. It provides code reuse and relationships between super class & subclasses. You can find a simple example in the below post how inheritance works in #Java👇🏻

class TShirt { private String color; public TShirt(String color) {…} … } class Polo extends TShirt { private boolean hasCollar; public Polo(String color, boolean hasCollar) { super(color); this.hasCollar = hasCollar; } … }



Amir, you are doing a great job with @JavaCodeDaily 👏🏻💯☕️ I am also trying share #Java tips within #WeeklyJavaTips ☕️


IntStream Interface in #Java; IntStream is a primitive int specialization of Stream Interface. IntStream interface is a stream of primitive int elements providing sequential and parallel aggregate functions. github.com/evrentan/java-… #WeeklyJavaTips #IntStreamInterface


#SpringCloudConfigServer is used to take configuration files out of the application and centralize them as these configurations can vary during time and they can differ according to environment. bit.ly/evrenTanMicros… bit.ly/springCloudCon… #WeeklyJavaTips #Java #SpringBoot


☕️ #WeeklyJavaTips Inheritance is a mechanism that allows a class to inherit properties and behaviors from another class. It provides code reuse and relationships between super class & subclasses. You can find a simple example in the below post how inheritance works in #Java👇🏻

class TShirt { private String color; public TShirt(String color) {…} … } class Polo extends TShirt { private boolean hasCollar; public Polo(String color, boolean hasCollar) { super(color); this.hasCollar = hasCollar; } … }



Clone Objects in #Java; Object class provides clone() method to create a copy of an object. - Swallow Copy ➡️ Changes are reflected, object are not 100% disjoint - Deep Copy ➡️ Changes are not reflected, object are 100% disjoint github.com/evrentan/java-… #WeeklyJavaTips

evrn_tan's tweet image. Clone Objects in #Java;

Object class provides clone() method to create a copy of an object.

- Swallow Copy ➡️ Changes are reflected, object are not 100% disjoint
- Deep Copy ➡️ Changes are not reflected, object are 100% disjoint

github.com/evrentan/java-…

#WeeklyJavaTips

If you upgrade to #SpringBoot version 3.0.x from 2.6.x or 2.7.x and if you are using Spring Cloud, do not forget to update your Spring Cloud version. Details can be found; spring.io/projects/sprin… #WeeklyJavaTips Example error for not having this update is in the photo.

evrn_tan's tweet image. If you upgrade to #SpringBoot version 3.0.x from 2.6.x or 2.7.x and if you are using Spring Cloud, do not forget to update your Spring Cloud version. 

Details can be found;

spring.io/projects/sprin…

#WeeklyJavaTips

Example error for not having this update is in the photo.

Vector Class in #Java; The Vector class implements a growable array of objects which means that it can dynamically grows & shrinks. As Vector class implements the List interface, all methods of List interface can be used. Example code; github.com/evrentan/java-… #WeeklyJavaTips

evrn_tan's tweet image. Vector Class in #Java;

The Vector class implements a growable array of objects  which means that it can dynamically grows & shrinks. 
As Vector class implements the List interface, all methods of List interface can be used.

Example code;
github.com/evrentan/java-…

#WeeklyJavaTips

IntStream Interface in #Java; IntStream is a primitive int specialization of Stream Interface. IntStream interface is a stream of primitive int elements providing sequential and parallel aggregate functions. github.com/evrentan/java-… #WeeklyJavaTips #IntStreamInterface


Simdi gordum de, benim #Java cozumunu vereyim. Aranmak istenen rakam, interval i da parametric aliyor. Daha derli halini de github repoma IntStream interface olarak ekledim. #WeeklyJavaTips olarak yayinlayacagim IntStream interface olarak.

evrn_tan's tweet image. Simdi gordum de, benim #Java cozumunu vereyim. Aranmak istenen rakam, interval i da parametric aliyor. Daha derli halini de github repoma IntStream interface olarak ekledim. 

#WeeklyJavaTips olarak yayinlayacagim IntStream interface olarak.

Streaming vs Looping in #Java ☕️; * Performance -> Loop is better in memory & speed. But, for huge lists, parallelStream may be better (be careful while using it‼️) * Readability --> Streams are more readable then loops and more fancy 🎉 github.com/evrentan/java-… #WeeklyJavaTips

evrn_tan's tweet image. Streaming vs Looping in #Java ☕️;

* Performance -> Loop is better in memory & speed. But, for huge lists, parallelStream may be better (be careful while using it‼️)
* Readability --> Streams are more readable then loops and more fancy 🎉

github.com/evrentan/java-…

#WeeklyJavaTips

BigDecimal Class in #Java; BigDecimal class provides operation for arithmetic, comparison, hashing, rounding, manipulation & format conversion. It is useful to use it in domains dealing with precise operations like fintech, e-commerce. github.com/evrentan/java-… #WeeklyJavaTips

evrn_tan's tweet image. BigDecimal Class in #Java;

BigDecimal class provides operation for arithmetic, comparison, hashing, rounding, manipulation & format conversion. It is useful to use it in domains dealing with precise operations like fintech, e-commerce.

github.com/evrentan/java-…

#WeeklyJavaTips

Implementing this week #WeeklyJavaTips by just looking down over the Camel Beach with my cup of #Java & with my #Java example code base open‼️ This photo is especially for you @Sharat_Chander, my friend ☕️💻☀️🏖💯👍🏻

evrn_tan's tweet image. Implementing this week #WeeklyJavaTips by just looking down over the Camel Beach with my cup of #Java & with my #Java example code base open‼️

This photo is especially for you @Sharat_Chander, my friend ☕️💻☀️🏖💯👍🏻

Pattern Matching for Switch in #Java; Pattern matching is to recognize a specific type. It can be done with instanceof operator but can be done switch with #Java17. For me, using switch is makes code more readable. Check my sample code; bit.ly/patternMatchin… #WeeklyJavaTips

evrn_tan's tweet image. Pattern Matching for Switch in #Java;

Pattern matching is to recognize a specific type. It can be done with instanceof operator but can be done switch with #Java17.

For me, using switch is makes code more readable.

Check my sample code;
bit.ly/patternMatchin…

#WeeklyJavaTips

Function Interface in #Java; Implements functional programming in #Java, takes one input and produce result. * apply() -> apply the func to the given arg * andThen() -> input func will be executed after * compose() -> reverse of andThen() github.com/evrentan/java-… #WeeklyJavaTips


List vs Set in #Java; List is an indexed seq that allows duplicate values and can store multiple null values. Set is a non-indexed seq that does not allow duplicate values and can store only one null value. How to convert List to Set; github.com/evrentan/java-… #WeeklyJavaTips


Amir, you are doing a great job with @JavaCodeDaily 👏🏻💯☕️ I am also trying share #Java tips within #WeeklyJavaTips ☕️


parallelStream().forEach() vs forEach() The execution order cannot be predicted for the first one but the execution order is same with the insertion order for the second one. These should be selected from this perspective while using. #WeeklyJavaTips #Java #SoftwareDevelopment

evrn_tan's tweet image. parallelStream().forEach() vs forEach()

The execution order cannot be predicted for the first one but the execution order is same with the insertion order for the second one.
These should be selected from this perspective while using.

#WeeklyJavaTips #Java  #SoftwareDevelopment

#APIGateway is the single entry point to access services in an #MicroservicesArchitecture. It is used to encapsulate the internal services and responses with the tailored structure to the consumer services. bit.ly/evrenTanMicros… #WeeklyJavaTips #SpringBoot #Java

evrn_tan's tweet image. #APIGateway is the single entry point to access services in an #MicroservicesArchitecture.  It is used to encapsulate the internal services and responses with the tailored structure to the consumer services.

bit.ly/evrenTanMicros…

#WeeklyJavaTips #SpringBoot #Java

#SpringCloudConfigServer is used to take configuration files out of the application and centralize them as these configurations can vary during time and they can differ according to environment. bit.ly/evrenTanMicros… bit.ly/springCloudCon… #WeeklyJavaTips #Java #SpringBoot


Writing a clean code is not enough in order to build a clean code base, also a clean documentation is required to achieve a clean code base. #Javadoc is used to generate docs in HTML format for #Java code base. bit.ly/javadocByEvren… #WeeklyJavaTips #SoftwareDevelopment

evrn_tan's tweet image. Writing a clean code is not enough in order to build a clean code base, also a clean documentation is required to achieve a clean code base.

#Javadoc is used to generate docs in HTML format for #Java code base.

bit.ly/javadocByEvren…

#WeeklyJavaTips #SoftwareDevelopment

The removeIf() method removes the elements of the collection that satisfies the given predicate filter. The removeAll() method only removes the elements of the specified collection that are contained in the provided collection. git.io/removeIfRemove… #WeeklyJavaTips #Java

evrn_tan's tweet image. The removeIf() method removes the elements of the collection that satisfies the given predicate filter.

The removeAll() method only removes the elements of the specified collection that are contained in the provided collection.

git.io/removeIfRemove…

#WeeklyJavaTips #Java

"#weeklyjavatips"에 대한 결과가 없습니다

Simdi gordum de, benim #Java cozumunu vereyim. Aranmak istenen rakam, interval i da parametric aliyor. Daha derli halini de github repoma IntStream interface olarak ekledim. #WeeklyJavaTips olarak yayinlayacagim IntStream interface olarak.

evrn_tan's tweet image. Simdi gordum de, benim #Java cozumunu vereyim. Aranmak istenen rakam, interval i da parametric aliyor. Daha derli halini de github repoma IntStream interface olarak ekledim. 

#WeeklyJavaTips olarak yayinlayacagim IntStream interface olarak.

The removeIf() method removes the elements of the collection that satisfies the given predicate filter. The removeAll() method only removes the elements of the specified collection that are contained in the provided collection. git.io/removeIfRemove… #WeeklyJavaTips #Java

evrn_tan's tweet image. The removeIf() method removes the elements of the collection that satisfies the given predicate filter.

The removeAll() method only removes the elements of the specified collection that are contained in the provided collection.

git.io/removeIfRemove…

#WeeklyJavaTips #Java

parallelStream().forEach() vs forEach() The execution order cannot be predicted for the first one but the execution order is same with the insertion order for the second one. These should be selected from this perspective while using. #WeeklyJavaTips #Java #SoftwareDevelopment

evrn_tan's tweet image. parallelStream().forEach() vs forEach()

The execution order cannot be predicted for the first one but the execution order is same with the insertion order for the second one.
These should be selected from this perspective while using.

#WeeklyJavaTips #Java  #SoftwareDevelopment

Clone Objects in #Java; Object class provides clone() method to create a copy of an object. - Swallow Copy ➡️ Changes are reflected, object are not 100% disjoint - Deep Copy ➡️ Changes are not reflected, object are 100% disjoint github.com/evrentan/java-… #WeeklyJavaTips

evrn_tan's tweet image. Clone Objects in #Java;

Object class provides clone() method to create a copy of an object.

- Swallow Copy ➡️ Changes are reflected, object are not 100% disjoint
- Deep Copy ➡️ Changes are not reflected, object are 100% disjoint

github.com/evrentan/java-…

#WeeklyJavaTips

#Java String replaceAll(); replaceAll() is used to replace all matching regex pattern with the specified replacement string. I have also shown how to use replaceAll() with Pattern & Matcher classes within the repo. git.io/replaceall #WeeklyJavaTips #SoftwareDevelopment

evrn_tan's tweet image. #Java String replaceAll();

replaceAll() is used to replace all matching regex pattern with the specified replacement string.

I have also shown how to use replaceAll() with Pattern & Matcher classes within the repo.

git.io/replaceall

#WeeklyJavaTips #SoftwareDevelopment

#APIGateway is the single entry point to access services in an #MicroservicesArchitecture. It is used to encapsulate the internal services and responses with the tailored structure to the consumer services. bit.ly/evrenTanMicros… #WeeklyJavaTips #SpringBoot #Java

evrn_tan's tweet image. #APIGateway is the single entry point to access services in an #MicroservicesArchitecture.  It is used to encapsulate the internal services and responses with the tailored structure to the consumer services.

bit.ly/evrenTanMicros…

#WeeklyJavaTips #SpringBoot #Java

Builder Design Pattern is a creational design pattern used for creating complex objects by isolating construction process. It also improves the modularity. You can check a simple example from my #GitHub repo. git.io/evren #WeeklyJavaTips #Java #BuilderDesignPattern

evrn_tan's tweet image. Builder Design Pattern is a creational design pattern used for creating complex objects by isolating construction process. It also improves the modularity.

You can check a simple example from my #GitHub repo.

git.io/evren

#WeeklyJavaTips #Java #BuilderDesignPattern

Vector Class in #Java; The Vector class implements a growable array of objects which means that it can dynamically grows & shrinks. As Vector class implements the List interface, all methods of List interface can be used. Example code; github.com/evrentan/java-… #WeeklyJavaTips

evrn_tan's tweet image. Vector Class in #Java;

The Vector class implements a growable array of objects  which means that it can dynamically grows & shrinks. 
As Vector class implements the List interface, all methods of List interface can be used.

Example code;
github.com/evrentan/java-…

#WeeklyJavaTips

Streaming vs Looping in #Java ☕️; * Performance -> Loop is better in memory & speed. But, for huge lists, parallelStream may be better (be careful while using it‼️) * Readability --> Streams are more readable then loops and more fancy 🎉 github.com/evrentan/java-… #WeeklyJavaTips

evrn_tan's tweet image. Streaming vs Looping in #Java ☕️;

* Performance -> Loop is better in memory & speed. But, for huge lists, parallelStream may be better (be careful while using it‼️)
* Readability --> Streams are more readable then loops and more fancy 🎉

github.com/evrentan/java-…

#WeeklyJavaTips

If you upgrade to #SpringBoot version 3.0.x from 2.6.x or 2.7.x and if you are using Spring Cloud, do not forget to update your Spring Cloud version. Details can be found; spring.io/projects/sprin… #WeeklyJavaTips Example error for not having this update is in the photo.

evrn_tan's tweet image. If you upgrade to #SpringBoot version 3.0.x from 2.6.x or 2.7.x and if you are using Spring Cloud, do not forget to update your Spring Cloud version. 

Details can be found;

spring.io/projects/sprin…

#WeeklyJavaTips

Example error for not having this update is in the photo.

Implementing this week #WeeklyJavaTips by just looking down over the Camel Beach with my cup of #Java & with my #Java example code base open‼️ This photo is especially for you @Sharat_Chander, my friend ☕️💻☀️🏖💯👍🏻

evrn_tan's tweet image. Implementing this week #WeeklyJavaTips by just looking down over the Camel Beach with my cup of #Java & with my #Java example code base open‼️

This photo is especially for you @Sharat_Chander, my friend ☕️💻☀️🏖💯👍🏻

BigDecimal Class in #Java; BigDecimal class provides operation for arithmetic, comparison, hashing, rounding, manipulation & format conversion. It is useful to use it in domains dealing with precise operations like fintech, e-commerce. github.com/evrentan/java-… #WeeklyJavaTips

evrn_tan's tweet image. BigDecimal Class in #Java;

BigDecimal class provides operation for arithmetic, comparison, hashing, rounding, manipulation & format conversion. It is useful to use it in domains dealing with precise operations like fintech, e-commerce.

github.com/evrentan/java-…

#WeeklyJavaTips

Pattern Matching for Switch in #Java; Pattern matching is to recognize a specific type. It can be done with instanceof operator but can be done switch with #Java17. For me, using switch is makes code more readable. Check my sample code; bit.ly/patternMatchin… #WeeklyJavaTips

evrn_tan's tweet image. Pattern Matching for Switch in #Java;

Pattern matching is to recognize a specific type. It can be done with instanceof operator but can be done switch with #Java17.

For me, using switch is makes code more readable.

Check my sample code;
bit.ly/patternMatchin…

#WeeklyJavaTips

Writing a clean code is not enough in order to build a clean code base, also a clean documentation is required to achieve a clean code base. #Javadoc is used to generate docs in HTML format for #Java code base. bit.ly/javadocByEvren… #WeeklyJavaTips #SoftwareDevelopment

evrn_tan's tweet image. Writing a clean code is not enough in order to build a clean code base, also a clean documentation is required to achieve a clean code base.

#Javadoc is used to generate docs in HTML format for #Java code base.

bit.ly/javadocByEvren…

#WeeklyJavaTips #SoftwareDevelopment

Loading...

Something went wrong.


Something went wrong.


United States Trends