Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Blog Directory  >  Software Blogs  >  java tutorial : Blog to learn java programming software Blog  > 

2023-06-02 14:57
Using 'page.getByLabel()' method, we can interact with an element using label text.   For example, we can use this method to fill the text field data, to locate a radio button by asso… Read More
Formatted Strings In Python
2023-05-30 09:00
Formatted strings in Python provide a way to evaluate the expressions in a String. Formatted strings are defined with prefix 'f', followed by a string that contain some placeholders to repla… Read More
Boolean Variables In Python
2023-05-29 11:33
Boolean variable can hold either True or False, and the type ‘bool’ represents a Boolean type.   Exampleis_raining = True is_raining = False Please note… Read More
Convert A String To Float In Python
2023-05-29 10:57
Using float() function, you can convert a string to a float in Python.   Examplefloat_var = float(input_str) input_str = input('Enter a st… Read More
Micronaut: Method Adapter Advice Example
2023-05-26 11:12
A method Adapter advice applicable to a method that will create an entirely new bean definition that delegates to the annotated method.   For example the following snippet runs the lo… Read More
Implement Multiset In Java
2023-05-24 11:03
Multiset is similar to a Set, but it allows duplicate elements. Repetition of the elements in Multiset is explicitly counted.   For example,   a.   The set {1, 2} con… Read More
2023-05-23 05:18
Aspects are used to implement the cross cutting concerns like logging, transaction management etc.,   Application code is separated from cross cutting concerns in the form of aspects… Read More
PlantUML: Working With Class Diagrams
2023-05-20 14:53
Class diagrams are the core building blocks in object-oriented modelling and represent the static view of a system.   Following snippet describes different elements provided by PlantU… Read More
Jackson: @JsonCreator Annotation Example
2023-05-19 14:54
@JsonCreator annotation can be applied on constructor and factory methods and used  for instantiating new instances of the associated class.   Every argument of @JsonCreator anno… Read More
Get A Map From Enum In Java
2023-05-18 14:09
In this post, I am going to explain how to get a Map from an enum.private static enum Month { JANUARY(1), FEBRUARY(2), MARCH(3), APRIL(4), MAY(5), JUNE(6)… Read More
Micronaut: Custom Type Converters
2023-05-13 12:57
In this post, let’s see how can we define custom type converters in Micronaut.   Let’s define a custom type converter, that read the employee details in csv format and map… Read More
Get The Enumeration From A Collection
2023-05-09 12:35
Using Collections.enumeration method, we can get an enumeration over the specified collection.   Signaturepublic static Enumerationenumeration(final Collection c) Ex… Read More
LinkedHashTable Implementation In Java
2023-05-09 12:22
HashTable HashTable is a data structure that maps keys to values. Any non-null object can be used as a key or as a value.   HashTable vs HashMap HashMap is almost equivalent to Hash… Read More
Micronaut: Readable Bytes Conversion
2023-05-09 04:33
@ReadableBytes annotation can be used to process the strings in the form of kb, gb, mb etc.,   Following table summarizes how the readable bytes conversion is happening.   C… Read More
Get The Stream From Enumeration In Java
2023-05-03 14:16
In this post, I am going to explain how to get the Stream from an Enumeration in Java.   Step 1: Get an instance of Spliterator from Enumeration. Spliterator spliterator = new Splite… Read More
Get The Stream From An Iterator In Java
2023-05-03 13:50
Using StreamSupport# stream method, we can get a new sequential or parallel Stream.   Step 1: Get the spliterator from iterator.   'Spliterators.spliterator' method return a s… Read More
Remove A Prefix From Given String In Java
2023-05-03 10:05
Write a method such that it takes a string and prefix as arguments and remove the prefix from given string.   Signaturepublic static String removePrefix(final String inputStr, final S… Read More
Remove A Suffix From Given String In Java
2023-05-03 09:18
Write a method such that it takes a string and suffix as argument and remove the suffix from given string.   Signaturepublic static String removeSuffix(final String inputStr, final St… Read More
2023-05-03 04:37
Micronaut has very good built-in type conversion features. At the time of writing this post, built-in conversion is supported for following types/data. a.    Duration b.&nbs&hell…Read More

Share the post

java tutorial : Blog to learn java programming


Subscribe to Java Tutorial : Blog To Learn Java Programming

Get updates delivered right to your inbox!

Thank you for your subscription