Object function ( ) { synchronized ( m_Head ) { Object loc0 = null ; LinkedNode loc1 = m_Head . m_NextNode ; if ( loc1 != null ) { loc0 = loc1 . m_Node ; loc1 . m_Node = null ; m_Head = loc1 ; } return loc0 ; } }
main mechanics for take/pollinterval concode_field_sep LinkedNode m_Tail concode_elem_sep Object m_PutLock concode_elem_sep int m_WaitingForTake concode_elem_sep LinkedNode m_Head concode_field_sep boolean offer concode_elem_sep Object take concode_elem_sep boolean isEmpty concode_elem_sep void insert concode_elem_sep Object poll concode_elem_sep void put concode_elem_sep Object peek