public interface BlockedProtocolVersions
Modifier and Type | Method and Description |
---|---|
int |
blocksAbove()
Returns the boundary above which protocol versions are blocked, or -1 if none is set.
|
int |
blocksBelow()
Returns the boundary below which protocol versions are blocked, or -1 if none is set.
|
boolean |
contains(int protocolVersion)
Returns whether the given protocol version is blocked per boundary ranges or individually blocked versions.
|
it.unimi.dsi.fastutil.ints.IntSet |
singleBlockedVersions()
Returns a set of blocked protocol versions between the outer block ranges.
|
boolean contains(int protocolVersion)
protocolVersion
- protocol versionint blocksBelow()
int blocksAbove()
it.unimi.dsi.fastutil.ints.IntSet singleBlockedVersions()