org.camunda.bpm.engine.impl.util
Class CollectionUtil

java.lang.Object
  extended by org.camunda.bpm.engine.impl.util.CollectionUtil

public class CollectionUtil
extends Object

helper/convience methods for working with collections.

Author:
Joram Barrez

Method Summary
static Map<String,Object> singletonMap(String key, Object value)
          Helper method that creates a singleton map.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

singletonMap

public static Map<String,Object> singletonMap(String key,
                                              Object value)
Helper method that creates a singleton map. Alternative for Collections.singletonMap(), since that method returns a generic typed map depending on the input type, but we often need a map.



Copyright © 2014 camunda services GmbH. All rights reserved.