@FunctionalInterface
public interface CapabilitiesFilter
extends java.util.function.Function<java.util.Map<java.lang.String,java.lang.Object>,java.util.Map<java.lang.String,java.lang.Object>>
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
apply(java.util.Map<java.lang.String,java.lang.Object> capabilities)
Take a map of capabilties and extract those specific to a browser.
|
java.util.Map<java.lang.String,java.lang.Object> apply(java.util.Map<java.lang.String,java.lang.Object> capabilities)
apply
in interface java.util.function.Function<java.util.Map<java.lang.String,java.lang.Object>,java.util.Map<java.lang.String,java.lang.Object>>
Map
of capabilities if any match, or null
otherwise.