db4o |

# ObjectSet.next Method

returns the next object in the

    ObjectSet

.
object next();

#### Return Value

the next object in the

    ObjectSet

.

#### Remarks

returns the next object in the

    ObjectSet

.
Before returning the Object, next() triggers automatic activation of the Object with the respective activationDepth or maximumActivationDepth setting.

#### See Also

ObjectSet Interface | com.db4o Namespace