/** * Returns true, if the key group with the given id was already started. The key group might not yet be finished, * if it's id is equal to the return value of {@link #getCurrentKeyGroup()}. */ public boolean isKeyGroupAlreadyStarted(int keyGroupId) { return NO_OFFSET_SET != keyGroupRangeOffsets.getKeyGroupOffset(keyGroupId); }
/** * Returns true, if the key group with the given id was already started. The key group might not yet be finished, * if it's id is equal to the return value of {@link #getCurrentKeyGroup()}. */ public boolean isKeyGroupAlreadyStarted(int keyGroupId) { return NO_OFFSET_SET != keyGroupRangeOffsets.getKeyGroupOffset(keyGroupId); }
/** * Returns true, if the key group with the given id was already started. The key group might not yet be finished, * if it's id is equal to the return value of {@link #getCurrentKeyGroup()}. */ public boolean isKeyGroupAlreadyStarted(int keyGroupId) { return NO_OFFSET_SET != keyGroupRangeOffsets.getKeyGroupOffset(keyGroupId); }
/** * * @param keyGroupId the id of a key-group. the id must be contained in the range of this handle. * @return offset to the position of data for the provided key-group in the stream referenced by this state handle */ public long getOffsetForKeyGroup(int keyGroupId) { return groupRangeOffsets.getKeyGroupOffset(keyGroupId); }
/** * Returns true, if the key group with the given id was already started. The key group might not yet be finished, * if it's id is equal to the return value of {@link #getCurrentKeyGroup()}. */ public boolean isKeyGroupAlreadyStarted(int keyGroupId) { return NO_OFFSET_SET != keyGroupRangeOffsets.getKeyGroupOffset(keyGroupId); }
/** * * @param keyGroupId the id of a key-group. the id must be contained in the range of this handle. * @return offset to the position of data for the provided key-group in the stream referenced by this state handle */ public long getOffsetForKeyGroup(int keyGroupId) { return groupRangeOffsets.getKeyGroupOffset(keyGroupId); }
/** * * @param keyGroupId the id of a key-group. the id must be contained in the range of this handle. * @return offset to the position of data for the provided key-group in the stream referenced by this state handle */ public long getOffsetForKeyGroup(int keyGroupId) { return groupRangeOffsets.getKeyGroupOffset(keyGroupId); }
/** * * @param keyGroupId the id of a key-group. the id must be contained in the range of this handle. * @return offset to the position of data for the provided key-group in the stream referenced by this state handle */ public long getOffsetForKeyGroup(int keyGroupId) { return groupRangeOffsets.getKeyGroupOffset(keyGroupId); }