Interface Environment
-
public interface Environment
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default booleancontainsProperty(String name)Return whether thisPropertySourcecontains the given name.Optional<Object>getProperty(String name)Return the value associated with the given name, ornullif not found.
-
-
-
Method Detail
-
containsProperty
default boolean containsProperty(String name)
Return whether thisPropertySourcecontains the given name.This implementation simply checks for a
nullreturn value fromgetProperty(String). Subclasses may wish to implement a more efficient algorithm if possible.- Parameters:
name- the property name to find
-
-