Esempio n. 1
0
        /*
         * {@inheritDoc}
         *
         * @see java.util.NavigableSet#tailSet(Object, boolean)
         * @since 1.6
         */
        public NavigableSet <E> tailSet(E start, bool startInclusive)
        {
            // Check for errors
            Comparator <E> c = backingMap.comparator();

            if (c == null)
            {
                ((java.lang.Comparable <E>)start).compareTo(start);
            }
            else
            {
                c.compare(start, start);
            }
            return(new TreeSet <E>(backingMap.tailMap(start, startInclusive)));
        }