Package dev.twilite.game.stream
Class BaseItemView<T extends BaseItem,V extends BaseItemView<T,V>>
java.lang.Object
dev.twilite.game.stream.View<T>
dev.twilite.game.stream.BaseItemView<T,V>
- All Implemented Interfaces:
ItemViewFilters<T,,V> Iterable<T>
- Direct Known Subclasses:
ItemView
public abstract class BaseItemView<T extends BaseItem,V extends BaseItemView<T,V>>
extends View<T>
implements ItemViewFilters<T,V>
View specialization for item wrappers.
-
Method Summary
Methods inherited from class dev.twilite.game.stream.View
count, exists, first, iterator, map, mapToInt, stream, toListMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.twilite.game.stream.ItemViewFilters
id, marketable, nameContains, named, named, noted, placeholder, stackable, stackSize, stackSize, tradeableMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
filter
Returns a new item view with an additional filter. -
not
Returns a new item view with the most recent filter negated. -
or
Returns a new item view with the supplied filter OR'ed with the most recent filter.
-