Package it.unimi.dsi.sux4j.util

Examples of it.unimi.dsi.sux4j.util.EliasFanoLongBigList


   */

  public static IntList readSizesSuccinct( final CharSequence filename, final int N ) throws IOException {
    LOGGER.debug( "Loading sizes..." );
    final IntList sizes = new AbstractIntList() {
      final EliasFanoLongBigList list = new EliasFanoLongBigList( new GammaCodedIterableList( BinIO.loadBytes( filename ), N ) );

      public int getInt( int index ) {
        return (int)list.getLong( index );
      }

      public int size() {
        return list.size();
      }
    };
    LOGGER.debug( "Completed." );
    return sizes;
  }
View Full Code Here

TOP

Related Classes of it.unimi.dsi.sux4j.util.EliasFanoLongBigList

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.