{ } }
Tree PREV CLASS NEXT CLASS FRAMES NO FRAMES SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD com.ibm.portal.devicesupport
Interface DeviceClassEquation
public interface DeviceClassEquationA device equation that allows for boolean logic between device classes. Valid logic includes AND (represented by +), OR (represented by /), NOT (represented by !), and parentheses use. An equation may contain no operators and only consist of one device class. Examples Equations: smartphone+ios (ios+!tablet)/android smartphone
- Since:
- 8.5
Method Summary java.lang.String getEquation()
boolean matches(java.util.Set<DeviceClass> deviceClasses)
Method Detail matches
boolean matches(java.util.Set<DeviceClass> deviceClasses)
- Parameters:
- deviceClasses - a set of device classes that are currently true.
- Returns:
- true if the equation matches, false otherwise.
getEquation
java.lang.String getEquation()
- Returns:
- the equation in string form.
Tree PREV CLASS NEXT CLASS FRAMES NO FRAMES SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD