com.iprogrammerr.bright.server.loading.StickyLoading Maven / Gradle / Ivy
package com.iprogrammerr.bright.server.loading;
public final class StickyLoading implements Loading {
private final Loading base;
private T value;
public StickyLoading(Loading base) {
this.base = base;
}
@Override
public T load() {
if (value == null) {
value = base.load();
}
return value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy