| | |
| | | /** Create a new undefined set. */ |
| | | public EntryIDSet() |
| | | { |
| | | this.key = null; |
| | | this.undefinedSize = Long.MAX_VALUE; |
| | | this(Long.MAX_VALUE); |
| | | } |
| | | |
| | | /** |
| | |
| | | /** |
| | | * Create a new entry ID set from the raw database value. |
| | | * |
| | | * @param keyBytes The database key that contains this value. |
| | | * @param bytes The database value, or null if there are no entry IDs. |
| | | */ |
| | | public EntryIDSet(byte[] keyBytes, byte[] bytes) |
| | | { |
| | | this(keyBytes != null ? ByteString.wrap(keyBytes) : null, |
| | | bytes != null ? ByteString.wrap(bytes) : null); |
| | | } |
| | | |
| | | /** |
| | | * Create a new entry ID set from the raw database value. |
| | | * |
| | | * @param key |
| | | * The database key that contains this value. |
| | | * @param bytes |