Entity
public abstract class SetBag<Entity> extends Object implements IBag
IBag
protected Set<Entity>
items
protected
SetBag(@NonNull Set<Entity> items)
anyOne()
boolean
contains(Entity entity)
isEmpty()
Set<Entity>
items()
int
size()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected final Set<Entity> items
protected SetBag(@NonNull @NonNull Set<Entity> items)
public final int size()
public final Set<Entity> items()
public final boolean isEmpty()
public final Entity anyOne()
public final boolean contains(Entity entity)
Copyright © 2020–2023. All rights reserved.