public interface

SnmpTableHandler

sun.management.snmp.util.SnmpTableHandler
Known Indirect Subclasses

Class Overview

Defines the interface implemented by an object that holds table data.

Summary

Public Methods
abstract boolean contains(SnmpOid index)
Returns true if the given index is present.
abstract Object getData(SnmpOid index)
Returns the data associated with the given index.
abstract SnmpOid getNext(SnmpOid index)
Returns the index that immediately follows the given index.

Public Methods

public abstract boolean contains (SnmpOid index)

Returns true if the given index is present.

public abstract Object getData (SnmpOid index)

Returns the data associated with the given index. If the given index is not found, null is returned. Note that returning null does not necessarily means that the index was not found.

public abstract SnmpOid getNext (SnmpOid index)

Returns the index that immediately follows the given index. The returned index is strictly greater than the given index, and is contained in the table.
If the given index is null, returns the first index in the table.
If there are no index after the given index, returns null.