public class LexicographicOctetStringComparator extends Object implements Comparator<org.snmp4j.smi.OctetString>
| Constructor and Description |
|---|
LexicographicOctetStringComparator() |
LexicographicOctetStringComparator(boolean impliedLength) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(org.snmp4j.smi.OctetString os1,
org.snmp4j.smi.OctetString os2)
Compares its two OctetString instances for lexicographic order.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic LexicographicOctetStringComparator()
public LexicographicOctetStringComparator(boolean impliedLength)
public int compare(org.snmp4j.smi.OctetString os1,
org.snmp4j.smi.OctetString os2)
compare in interface Comparator<org.snmp4j.smi.OctetString>os1 - the first object to be compared.os2 - the second object to be compared.Copyright © 2020 SNMP4J.org. All rights reserved.