org.openspaces.persistency.cassandra.meta.mapping
Class TypeHierarcyTopologySorter
java.lang.Object
org.openspaces.persistency.cassandra.meta.mapping.TypeHierarcyTopologySorter
public class TypeHierarcyTopologySorter
- extends Object
A utility class used for sorting SpaceTypeDescriptor
instances.
- Since:
- 9.1.1
- Author:
- Dan Kilman
- See Also:
getSortedList(Map)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getSortedList
public static List<SpaceTypeDescriptor> getSortedList(Map<String,SpaceTypeDescriptorHolder> typeDescriptorHolders)
- Parameters:
typeDescriptorHolders
- A map from type name to its matching SpaceTypeDescriptorHolder
- Returns:
- A list of
SpaceTypeDescriptor
instances sorted in such way that super types will
precede their sub types.
Copyright © GigaSpaces.