public String toString() { switch (getSyntax()) { case SMIConstants.EXCEPTION_NO_SUCH_OBJECT: return "noSuchObject"; case SMIConstants.EXCEPTION_NO_SUCH_INSTANCE: return "noSuchInstance"; case SMIConstants.EXCEPTION_END_OF_MIB_VIEW: return "endOfMibView"; } return "Null"; }
/** * Returns the syntax of this Null variable. * @return * {@link SMIConstants#SYNTAX_NULL} or one of the exception syntaxes * {@link SMIConstants#EXCEPTION_NO_SUCH_OBJECT}, * {@link SMIConstants#EXCEPTION_NO_SUCH_INSTANCE}, or * {@link SMIConstants#EXCEPTION_END_OF_MIB_VIEW} * @since 1.7 */ public final long toLong() { return getSyntax(); }
public String toString() { switch (getSyntax()) { case SMIConstants.EXCEPTION_NO_SUCH_OBJECT: return "noSuchObject"; case SMIConstants.EXCEPTION_NO_SUCH_INSTANCE: return "noSuchInstance"; case SMIConstants.EXCEPTION_END_OF_MIB_VIEW: return "endOfMibView"; } return "Null"; }
/** * Returns the syntax of this Null variable. * @return * {@link SMIConstants#SYNTAX_NULL} or one of the exception syntaxes * {@link SMIConstants#EXCEPTION_NO_SUCH_OBJECT}, * {@link SMIConstants#EXCEPTION_NO_SUCH_INSTANCE}, or * {@link SMIConstants#EXCEPTION_END_OF_MIB_VIEW} * @since 1.7 */ public final long toLong() { return getSyntax(); }
/** * Returns the syntax of this Null variable. * @return * {@link SMIConstants#SYNTAX_NULL} or one of the exception syntaxes * {@link SMIConstants#EXCEPTION_NO_SUCH_OBJECT}, * {@link SMIConstants#EXCEPTION_NO_SUCH_INSTANCE}, or * {@link SMIConstants#EXCEPTION_END_OF_MIB_VIEW} * @since 1.7 */ public final int toInt() { return getSyntax(); }
/** * Returns the syntax of this Null variable. * @return * {@link SMIConstants#SYNTAX_NULL} or one of the exception syntaxes * {@link SMIConstants#EXCEPTION_NO_SUCH_OBJECT}, * {@link SMIConstants#EXCEPTION_NO_SUCH_INSTANCE}, or * {@link SMIConstants#EXCEPTION_END_OF_MIB_VIEW} * @since 1.7 */ public final int toInt() { return getSyntax(); }
public int hashCode() { return getSyntax(); }
public String toString() { switch (getSyntax()) { case SMIConstants.EXCEPTION_NO_SUCH_OBJECT: return "noSuchObject"; case SMIConstants.EXCEPTION_NO_SUCH_INSTANCE: return "noSuchInstance"; case SMIConstants.EXCEPTION_END_OF_MIB_VIEW: return "endOfMibView"; } return "Null"; }
/** * Returns the syntax of this Null variable. * @return * {@link SMIConstants#SYNTAX_NULL} or one of the exception syntaxes * {@link SMIConstants#EXCEPTION_NO_SUCH_OBJECT}, * {@link SMIConstants#EXCEPTION_NO_SUCH_INSTANCE}, or * {@link SMIConstants#EXCEPTION_END_OF_MIB_VIEW} * @since 1.7 */ public final int toInt() { return getSyntax(); }
/** * Returns the syntax of this Null variable. * @return * {@link SMIConstants#SYNTAX_NULL} or one of the exception syntaxes * {@link SMIConstants#EXCEPTION_NO_SUCH_OBJECT}, * {@link SMIConstants#EXCEPTION_NO_SUCH_INSTANCE}, or * {@link SMIConstants#EXCEPTION_END_OF_MIB_VIEW} * @since 1.7 */ public final long toLong() { return getSyntax(); }
public int hashCode() { return getSyntax(); }
public int hashCode() { return getSyntax(); }
public void encodeBER(OutputStream outputStream) throws java.io.IOException { BER.encodeHeader(outputStream, (byte)getSyntax(), 0); }
public int compareTo(Variable o) { return (getSyntax() - o.getSyntax()); }
public void encodeBER(OutputStream outputStream) throws java.io.IOException { BER.encodeHeader(outputStream, (byte)getSyntax(), 0); }
public void encodeBER(OutputStream outputStream) throws java.io.IOException { BER.encodeHeader(outputStream, (byte)getSyntax(), 0); }