public class GraphUtil
extends java.lang.Object
Constructor and Description |
---|
GraphUtil() |
Modifier and Type | Method and Description |
---|---|
static java.util.Map<java.lang.String,java.util.List<java.lang.Long>> |
copyMultimapForResponse(com.google.common.collect.SetMultimap<java.lang.String,java.lang.Long> result)
Copy a multimap to a new map.
|
static java.util.function.Predicate<java.lang.Class<? extends ome.model.IObject>> |
getPredicateFromClasses(java.lang.Iterable<java.lang.Class<? extends ome.model.IObject>> matchTypes)
Construct a predicate to test if an object's class is of any of the given classes.
|
public static java.util.Map<java.lang.String,java.util.List<java.lang.Long>> copyMultimapForResponse(com.google.common.collect.SetMultimap<java.lang.String,java.lang.Long> result)
result
- a result from a graph operationStringLongListMap
API bindingpublic static java.util.function.Predicate<java.lang.Class<? extends ome.model.IObject>> getPredicateFromClasses(java.lang.Iterable<java.lang.Class<? extends ome.model.IObject>> matchTypes)
matchTypes
- model object classes