GigaSpaces XAP 9.5 API

org.openspaces.persistency.cassandra.meta.mapping
Class TypeHierarcyTopologySorter

java.lang.Object
  extended by 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)

Method Summary
static List<SpaceTypeDescriptor> getSortedList(Map<String,SpaceTypeDescriptorHolder> typeDescriptorHolders)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.

GigaSpaces XAP 9.5 API

Copyright © GigaSpaces.