You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
678 B
26 lines
678 B
package com.fanruan.api.plugin; |
|
|
|
import com.fr.plugin.ExtraClassManager; |
|
import com.fr.stable.fun.mark.Mutable; |
|
|
|
import java.util.Set; |
|
|
|
public class PluginKit { |
|
/** |
|
* 返回指定集合的不可变数组 |
|
* @param string 字符串 |
|
* @return 数组 |
|
* */ |
|
public <T extends Mutable> Set<T> getArray(String string) { |
|
return ExtraClassManager.getInstance().getArray(string); |
|
} |
|
|
|
/** |
|
* 返回指定集合的不可变数组 |
|
* @param string 字符串 |
|
* @return 数组 |
|
* */ |
|
public <T extends Mutable> Set<T> getArray(String string, Mutable m) { |
|
return ExtraClassManager.getInstance().getArray(string, m); |
|
} |
|
}
|
|
|