Example: @Test public void myMethod(){ Runnable run = () -> {System.out.println(“Execute Runnable”);}; new Thread(run).start(); } Console :
Author: camilamacedo86
[Java 8] – New method Sort in List
Now you can use this method sort when you have a List Object and want sort this. If you only … More
[Java 8] – ForEach for interations
Below you can see an exemple how it works. @Test public void myTestWithForEachOnly(){ // Create the list and itens List<String> … More
[Meteor JS] – You can use classes or ids
You can use classes or ids to take values or apply some functions. Look: To take value from IDs: ( … More
[ Meteor JS ] – How to call a function when I click in a button ?
Always when you want call a function by any event in the screen you need create the function in events area. … More
[Meteor Js] – How to call functions in the page ?
For do this you can use: Template.expensesItem.helpers({ }) Example : Code JS File: Template.myTemplate.helpers({ ‘isToShow’:function(userId) { if ( userId == … More
[ Meteor JS ] – Where we can find pkgs to use ?
https://atmospherejs.com/ The oficial repository to find pkgs to add in your meteor project is Athmospherejs. In this website you can … More
[ Meteor JS] – How to use a money mask
Have a lot of ways to do this, but here I will put an example with the pkg : meteor … More
[English] – Free AudioBooks to improve your English
http://www.englishlearningexpert.com In this website you can find five free audiobooks to improve your English. Level : Intermediate
[ Primefaces ] – Primefaces Showcase the first step
http://www.primefaces.org/showcase If you are working with Primefaces and you don’t know this website you are losing time. This is the … More