Created Attributes#contains(short)

This commit is contained in:
Collin Smith
2020-09-10 13:28:49 -07:00
parent 6592ef0291
commit eca9ba9908

View File

@ -220,6 +220,10 @@ public final class Attributes implements Iterable<StatRef> {
return outputStream.toString(Charset.forName("US-ASCII"));
}
public boolean contains(final short stat) {
return agg.containsAny(stat);
}
public StatRef get(final short stat) {
return agg.get(stat);
}