@Override
  public Set asSet() {
    return new SetView();
  }
Return an unmodifiable Set view of this bag. Does not require an iteration by using a
lightweight wrapper.
geode-core/src/main/java/org/apache/geode/cache/query/internal/Bag.java