Class SandboxHashSet<T extends SandboxGraphElement>

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<T>, java.util.Collection<T>, java.util.Set<T>

    public class SandboxHashSet<T extends SandboxGraphElement>
    extends java.util.HashSet<T>
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean add​(T ge)  
      SandboxHashSet<T> filter​(java.lang.String attr, java.lang.Object value)  
      int getSandboxInstanceID()
      Returns the sandbox instance this graph element set belongs to
      T one()
      Returns one item from the set
      • Methods inherited from class java.util.HashSet

        clear, clone, contains, isEmpty, iterator, remove, size, spliterator
      • Methods inherited from class java.util.AbstractSet

        equals, hashCode, removeAll
      • Methods inherited from class java.util.AbstractCollection

        addAll, containsAll, retainAll, toArray, toArray, toString
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Collection

        parallelStream, removeIf, stream, toArray
      • Methods inherited from interface java.lang.Iterable

        forEach
      • Methods inherited from interface java.util.Set

        addAll, containsAll, equals, hashCode, removeAll, retainAll, toArray, toArray
    • Constructor Detail

      • SandboxHashSet

        public SandboxHashSet​(int sandboxInstanceID)
      • SandboxHashSet

        public SandboxHashSet​(Sandbox sandbox)
      • SandboxHashSet

        public SandboxHashSet​(SandboxGraph graph)
    • Method Detail

      • getSandboxInstanceID

        public int getSandboxInstanceID()
        Returns the sandbox instance this graph element set belongs to
        Returns:
      • one

        public T one()
        Returns one item from the set
        Returns:
      • filter

        public SandboxHashSet<T> filter​(java.lang.String attr,
                                        java.lang.Object value)