Package org.eolang.maven.objectionary
Class Objectionary.Fake
- java.lang.Object
-
- org.eolang.maven.objectionary.Objectionary.Fake
-
- All Implemented Interfaces:
Objectionary
- Enclosing interface:
- Objectionary
public static final class Objectionary.Fake extends Object implements Objectionary
Objectionary with lambda-function Ctor-s for testing.- Since:
- 0.28.11
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eolang.maven.objectionary.Objectionary
Objectionary.Fake
-
-
Constructor Summary
Constructors Constructor Description Fake()Ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontains(String name)Checks whether an Objectionary contains a provided object.org.cactoos.Inputget(String name)Resolve object.StringtoString()
-
-
-
Method Detail
-
get
public org.cactoos.Input get(String name)
Description copied from interface:ObjectionaryResolve object.- Specified by:
getin interfaceObjectionary- Parameters:
name- Object name.- Returns:
- Object code.
-
contains
public boolean contains(String name)
Description copied from interface:ObjectionaryChecks whether an Objectionary contains a provided object.- Specified by:
containsin interfaceObjectionary- Parameters:
name- Object name.- Returns:
- Boolean: "true" if found, "false" if not.
-
-