public class SnmpObjId extends Object implements Comparable<SnmpObjId>
Modifier | Constructor and Description |
---|---|
protected |
SnmpObjId(int[] ids)
These constructors are private.
|
protected |
SnmpObjId(int[] ids,
boolean clone)
These constructors are private.
|
protected |
SnmpObjId(SnmpObjId oid)
These constructors are private.
|
protected |
SnmpObjId(String oid)
These constructors are private.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
addPrefixDotInToString() |
SnmpObjId |
append(int[] instIds) |
SnmpObjId |
append(SnmpObjId inst) |
SnmpObjId |
append(String inst) |
int |
compareTo(SnmpObjId o) |
SnmpObjId |
decrement() |
boolean |
equals(Object obj) |
static SnmpObjId |
get(int[] ids) |
static SnmpObjId |
get(SnmpObjId oid) |
static SnmpObjId |
get(SnmpObjId objId,
SnmpObjId instance) |
static SnmpObjId |
get(SnmpObjId objId,
String instance) |
static SnmpObjId |
get(String oid) |
static SnmpObjId |
get(String objId,
String instance) |
int[] |
getIds() |
SnmpInstId |
getInstance(SnmpObjId base) |
int |
getLastSubId() |
SnmpObjId |
getPrefix(int length) |
int |
getSubIdAt(int index) |
int |
hashCode() |
boolean |
isPrefixOf(SnmpObjId other) |
int |
length() |
String |
toString() |
protected SnmpObjId(int[] ids, boolean clone)
protected SnmpObjId(int[] ids)
protected SnmpObjId(String oid)
protected SnmpObjId(SnmpObjId oid)
public int[] getIds()
protected boolean addPrefixDotInToString()
public int compareTo(SnmpObjId o)
compareTo
in interface Comparable<SnmpObjId>
public SnmpObjId append(int[] instIds)
public static SnmpObjId get(int[] ids)
public boolean isPrefixOf(SnmpObjId other)
public SnmpInstId getInstance(SnmpObjId base)
public int length()
public SnmpObjId getPrefix(int length)
public int getSubIdAt(int index)
public int getLastSubId()
public SnmpObjId decrement()
Copyright © 2017. All rights reserved.