mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
Adding missing "containsClass" method to Abilities interface.
This commit is contained in:
parent
45b4c84b53
commit
a125eaa227
1 changed files with 8 additions and 0 deletions
|
@ -241,6 +241,14 @@ public interface Abilities<T extends Ability> extends List<T>, Serializable {
|
||||||
*/
|
*/
|
||||||
boolean containsAll(Abilities<T> abilities);
|
boolean containsAll(Abilities<T> abilities);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Searches this set of abilities for the existence of the give class
|
||||||
|
*
|
||||||
|
* @param classObject
|
||||||
|
* @return True if the passed in class is also in this set of abilities.
|
||||||
|
*/
|
||||||
|
boolean containsClass(Class classObject);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Copies this set of abilities. This copy should be new instances of all
|
* Copies this set of abilities. This copy should be new instances of all
|
||||||
* the contained abilities.
|
* the contained abilities.
|
||||||
|
|
Loading…
Reference in a new issue