Code example for Set

Methods: iterator

0
    return map.entrySet().stream(); 
  } 
 
  @Override 
  public Iterator<Map.Entry<String, Object>> iterator() {
    return new Iter(map.entrySet().iterator()); 
  } 
 
  public int size() { 
    return map.size(); 
  } 
 
  public JsonObject clear() { 
    map.clear(); 
    return this;
  } 
 
  public boolean isEmpty() { 
    return map.isEmpty(); 
  } 
Experience pair programming with AI  Get Codota for Java