public class SorterAlphaNumerical extends Object implements FTreeNodeSorter
Constructor and Description |
---|
SorterAlphaNumerical() |
Modifier and Type | Method and Description |
---|---|
String |
algorithmName()
The name of the sorting algorithm.
|
String |
description()
The description of what the algorithm does.
|
int |
sort(FTreeNode node1,
FTreeNode node2)
Sort two FTreeNodes.
|
public String algorithmName()
FTreeNodeSorter
algorithmName
in interface FTreeNodeSorter
public String description()
FTreeNodeSorter
description
in interface FTreeNodeSorter
public int sort(FTreeNode node1, FTreeNode node2)
FTreeNodeSorter
sort
in interface FTreeNodeSorter
node1
- The first node.node2
- The second node.Copyright © 2016. All rights reserved.