Class Folder


  • final class Folder
    extends java.lang.Object
    The unit of solid compression.
    • Field Detail

      • EMPTY_FOLDER_ARRAY

        static final Folder[] EMPTY_FOLDER_ARRAY
      • totalInputStreams

        long totalInputStreams
      • totalOutputStreams

        long totalOutputStreams
      • packedStreams

        long[] packedStreams
      • unpackSizes

        long[] unpackSizes
      • hasCrc

        boolean hasCrc
      • crc

        long crc
      • numUnpackSubStreams

        int numUnpackSubStreams
    • Constructor Detail

      • Folder

        Folder()
    • Method Detail

      • findBindPairForInStream

        int findBindPairForInStream​(int index)
      • findBindPairForOutStream

        int findBindPairForOutStream​(int index)
      • getOrderedCoders

        java.lang.Iterable<Coder> getOrderedCoders()
                                            throws java.io.IOException
        Sorts Coders using bind pairs.

        The first coder reads from the packed stream (we currently only support single input stream decoders), the second reads from the output of the first and so on.

        Throws:
        java.io.IOException
      • getUnpackSize

        long getUnpackSize()
      • getUnpackSizeForCoder

        long getUnpackSizeForCoder​(Coder coder)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object