Functional Programming with java 8 Function

java.util.function Inerfaces java.util.function is a package which contain multiple functional Interfaces. It is an Functional Interface used to assignment for lambda expression or method. For more information on Lambda e.g import java.util.function.Function;public class UTest { public static void main(String[] args) { Function<Integer, Integer> add5 = x -> x+5; // simplified lambda Function<Integer, Integer> add2 […]

Queueable Apex

Queueable Jobs Queueable Jobs are asynchronous Apex processes queued for executionbut they provide jobId when you submit to monitor job. You can use AsyncApexJob table for more information about the job.You can use non-primitive can chain job Queueable Interface This interface enables you to add jobs in to the queue.Due to Asynchronous in nature […]

Batch apex in Salesforce

Batchable Interface Database.Batchable is an interface in salesforce which has following methods global (Database.QueryLocator | Iterable<sObject>) start(Database.BatchableContext bc); global void execute(List<Database.BatchableContext bc, sObject>); global void finish(Database.BatchableContext bc); global class BatchExample implements Database.Batchable<sObject> { public BatchExample() { } global Database.QueryLocator start(Database.BatchableContext bc){ return Database.getQueryLocator(‘select id, name, Ownerid from Account’); } global void execute(Database.BatchableContext bc, List<Account> acc){ […]


Function behave like a servant for programmer. A servant have a name, A servant do something (What his master told him) Servant may require tools(e.g Vacuum Cleaner to clean room) Servant give result int ted(int a, int b){ // do something interesting than this int c = a+b; return c; } Here the whole code […]

Lambda Expression

Lambda expression is included in java SE 8. The Lambda expression is used to provide the implementation of an interface which has functional interface. Functional interface An Interface containing only one function are known as functional interface. You can annotate that interface with @FunctionalInterface to restrict that interface from adding more than one method. public […]

Data Type

Variable In java variable store specific type data in memory; e.g int age = 23; here age is a variable of type int which has a value 23. The variable is stored in RAM. How much memory is required and the format of data can be found by Data Type in this case int which […]

Debian 9.9 Released

The Debian 9.9 released with lots of bug fixes and many critical fixes. There is no new functionality added but multiple security issues are resolved. The Debian project is pleased to announce the ninth update of its stable distribution Debian 9 (codename stretch). This point release mainly adds corrections for security issues, along with a […]

What’s new In Ubuntu 19.04

Ubuntu Desktop The Newest version of ubuntu desktop is 19.04 also codenamed Disco Dingo. It will be supported for 9 months. So Ubuntu 19.04’s EOL should be somewhere around January 2020. Ubuntu 19.04 ships with the latest GNOME desktop 3.32. This brings performance improvements, a bunch of bug fixes and some important new features. Desktop […]

What’s New in Libre office 6.2

Following are the changes in LibreOffice 6.2 Notebookbar The new Tabbed UI is ready for release! Writer, Calc, Impress and Draw have complete Tabbed UI versions. This is similar to Ribbon style in Microsoft Office. LibreOffice Notebook looks clean and intuitive. The New Groupedbar Compact UI is also ready for release! Writer, Calc, Impress and […]

Scroll to top