FileDocCategorySizeDatePackage
ChunkPositionComparator.javaAPI DocJaudiotagger 2.0.41615Wed Mar 30 16:11:52 BST 2011org.jaudiotagger.audio.asf.util

ChunkPositionComparator

public final class ChunkPositionComparator extends Object implements Serializable, Comparator
This class is needed for ordering all types of {@link org.jaudiotagger.audio.asf.data.Chunk}s ascending by their Position.
author
Christian Laireiter

Fields Summary
private static final long
serialVersionUID
Constructors Summary
Methods Summary
public intcompare(org.jaudiotagger.audio.asf.data.Chunk first, org.jaudiotagger.audio.asf.data.Chunk second)
{@inheritDoc}


          
            
        return Long.valueOf(first.getPosition())
                .compareTo(second.getPosition());