Package org.wildfly.security.asn1
Class DEREncoder.LexicographicComparator
- java.lang.Object
-
- org.wildfly.security.asn1.DEREncoder.LexicographicComparator
-
- All Implemented Interfaces:
Comparator<DEREncoder.EncoderState>
- Enclosing class:
- DEREncoder
private static class DEREncoder.LexicographicComparator extends Object implements Comparator<DEREncoder.EncoderState>
A class that compares DER encodings using lexicographic order.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
LexicographicComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(DEREncoder.EncoderState state1, DEREncoder.EncoderState state2)
-
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, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Method Detail
-
compare
public int compare(DEREncoder.EncoderState state1, DEREncoder.EncoderState state2)
- Specified by:
compare
in interfaceComparator<DEREncoder.EncoderState>
-
-