Nikitha N

Nikitha N

54 Articles Published

Articles by Nikitha N

Page 6 of 6

How to synchronize an ArrayList in Java?

Nikitha N
Nikitha N
Updated on 30-Jul-2019 298 Views

The synchronizedList(List list) method of the Collections class accepts a List object and returns a synchronized list backed by the specified list.Example:import java.util.ArrayList; import java.util.Collections; import java.util.LinkedHashSet; import java.util.Set; public class ArrayListSample {    public static void main(String[] args){       ArrayList list = new ArrayList();       list.add("JavaFx");       list.add("Java");       list.add("WebGL");       list.add("OpenCV");       Set set = new LinkedHashSet(list);       Collections.synchronizedList(list);       System.out.println(list);    } }Output:[JavaFx, Java, WebGL, OpenCV]

Read More

How to convert a list collection into a dictionary in Java?

Nikitha N
Nikitha N
Updated on 30-Jul-2019 2K+ Views

Following is an example to convert a list collection into a dictionary in Java.Example Live Demoimport java.util.ArrayList; import java.util.Dictionary; import java.util.Hashtable; public class CollectionDictionary {    public static void main(String[] args) {       ArrayList list = new ArrayList();       list.add("JavaFx");       list.add("Java");       list.add("WebGL");       list.add("OpenCV");       System.out.println(list);       Dictionary dictionary = new Hashtable();       Hashtable hashTable = new Hashtable();       hashTable.put(1, list.get(0));       hashTable.put(2, list.get(1));       hashTable.put(3, list.get(2));       hashTable.put(4, list.get(3));       System.out.println(hashTable);    } }Output[JavaFx, Java, WebGL, OpenCV] {4=OpenCV, 3=WebGL, 2=Java, 1=JavaFx}

Read More

Error while creating a PO in SAP system from a .NET application

Nikitha N
Nikitha N
Updated on 30-Jul-2019 289 Views

Below is the correct sequence to invoke Function Module for automatic OP generation:ME_REFRESH_PO onceME_CREATE_PO_HEADER onceME_CREATE_PO_ITEM n timesME_POST_PO onceIn case you don’t follow this sequence, it may result in data inconsistencies.

Read More

Customizing SAP ERP industry specific

Nikitha N
Nikitha N
Updated on 30-Jul-2019 396 Views

SAP provides a lot of offerings which are industry specifics and can be altered/ modified within limits to serve the purpose. Offerings include industries ranging from Sales, HR, Plant maintenance and others. One can customize the existing system to serve the needs but the customization is not extensive and basically revolves around a change in settings, altering configuration tables and adding custom things.You can develop custom things to serve a requirement which is out of the box. SAP provides a complete development environment. The same environment is used to develop the standard offerings so we can create our own custom ...

Read More
Showing 51–54 of 54 articles
« Prev 1 2 3 4 5 6 Next »
Advertisements