geforkt von Mirrors/Velocity
These aren't designed to be extended in any way.
Dieser Commit ist enthalten in:
Ursprung
250a35e53b
Commit
a55e690ad6
@ -9,7 +9,7 @@ import java.util.Set;
|
||||
/**
|
||||
* An unsynchronized collection that puts an upper bound on the size of the collection.
|
||||
*/
|
||||
public class CappedSet<T> extends ForwardingSet<T> {
|
||||
public final class CappedSet<T> extends ForwardingSet<T> {
|
||||
|
||||
private final Set<T> delegate;
|
||||
private final int upperSize;
|
||||
|
@ -6,7 +6,7 @@ import java.util.EnumSet;
|
||||
* An immutable map of {@link Enum} entries to {@code int}s.
|
||||
* @param <E> the enum type
|
||||
*/
|
||||
public class Enum2IntMap<E extends Enum<E>> {
|
||||
public final class Enum2IntMap<E extends Enum<E>> {
|
||||
private final int[] mappings;
|
||||
|
||||
private Enum2IntMap(int[] mappings) {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren