Class EFGraph.LongWordOutputBitStream

  • Enclosing class:
    EFGraph

    public static final class EFGraph.LongWordOutputBitStream
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      LongWordOutputBitStream​(java.nio.channels.WritableByteChannel writableByteChannel, java.nio.ByteOrder byteOrder)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int align()  
      long append​(long[] value, long length)  
      int append​(long value, int width)  
      long append​(EFGraph.LongWordCache cache)  
      long append​(it.unimi.dsi.bits.LongArrayBitVector bv)  
      long append​(it.unimi.dsi.fastutil.longs.LongBigList value, long length)  
      void close()  
      int writeGamma​(long value)  
      int writeNonZeroGamma​(long value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LongWordOutputBitStream

        public LongWordOutputBitStream​(java.nio.channels.WritableByteChannel writableByteChannel,
                                       java.nio.ByteOrder byteOrder)
    • Method Detail

      • append

        public int append​(long value,
                          int width)
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • append

        public long append​(long[] value,
                           long length)
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • append

        public long append​(it.unimi.dsi.fastutil.longs.LongBigList value,
                           long length)
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • append

        public long append​(it.unimi.dsi.bits.LongArrayBitVector bv)
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • append

        public long append​(EFGraph.LongWordCache cache)
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • align

        public int align()
                  throws java.io.IOException
        Throws:
        java.io.IOException
      • writeNonZeroGamma

        public int writeNonZeroGamma​(long value)
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • writeGamma

        public int writeGamma​(long value)
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Throws:
        java.io.IOException