Add another ExceptionSet constructor
This commit is contained in:
parent
d3b2dac30e
commit
ae906f18aa
@ -1,5 +1,7 @@
|
||||
package com.massivecraft.massivecore.collections;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
import com.massivecraft.massivecore.CaseInsensitiveComparator;
|
||||
|
||||
public class ExceptionSet<T>
|
||||
@ -26,6 +28,12 @@ public class ExceptionSet<T>
|
||||
this.standard = standard;
|
||||
}
|
||||
|
||||
public ExceptionSet(boolean standard, String... exceptions)
|
||||
{
|
||||
this.standard = standard;
|
||||
this.exceptions.addAll(Arrays.asList(exceptions));
|
||||
}
|
||||
|
||||
// -------------------------------------------- //
|
||||
// CONTAINS
|
||||
// -------------------------------------------- //
|
||||
|
Loading…
Reference in New Issue
Block a user