mirror of
https://github.com/usatiuk/dhfs.git
synced 2025-10-28 20:47:49 +01:00
Objects: seal JDataVersionedWrapper
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package com.usatiuk.objects;
|
||||
|
||||
public interface JDataVersionedWrapper {
|
||||
public sealed interface JDataVersionedWrapper permits JDataVersionedWrapperLazy, JDataVersionedWrapperImpl {
|
||||
JData data();
|
||||
|
||||
long version();
|
||||
|
||||
@@ -2,7 +2,7 @@ package com.usatiuk.objects;
|
||||
|
||||
import java.util.function.Supplier;
|
||||
|
||||
public class JDataVersionedWrapperLazy implements JDataVersionedWrapper {
|
||||
public final class JDataVersionedWrapperLazy implements JDataVersionedWrapper {
|
||||
private JData _data;
|
||||
private final long _version;
|
||||
private final int _estimatedSize;
|
||||
|
||||
Reference in New Issue
Block a user