org.crsh.util
Class Utils

java.lang.Object
  extended by org.crsh.util.Utils

public class Utils
extends Object

Version:
$Revision$
Author:
Julien Viet

Constructor Summary
Utils()
           
 
Method Summary
static
<E> List<E>
list(Iterable<E> iterable)
           
static
<E> ArrayList<E>
newArrayList()
           
static
<K,V> HashMap<K,V>
newHashMap()
           
static
<E> HashSet<E>
newHashSet()
           
static
<E> LinkedList<E>
newLinkedList()
           
static String trimLeft(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utils

public Utils()
Method Detail

newArrayList

public static <E> ArrayList<E> newArrayList()

newLinkedList

public static <E> LinkedList<E> newLinkedList()

newHashSet

public static <E> HashSet<E> newHashSet()

newHashMap

public static <K,V> HashMap<K,V> newHashMap()

list

public static <E> List<E> list(Iterable<E> iterable)

trimLeft

public static String trimLeft(String s)


Copyright © 2012 eXo Platform SAS. All Rights Reserved.