Returns the contents of the given object, which had better be a container, as an object array. If the argument is not a container, it returns null. If the argument is empty, however, it returns an object array of length zero. It only returns one "level" of contents - if there are containers in the list of contents, it just returns those, not their contents.