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

package it.unimi.dsi.fastutil.bytes;

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 ByteSortedSet extends ByteSet, SortedSet<Byte>, ByteBidirectionalIterable
{
    ByteBidirectionalIterator iterator(final byte p0);
    
    ByteBidirectionalIterator iterator();
    
    default ByteSpliterator spliterator() {
        return ByteSpliterators.asSpliteratorFromSorted(this.iterator(), Size64.sizeOf(this), 341, this.comparator());
    }
    
    ByteSortedSet subSet(final byte p0, final byte p1);
    
    ByteSortedSet headSet(final byte p0);
    
    ByteSortedSet tailSet(final byte p0);
    
    ByteComparator comparator();
    
    byte firstByte();
    
    byte lastByte();
    
    @Deprecated
    default ByteSortedSet subSet(final Byte from, final Byte to) {
        return this.subSet((byte)from, (byte)to);
    }
    
    @Deprecated
    default ByteSortedSet headSet(final Byte to) {
        return this.headSet((byte)to);
    }
    
    @Deprecated
    default ByteSortedSet tailSet(final Byte from) {
        return this.tailSet((byte)from);
    }
    
    @Deprecated
    default Byte first() {
        return this.firstByte();
    }
    
    @Deprecated
    default Byte last() {
        return this.lastByte();
    }
}
