Class ByteSource.Multi

java.lang.Object
org.apache.cassandra.utils.bytecomparable.ByteSource.Multi
All Implemented Interfaces:
ByteSource
Enclosing interface:
ByteSource

public static class ByteSource.Multi extends Object implements ByteSource
Combination of multiple byte sources. Adds ByteSource.NEXT_COMPONENT before sources, or ByteSource.NEXT_COMPONENT_NULL if next is null.
  • Method Details

    • next

      public int next()
      Description copied from interface: ByteSource
      Consume the next byte, unsigned. Must be between 0 and 255, or END_OF_STREAM if there are no more bytes.
      Specified by:
      next in interface ByteSource