hollow/src/main/java/com/netflix/hollow/core/read/engine/SnapshotPopulatedOrdinalsReader.java
public static void readOrdinals(DataInputStream dis, HollowTypeStateListener[] listeners) throws IOException {
        int numLongs = dis.readInt();

        int currentOrdinal = 0;

        for(int i=0;i<numLongs;i++) {
            long l = dis.readLong();
            notifyPopulatedOrdinals(l, currentOrdinal, listeners);
            currentOrdinal += 64;
        }
    }
public static void readOrdinals(DataInputStream dis, HollowTypeStateListener[] listeners) throws IOException {
        int numLongs = dis.readInt();

        int currentOrdinal = 0;

        for(int i=0;i<numLongs;i++) {
            long l = dis.readLong();
            notifyPopulatedOrdinals(l, currentOrdinal, listeners);
            currentOrdinal += 64;
        }
    }
public static void readOrdinals ( DataInputStream dis , HollowTypeStateListener [ ] listeners ) throws IOException { int numLongs = dis . readInt ( ) ; int currentOrdinal = 0 ; for ( int i = 0 ; i < numLongs ; i ++ ) { long l = dis . readLong ( ) ; notifyPopulatedOrdinals ( l , currentOrdinal , listeners ) ; currentOrdinal += 64 ; } }
Read populated ordinals as a bit set from a stream, and notify a listener for each populated ordinal.

@param dis the data input stream
@param listeners the type state listeners
@throws IOException if the ordinals cannot be read
@author dkoszewnik
Read populated ordinals as a bit set from a stream and notify a listener for each populated ordinal .