com.devexperts.qd
Interface SymbolReceiver

All Known Implementing Classes:
ByteArrayParser, ConvertingByteArrayParser, SubscriptionBinParser

public interface SymbolReceiver

The SymbolReceiver interface provides a way to retrieve encoded cipher-symbol pair from certain methods. It exists solely because Java does not allow to return multiple values from the method, and wrapping cipher-symbol pair into a new object each time would generate prohibitive amount of garbage.


Method Summary
 void receiveSymbol(int cipher, java.lang.String symbol)
          Remembers specified cipher and symbol.
 

Method Detail

receiveSymbol

void receiveSymbol(int cipher,
                   java.lang.String symbol)
Remembers specified cipher and symbol.