Class EqualsTypeAndModeBiPredicate
java.lang.Object
de.hybris.platform.cmsfacades.types.modepredicates.EqualsTypeAndModeBiPredicate
- All Implemented Interfaces:
BiPredicate<String,StructureTypeMode>
public class EqualsTypeAndModeBiPredicate
extends Object
implements BiPredicate<String,StructureTypeMode>
BiPredicate implementation that checks if the typeCode and Mode are the same as the as defined for this Predicate instance.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StructureTypeModegetMode()protected StringvoidsetMode(StructureTypeMode mode) voidsetTypeCode(String typeCode) booleantest(String typeCode, StructureTypeMode mode) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiPredicate
and, negate, or
-
Constructor Details
-
EqualsTypeAndModeBiPredicate
public EqualsTypeAndModeBiPredicate()
-
-
Method Details
-
test
- Specified by:
testin interfaceBiPredicate<String,StructureTypeMode>
-
getMode
-
setMode
-
getTypeCode
-
setTypeCode
-