Class Found<T>
Object
Found<T>
- Type Parameters:
T- the object-type that may be found.
- All Implemented Interfaces:
Findable<T>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Found
-
-
Method Details
-
getOrLog
Description copied from interface:FindableGets an object or otherwise logs a message describing what went wrong.- Specified by:
getOrLogin interfaceFindable<T>- Parameters:
name- the name of the object to find, as may appear in the log.logger- the logger.- Returns:
- the object if found, otherwise
Optional.empty().
-
getObject
The found object. -
equals
-
hashCode
-
toString
-