GigaSpaces XAP 10.0.1 API

org.openspaces.persistency.support
Class TypeDescriptorUtils

java.lang.Object
  extended by org.openspaces.persistency.support.TypeDescriptorUtils

public class TypeDescriptorUtils
extends Object

Since:
9.7
Author:
Niv Ingberg

Constructor Summary
TypeDescriptorUtils()
           
 
Method Summary
static List<SpaceTypeDescriptor> sort(Collection<SpaceTypeDescriptor> typeDescriptors)
           
static List<SpaceTypeDescriptor> sort(Map<String,SpaceTypeDescriptorContainer> typeDescriptorContainers)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeDescriptorUtils

public TypeDescriptorUtils()
Method Detail

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.

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.