libgdx/libgdx — pull request #545 by guoguo12 (2013-08-20 23:26:27+00:00)
Title: Add further precondition checks

This makes pop() and peek() consistent with first().