org.openspaces.persistency.support
Class TypeDescriptorUtils
java.lang.Object
org.openspaces.persistency.support.TypeDescriptorUtils
public class TypeDescriptorUtils
- extends Object
- Since:
- 9.7
- Author:
- Niv Ingberg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeDescriptorUtils
public TypeDescriptorUtils()
sort
public static List<SpaceTypeDescriptor> sort(Collection<SpaceTypeDescriptor> typeDescriptors)
sort
public static List<SpaceTypeDescriptor> sort(Map<String,SpaceTypeDescriptorContainer> typeDescriptorContainers)
- Parameters:
typeDescriptorContainers
- A map from type name to its matching SpaceTypeDescriptorContainer
- Returns:
- A list of
SpaceTypeDescriptor
instances sorted in such way that super types will
precede their sub types.
Copyright © GigaSpaces.