codec.asn1
Class ASN1TagComparator

java.lang.Object
  |
  +--codec.asn1.ASN1TagComparator
All Implemented Interfaces:
Comparator

public class ASN1TagComparator
extends Object
implements Comparator

ASN1 Comparator, used for Sorting an ASN1 Set. First TagClasses of the ASN1Types are compared. If they are equal, the Tags of the ASN1Types are compared. result is : 1, 0, -1 for a1 > a2, a1 = a2, a1 < a2


Constructor Summary
ASN1TagComparator()
           
 
Method Summary
 int compare(Object o1, Object o2)
           
 
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

ASN1TagComparator

public ASN1TagComparator()
Method Detail

compare

public int compare(Object o1,
                   Object o2)
Specified by:
compare in interface Comparator


Copyright © Fraunhofer Gesellschaft. All Rights Reserved.