Tag Archives: collections

5,989 views

List LinkedList add sort find Item in Java example

List LinkedList Collections add sort find search Item, get searched item to string in Java example. MainClass.java import java.util.Collections; import java.util.LinkedList; import java.util.List;   public class MainClass { public static void main(String[] arg) { String[] arrayOfString = {"nothing", "Hello", "people" … Continue reading

Posted in Android Examples Code, Array,List,Collections | Tagged , , , , , , | Comments Off on List LinkedList add sort find Item in Java example
8,288 views

ArrayList Collections Add new Item Sort Find Item Java example

How add item to ArrayList, sort ArrayList, search find index of item in ArrayList, min(), max() Java basic example. import java.util.ArrayList; import java.util.Collections;   public class MainClass { public static void main(String[] arg) { String[] arrayOfString = {"nothing", "Hello", "people" … Continue reading

Posted in Android Examples Code, Array,List,Collections | Tagged , , , , , | Comments Off on ArrayList Collections Add new Item Sort Find Item Java example