Java List Create createIntegerQueryString(List values)

Here you can find the source of createIntegerQueryString(List values)

Description

create Integer Query String

License

Open Source License

Declaration

public static String createIntegerQueryString(List values) 

Method Source Code


//package com.java2s;
import java.util.List;

public class Main {
    public static String createIntegerQueryString(List values) {
        String queryString = "(";
        if (values == null || values.size() < 1) {
            return null;
        }/*  w  ww  .j  a v  a 2 s  .  c o  m*/

        queryString += values.get(0);
        for (int i = 1; i < values.size(); i++) {
            queryString += ", " + values.get(i);
        }
        return queryString + ")";
    }
}

Related

  1. createIndicesOrderedList(final Collection order, final Collection values)
  2. createInString(List keys)
  3. createIntArray(List coll)
  4. CreateIntArrayFromIntegerList(List solidsList)
  5. createIntegerList(int[] array)
  6. CreateIntegerSequenceList(int startNumber, int endNumber)
  7. createIntegerSetFromIntegerList(List integerList)
  8. createInterfaceContent(String typeName, @SuppressWarnings("rawtypes") List superInterfaces, String indentation, String lineSeparator)
  9. createIntListToN(int n)