Modifier and Type | Field and Description |
---|---|
protected T |
element |
protected java.util.concurrent.locks.Lock |
lock |
Constructor and Description |
---|
Element(T element,
java.util.concurrent.locks.Lock lock) |
Modifier and Type | Method and Description |
---|---|
T |
getElement() |
java.util.concurrent.locks.Lock |
getLock() |
java.lang.String |
toString() |
protected final T element
protected final java.util.concurrent.locks.Lock lock
public Element(T element, java.util.concurrent.locks.Lock lock)
public T getElement()
public java.util.concurrent.locks.Lock getLock()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 1998-2020 Red Hat. All Rights Reserved.