code: public static boolean getLast (@Nullable final boolean [] aArray, final boolean aDefaultValue)
    {
      final int nSize = getSize (aArray);
      return nSize == 0 ? aDefaultValue : aArray[nSize - 1];
    }
docs: Get the last element of the array or the passed default if the passed array
  is empty.
  
  @param aArray
  The array who's last element is to be retrieved. May be
  <code>null</code> or empty.
  @param aDefaultValue
  The default value to be returned if the array is empty
  @return the last element if the passed array is not empty, the default
  value if the passed array is empty.