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 com.google.common.base.Predicate<java.lang.Class<? extends IObject>> |
getPredicateFromClasses(java.lang.Iterable<java.lang.Class<? extends 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 com.google.common.base.Predicate<java.lang.Class<? extends IObject>> getPredicateFromClasses(java.lang.Iterable<java.lang.Class<? extends IObject>> matchTypes)
matchTypes
- model object classes
Version: 5.4.10-ice35-b105
Copyright © 2019 The University of Dundee & Open Microscopy Environment. All Rights Reserved.