Package net.mtrop.doom.util
Interface WadUtils.WadFunction<R>
- Type Parameters:
R
- the return type.
- Enclosing class:
- WadUtils
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A functional interface that describes a function that
takes a Wad and returns data, without handling any exceptions thrown by it.
- Since:
- 2.5.0
-
Method Summary
-
Method Details
-
apply
Calls this function with a Wad file.- Parameters:
wad
- the provided Wad to operate on.- Returns:
- the data returned by the function.
- Throws:
IOException
- if any I/O exception occurs.
-