Module com.github.weisj.jsvg
Class ValueResourceSupplier<T>
- java.lang.Object
-
- com.github.weisj.jsvg.parser.resources.impl.ValueResourceSupplier<T>
-
- All Implemented Interfaces:
ResourceSupplier<T>
public final class ValueResourceSupplier<T> extends java.lang.Object implements ResourceSupplier<T>
-
-
Constructor Summary
Constructors Constructor Description ValueResourceSupplier(T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
get()
@NotNull java.util.Optional<@NotNull T>
get(@NotNull PlatformSupport platformSupport)
-
-
-
Field Detail
-
value
private final T value
-
-
Constructor Detail
-
ValueResourceSupplier
public ValueResourceSupplier(T value)
-
-
Method Detail
-
get
@NotNull public @NotNull java.util.Optional<@NotNull T> get(@NotNull @NotNull PlatformSupport platformSupport)
- Specified by:
get
in interfaceResourceSupplier<T>
-
get
public T get()
-
-