예제 #1
0
파일: TreeSet.cs 프로젝트: minam365/JavApi
        /*
         * Removes an occurrence of the specified object from this {@code TreeSet}.
         *
         * @param object
         *            the object to remove.
         * @return {@code true} if this {@code TreeSet} was modified, {@code false}
         *         otherwise.
         * @throws ClassCastException
         *             when the object cannot be compared with the elements in this
         *             {@code TreeSet}.
         * @throws NullPointerException
         *             when the object is null and the comparator cannot handle
         *             null.
         */

        public override bool remove(Object obj)
        {
            return(backingMap.remove(obj) != null);
        }