rj.tools.jcsc.sorter
Class OccurenceSorter

java.lang.Object
  extended byrj.tools.jcsc.sorter.OccurenceSorter
All Implemented Interfaces:
ViolationsSorter

public class OccurenceSorter
extends java.lang.Object
implements ViolationsSorter

Sorts the list of violations according to the order in which they occured. This is the actual order so nothing needs to be done.

Version:
__0.98.1__
Author:
Ralph Jocham

Constructor Summary
OccurenceSorter()
           
 
Method Summary
 void setViolations(java.util.List violations)
          Set the List of violations to be sorted
 void sort()
          Sort the List of violations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OccurenceSorter

public OccurenceSorter()
Method Detail

setViolations

public void setViolations(java.util.List violations)
Set the List of violations to be sorted

Specified by:
setViolations in interface ViolationsSorter
Parameters:
violations -

sort

public void sort()
Sort the List of violations

Specified by:
sort in interface ViolationsSorter


(c) 1999-2005 by Ralph Jocham (rjocham72@netscape.net)
JCSC is released under the terms of the GNU General Public License