Change type of Window#windows from Set to List
This commit is contained in:
parent
10e3b26ac0
commit
b3ef38b6be
1 changed files with 3 additions and 6 deletions
|
@ -30,9 +30,7 @@ import lombok.Setter;
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
import org.jetbrains.annotations.Nullable;
|
import org.jetbrains.annotations.Nullable;
|
||||||
|
|
||||||
import java.util.HashSet;
|
import java.util.*;
|
||||||
import java.util.Set;
|
|
||||||
import java.util.UUID;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Abstract class for implementing windows in a windowing API.
|
* Abstract class for implementing windows in a windowing API.
|
||||||
|
@ -43,16 +41,15 @@ import java.util.UUID;
|
||||||
*
|
*
|
||||||
* @since v1-alpha0
|
* @since v1-alpha0
|
||||||
*/
|
*/
|
||||||
// TODO monitors
|
|
||||||
@Getter
|
@Getter
|
||||||
@SuppressWarnings({ "JavadocDeclaration" })
|
@SuppressWarnings({ "JavadocDeclaration" })
|
||||||
public abstract class Window implements AutoCloseable {
|
public abstract class Window implements AutoCloseable {
|
||||||
/**
|
/**
|
||||||
* A set of all active windows.
|
* A set of all active windows.
|
||||||
*
|
*
|
||||||
* @since v1-alpha0
|
* @since v1-alpha6
|
||||||
*/
|
*/
|
||||||
private static final @NotNull Set<@NotNull Window> windows = new HashSet<>();
|
private static final @NotNull List<@NotNull Window> windows = new ArrayList<>();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Contains the {@link LoggerInstance} for this instance.
|
* Contains the {@link LoggerInstance} for this instance.
|
||||||
|
|
Loading…
Reference in a new issue