Module org.htmlunit.corejs
Package org.htmlunit.corejs.javascript
Interface NullabilityDetector.NullabilityAccessor
- Enclosing interface:
- NullabilityDetector
public static interface NullabilityDetector.NullabilityAccessor
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final NullabilityDetector.NullabilityAccessorstatic final NullabilityDetector.NullabilityAccessorstatic final NullabilityDetector.NullabilityAccessor -
Method Summary
Modifier and TypeMethodDescriptioncompress(boolean[] values) booleanisNullable(int index) Note: The return value when providing out-of-bound index is "not defined".
-
Field Details
-
TRUE
-
FALSE
-
INDEX_OUT_OF_BOUNDS
-
-
Method Details
-
isNullable
boolean isNullable(int index) Note: The return value when providing out-of-bound index is "not defined". There's no guarantee that it will provide a result that makes sense, or throw anIndexOutOfBoundsExceptionwhen providing out-of-bound index- Parameters:
index- parameter index- Returns:
trueif the parameter at specified index is nullable,falseotherwise- Throws:
IndexOutOfBoundsException- if index is out of bounds of the method/constructor parameters
-
compress
-