unbbayes.util
Class SortUtil

java.lang.Object
  extended by unbbayes.util.SortUtil

public class SortUtil
extends Object


Constructor Summary
SortUtil()
           
 
Method Summary
static
<T extends Comparable<? super T>>
void
sort(List<T> list)
           
static void sortNodeListByDescription(List<Node> nodeList)
          Responsible for ordering the given node list by the node's description.
static void sortNodeListByName(List<Node> nodeList)
          Responsible for ordering the given node list by the node's name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SortUtil

public SortUtil()
Method Detail

sortNodeListByDescription

public static void sortNodeListByDescription(List<Node> nodeList)
Responsible for ordering the given node list by the node's description.

Parameters:
nodeList - The node list to be ordered.

sortNodeListByName

public static void sortNodeListByName(List<Node> nodeList)
Responsible for ordering the given node list by the node's name.

Parameters:
nodeList - The node list to be ordered.

sort

public static <T extends Comparable<? super T>> void sort(List<T> list)


Copyright © 2001-2010 University of Brasilia - UnB. All Rights Reserved.