Priya Pallavi has Published 68 Articles

How to sort an ArrayList in Java in ascending order?

Priya Pallavi

Priya Pallavi

Updated on 30-Jul-2019 22:30:21

677 Views

You can sort an ArrayList using the sort() method of the Collections class this method accepts a list object as a parameter and sorts the contents of it in ascending order.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) { ... Read More

How to replace an element of an ArrayList in Java?

Priya Pallavi

Priya Pallavi

Updated on 30-Jul-2019 22:30:21

9K+ Views

You can replace an element of an ArrayList using the set() method of the Collections class. This method accepts two parameters an integer parameter indicating the index of the element to be replaced and an element to replace with.Example Live Demoimport java.util.ArrayList; public class ArrayListSample {    public static void main(String[] ... Read More

C++11 Features Supported by Intel

Priya Pallavi

Priya Pallavi

Updated on 30-Jul-2019 22:30:21

173 Views

The C++11 features supported by Intel are available as an official guide in their docs. You can check these features out on https://software.intel.com/en-us/articles/c0x-features-supported-by-intel-c-compiler.

SAP SuccessFactor OData API access

Priya Pallavi

Priya Pallavi

Updated on 30-Jul-2019 22:30:20

1K+ Views

You need to sign up a demo account for SAP Cloud platform. SAP SuccessFactors and SAP HANA Cloud Platform, you can easily get SAP Cloud Applications Partner center program. You have to perform some additional configuration for both.For more details, you can go through below link:https://blogs.sap.com/2013/11/25/get-your-hands-dirty-successfactors-api-access-for-hcp-based-extensions/With use of OData API, ... Read More

Unloading tables in SAP HANA database

Priya Pallavi

Priya Pallavi

Updated on 30-Jul-2019 22:30:20

695 Views

HANA consumes lot of space in system tables/views, statistics, caches. When you unload tables, these memory areas will not be released.Check SAP Notes https://launchpad.support.sap.com/#/notes/1969700

Difference between JCoClient and JCoDestination

Priya Pallavi

Priya Pallavi

Updated on 30-Jul-2019 22:30:20

716 Views

JcoDestination is the newer version (3) and JCO.client is the older version (2) of SAP Java connector Class. Along with the change of names in the classes, they have also re-written the library architecture in the new version JCoDestination. It is recommended to use the newer version JCodestination.

How to convert Image to Byte Array in java?

Priya Pallavi

Priya Pallavi

Updated on 30-Jul-2019 22:30:20

22K+ Views

Java provides ImageIO class for reading and writing an image. To convert an image to a byte array –Read the image using the read() method of the ImageIO class.Create a ByteArrayOutputStream object.Write the image to the ByteArrayOutputStream object created above using the write() method of the ImageIO class.Finally convert the ... Read More

How (where) are the elements of an array stored in memory?

Priya Pallavi

Priya Pallavi

Updated on 30-Jul-2019 22:30:20

2K+ Views

In Java, arrays are objects, therefore just like other objects arrays are stored in heap area. An array store primitive data types or reference (to derived data) types Just like objects the variable of the array holds the reference to the array.

Previous 1 ... 3 4 5 6 7
Advertisements