Top Description Fields Constructors Methods
org.apache.derby.impl.services.locks

pack-priv Class LockList

Located in compilation unit of org.apache.derby.impl.services.locks.LockSpace.

extends Object
implements Enumeration<Lockable>
Class Inheritance
All Implemented Interfaces
java.util.Enumeration

An Enumeration that returns the the Lockables in a group.

Field Summary

Modifier and TypeField and Description
private Enumeration<Lock>

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public boolean
hasMoreElements()

Implements java.util.Enumeration.hasMoreElements.

Tests if this enumeration contains more elements.

public Lockable
nextElement()

Implements java.util.Enumeration.nextElement.

Returns the next element of this enumeration if this enumeration object has at least one more element to provide.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

lockGroupback to summary
private Enumeration<Lock> lockGroup

Constructor Detail

LockListback to summary
pack-priv LockList(Enumeration<Lock> lockGroup)

Method Detail

hasMoreElementsback to summary
public boolean hasMoreElements()

Implements java.util.Enumeration.hasMoreElements.

Doc from java.util.Enumeration.hasMoreElements.

Tests if this enumeration contains more elements.

Returns:boolean

true if and only if this enumeration object contains at least one more element to provide; false otherwise.

nextElementback to summary
public Lockable nextElement()

Implements java.util.Enumeration.nextElement.

Doc from java.util.Enumeration.nextElement.

Returns the next element of this enumeration if this enumeration object has at least one more element to provide.

Returns:Lockable

the next element of this enumeration.