Package com._1c.g5.v8.dt.bsl.scoping
Class EnvironmentFilter<T extends Environmental>
- java.lang.Object
-
- com._1c.g5.v8.dt.bsl.scoping.EnvironmentFilter<T>
-
- All Implemented Interfaces:
com.google.common.base.Predicate<T>
,Predicate<T>
public class EnvironmentFilter<T extends Environmental> extends Object implements com.google.common.base.Predicate<T>
Filters environments
-
-
Constructor Summary
Constructors Constructor Description EnvironmentFilter(Environments envs)
Initialize by environment
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
apply(T input)
static <T extends Environmental>
EnvironmentFilter<T>get(Environments envs)
Gets environment filter
-
-
-
Constructor Detail
-
EnvironmentFilter
public EnvironmentFilter(Environments envs)
Initialize by environment- Parameters:
envs
- filteringEnvironments
, can't benull
-
-
Method Detail
-
get
public static <T extends Environmental> EnvironmentFilter<T> get(Environments envs)
Gets environment filter- Parameters:
envs
- actualEnvironments
for getting filter, can't benull
- Returns:
- exist filter, never
null
-
apply
public boolean apply(T input)
- Specified by:
apply
in interfacecom.google.common.base.Predicate<T extends Environmental>
-
-