Java Collection Convert toLowerCase(Collection values)

Here you can find the source of toLowerCase(Collection values)

Description

to Lower Case

License

Apache License

Declaration

public static List<String> toLowerCase(Collection<String> values) 

Method Source Code


//package com.java2s;
// Licensed under the Apache License, Version 2.0 (the "License");

import java.util.ArrayList;
import java.util.Collection;
import java.util.List;

public class Main {
    public static List<String> toLowerCase(Collection<String> values) {
        List<String> result = new ArrayList<String>();
        for (String value : values)
            result.add(value.toLowerCase());
        return result;
    }//from   w ww.j  a  v a  2 s . co  m
}

Related

  1. toHtml(Collection collection)
  2. toIntegerCollection(int[] ints)
  3. toJSONString(Collection collection)
  4. tokenSetString(Collection tokens)
  5. toLimitLengthString(final Collection coll, final int limit)
  6. toMap(Collection names, Object[] parameters)
  7. toMatrix(Collection collection)
  8. toObjectArray(Collection list)
  9. toObjectCollection(Object v)

  10. HOME | Copyright © www.java2s.com 2016