entagged.audioformats.asf.util
Class ChunkPositionComparator

java.lang.Object
  extended by entagged.audioformats.asf.util.ChunkPositionComparator
All Implemented Interfaces:
Comparator

public class ChunkPositionComparator
extends Object
implements Comparator

This class is needed for ordering all types of Chunks ascending by their Position.

Author:
Christian Laireiter

Constructor Summary
ChunkPositionComparator()
           
 
Method Summary
 int compare(Object o1, Object o2)
          (overridden)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

ChunkPositionComparator

public ChunkPositionComparator()
Method Detail

compare

public int compare(Object o1,
                   Object o2)
(overridden)

Specified by:
compare in interface Comparator
See Also:
Comparator.compare(java.lang.Object, java.lang.Object)


Copyright © 2007-2008. All Rights Reserved.