• 23 October

    Ako vybrať peniaze z bet365 – praktický návod pre slovenských hráčov

    Správne vykonanie prvého výberu je skutočným testom každej iGaming platformy – táto príručka vám ukáže, ako ním prejsť. Bet365 patrí medzi najznámejšie značky v odvetví a jej slovenská verzia ponúka širokú škálu hier a stávok. Aby ste si výhru užili bez zbytočných komplikácií, pripravili sme pre vás prehľadný návod. Getting Ready Overte si vek – […]

  • Java 8 Stream.of example
    17 October

    Java 8 Stream of example

    In this post, we will see about Java 8 Stream‘s of method example. stream‘s of method is static method and used to create stream of given type. For example: [crayon-6a29b4b4d4298948968687/] There are two overloaded version of Stream’s of method. 1) static <T> Stream<T> of(T… values) Returns a sequential ordered stream whose elements are the specified values. […]

  • Java Stream collect to array
    17 October

    Java Stream collect to array

    In this post, we will see how to collect any Java 8 Stream to array. There are many ways to do it but I am going to show easiest way. You can simply use toArray(IntFunction<A[]> generator).This generator function takes size as input and creates new array of that size. Convert Steam to Array Let’s understand […]

  • Difference between map and flatmap in java
    16 October

    Difference between map and flatMap in java

    In this post, we will see the difference between map and flatMap in java.I have already covered Stream’s map and flatMap methods  in previous articles. As you might know, Stream’s map and flatMap method both can be applied on Stream<T> and return Stream<R> as output. The actual difference is, map operation produces one output value […]

  • Java 8 Stream flatmap
    15 October

    Java 8 Stream flatMap

    In this post, we will see about Java 8 Stream flatMap function.Before understanding flatMap, you should go through stream’s map function Stream‘s flatMap method takes single element from input stream and produces any number of output values and flattens result to output stream.When you apply flatMap function on each of element of the stream, it results in […]

  • Java 8 Stream map
    15 October

    Java 8 Stream Map

    In this post, we will see about Java 8 Stream map function. stream‘s map method takes single element from input stream and produces single element to output stream. Type of Single input Stream and Output stream can differ. Java 8 Stream Map function [crayon-6a29b4b4d7d2f531648495/] Map function returns a stream consisting of the results of applying […]

  • 12 October

    Java BigDecimal

    In this post, we will see about Java BigDecimal class. BigDecimal class contains Arithmetic operations, rounding, comparison, scaling. It provides high precision arithmetic operations, so generally used to handle numbers in banking and financial domain. Java BigDecimal provides a lot of options to control rounding. You can choose various rounding modes such as round half […]

  • 05 October

    Java BigDecimal to String

    In this post, we will see how to convert BigDecimal to String in java. There are many ways to convert BigDecimal to String in java. Some of them are: Using toString() Using String.valueOf() toString method You can simply use BigDecimal’s toString method to convert BigDecimal to String. [crayon-6a29b4b4d87df291489253/] When you run above program, you will […]

  • 05 October

    Java String to BigDecimal

    In this post, we will see how to convert String to BigDecimal in java. It is very simple to convert String to BigDecimal in java. You can simply use BigDecimal ‘s String based constructor to do it. [crayon-6a29b4b4da2c1006452347/] Above constructor convert String representation of BigDecimal to BigDecimal Let’s see this with the help of example: [crayon-6a29b4b4da2cb790017083/] […]