Java List Value Add All addToList(List list, Object obj)

Here you can find the source of addToList(List list, Object obj)

Description

add To List

License

Open Source License

Declaration

private static void addToList(List list, Object obj) 

Method Source Code

//package com.java2s;
// The MIT License (MIT)

import java.util.List;

public class Main {
    private static void addToList(List list, Object obj) {
        list.add(obj); // Unchecked warning
    }/*from  w w  w . j  av  a2  s  .  c o m*/
}

Related

  1. addArrayToList(List list, String as[])
  2. addArrayToList(List list, double[] array)
  3. addArrayToList(List list, T[] array)
  4. addArrayToList(String[] array, List list)
  5. addArrayToList(T[] array, List list)
  6. addToList(List list, I item)
  7. AddToList(List tips, String tip)
  8. addToList(List dest, T src)
  9. addToList(List list, T value)