/** * Return a string representation that can be parsed again to this {@link OID} * by {@link #OID(String)}. * * @return a formatted string representation of this OID (e.g. "ifDescr.1") that * can be parsed again as defined by {@link OIDTextFormat#formatForRoundTrip(int[])} * in {@link SNMP4JSettings}. */ public String toString() { return SNMP4JSettings.getOIDTextFormat().formatForRoundTrip(value); }
/** * Return a string representation that can be parsed again to this {@link OID} * by {@link #OID(String)}. * @return * a formatted string representation of this OID (e.g. "ifDescr.1") that * can be parsed again as defined by {@link OIDTextFormat#formatForRoundTrip(int[])} * in {@link SNMP4JSettings}. */ public String toString() { return SNMP4JSettings.getOIDTextFormat().formatForRoundTrip(value); }