public interface Flags extends Facet
Facet
that provides access to predicates about a device.Modifier and Type | Method and Description |
---|---|
int |
flagCount()
Returns the total number of flags the underlying device type has.
|
boolean |
hasFlag(String flag)
Returns true if the underlying device has the specified "flag" set.
|
getContext, getTypeName
boolean hasFlag(String flag)
flag
- the flag nameint flagCount()
Copyright © 2015. All Rights Reserved.