// 
// Decompiled by Procyon v0.6.0
// 

package it.unimi.dsi.fastutil.chars;

import java.util.Comparator;
import java.util.Iterator;
import java.util.Spliterator;
import java.util.Collection;
import it.unimi.dsi.fastutil.Size64;
import java.util.SortedSet;

public interface CharSortedSet extends CharSet, SortedSet<Character>, CharBidirectionalIterable
{
    CharBidirectionalIterator iterator(final char p0);
    
    CharBidirectionalIterator iterator();
    
    default CharSpliterator spliterator() {
        return CharSpliterators.asSpliteratorFromSorted(this.iterator(), Size64.sizeOf(this), 341, this.comparator());
    }
    
    CharSortedSet subSet(final char p0, final char p1);
    
    CharSortedSet headSet(final char p0);
    
    CharSortedSet tailSet(final char p0);
    
    CharComparator comparator();
    
    char firstChar();
    
    char lastChar();
    
    @Deprecated
    default CharSortedSet subSet(final Character from, final Character to) {
        return this.subSet((char)from, (char)to);
    }
    
    @Deprecated
    default CharSortedSet headSet(final Character to) {
        return this.headSet((char)to);
    }
    
    @Deprecated
    default CharSortedSet tailSet(final Character from) {
        return this.tailSet((char)from);
    }
    
    @Deprecated
    default Character first() {
        return this.firstChar();
    }
    
    @Deprecated
    default Character last() {
        return this.lastChar();
    }
}
