epfl.experiment
Class P1VectorDemultiplexer

java.lang.Object
  |
  +--epfl.io.VectorDemultiplexer
        |
        +--epfl.experiment.P1VectorDemultiplexer

public class P1VectorDemultiplexer
extends VectorDemultiplexer

A double vector demultiplexer for problem P1


Constructor Summary
P1VectorDemultiplexer(VectorReader in)
          Creates a new demultiplexer on the underlying vector reader
 
Method Summary
 VectorReader getVectorReader(int index)
          Returns a reference on the given vector reader
 
Methods inherited from class epfl.io.VectorDemultiplexer
nStreams
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

P1VectorDemultiplexer

public P1VectorDemultiplexer(VectorReader in)
Creates a new demultiplexer on the underlying vector reader
Parameters:
in - the underlying vector reader
Method Detail

getVectorReader

public VectorReader getVectorReader(int index)
Returns a reference on the given vector reader
Overrides:
getVectorReader in class VectorDemultiplexer
Parameters:
index - 0..nStreams-1
Returns:
null if the stream is closed