FakeDataSet.FakeData.Segment


public final class FakeDataSet.FakeData.Segment


A segment of FakeData. May consist of an action or exception instead of actual data.

Summary

Public fields

final @Nullable Runnable
final long
int
final @Nullable byte[]
final @Nullable IOException
boolean
boolean
final int

Public methods

boolean
boolean

Public fields

action

public final @Nullable Runnable action

byteOffset

public final long byteOffset

bytesRead

public int bytesRead

data

public final @Nullable byte[] data

exception

public final @Nullable IOException exception

exceptionCleared

public boolean exceptionCleared

exceptionThrown

public boolean exceptionThrown

length

public final int length

Public methods

isActionSegment

public boolean isActionSegment()

isErrorSegment

public boolean isErrorSegment()