@Override public EnvelopeInfo next() { if (ci >= max) { throw new ArrayIndexOutOfBoundsException(format("Current index: %d. Max index: %d", ci, max)); } try { return getEnvelopeInfo(ci++); } catch (InvalidProtocolBufferException e) { throw new InvalidProtocolBufferRuntimeException(e); } } }
public String getChannelId() throws InvalidProtocolBufferException { return isFiltered() ? filteredBlock.getChannelId() : getEnvelopeInfo(0).getChannelId(); }
for (int i = getEnvelopeCount() - 1; i >= 0; --i) { try { EnvelopeInfo envelopeInfo = getEnvelopeInfo(i); if (envelopeInfo.getType() == TRANSACTION_ENVELOPE) { ++ltransactionCount;
@Override public EnvelopeInfo next() { if (ci >= max) { throw new ArrayIndexOutOfBoundsException(format("Current index: %d. Max index: %d", ci, max)); } try { return getEnvelopeInfo(ci++); } catch (InvalidProtocolBufferException e) { throw new InvalidProtocolBufferRuntimeException(e); } } }
@Override public EnvelopeInfo next() { if (ci >= max) { throw new ArrayIndexOutOfBoundsException(format("Current index: %d. Max index: %d", ci, max)); } try { return getEnvelopeInfo(ci++); } catch (InvalidProtocolBufferException e) { throw new InvalidProtocolBufferRuntimeException(e); } } }
public String getChannelId() throws InvalidProtocolBufferException { return isFiltered() ? filteredBlock.getChannelId() : getEnvelopeInfo(0).getChannelId(); }
public String getChannelId() throws InvalidProtocolBufferException { return isFiltered() ? filteredBlock.getChannelId() : getEnvelopeInfo(0).getChannelId(); }
for (int i = getEnvelopeCount() - 1; i >= 0; --i) { try { EnvelopeInfo envelopeInfo = getEnvelopeInfo(i); if (envelopeInfo.getType() == TRANSACTION_ENVELOPE) { ++ltransactionCount;
for (int i = getEnvelopeCount() - 1; i >= 0; --i) { try { EnvelopeInfo envelopeInfo = getEnvelopeInfo(i); if (envelopeInfo.getType() == TRANSACTION_ENVELOPE) { ++ltransactionCount;