YW :-)
Gary
On Mon, Jul 24, 2017 at 8:40 PM, kenneth mcfarland <
kennethpmcfarl...@gmail.com> wrote:
> That's really cool and I apologize for being ignorant. I did Google
> afterwards, it reminds me of the first time I saw a ternary. Thanks for the
> explanation.
>
> 👍
>
> On Jul 24, 2017 8:25 P
That's really cool and I apologize for being ignorant. I did Google
afterwards, it reminds me of the first time I saw a ternary. Thanks for the
explanation.
👍
On Jul 24, 2017 8:25 PM, "Gary Gregory" wrote:
> In Java 7, the Java compiler can use type inference to allow you to change
> the verbos
In Java 7, the Java compiler can use type inference to allow you to change
the verbose:
List list = new ArrayList();
into the less verbose:
List list = new ArrayList<>();
Since you are assigning to a List, the only type you can possibly
use in an ArrayList<> is a String, so you can omit it.
Ga
I have a simple question as why there is generic arrays like new
ArrayList<>(); in classes like:
log4j-core/src.../core/builder/impl/DefaultComponentBuilder();
Note, this is not a "why didn't you do it differently" question, I am
asking so I can learn from you. Thx.
Kenneth