Modifier and Type | Method and Description |
---|---|
int |
getMask()
Obtains the integer value for this enum which can be included in a mask.
|
static boolean |
isSet(int flags,
MaskedFlag test)
Indicates whether the passed flag has the relevant masked flag high.
|
static int |
mask(MaskedFlag... flags)
Fetch the integer mask for all presented flags.
|
int getMask()
static int mask(MaskedFlag... flags)
flags
- to mask (null or empty returns zero)static boolean isSet(int flags, MaskedFlag test)
flags
- to evaluate (usually produced by
mask(org.lmdbjava.MaskedFlag...)
test
- the flag being sought (required)Copyright © 2016–2018 The LmdbJava Open Source Project. All rights reserved.