Class EndpointSet

    • Constructor Detail

      • EndpointSet

        public EndpointSet​(java.lang.String name)
    • Method Detail

      • put

        public void put​(Endpoint endpoint)
      • remove

        public void remove​(Endpoint endpoint)
      • contains

        public boolean contains​(Operation operation)
      • isEmpty

        public boolean isEmpty()
      • size

        public int size()
      • forEach

        public void forEach​(java.util.function.BiConsumer<Operation,​Endpoint> action)
      • endpoints

        public java.util.Collection<Endpoint> endpoints()
      • operations

        public java.util.Collection<Operation> operations()
      • getExactlyOne

        public Endpoint getExactlyOne()
        Get the Endpoint for a singleton EndpointSet
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object