Package org.jspace

Class StackSpace

java.lang.Object
All Implemented Interfaces:
Space

public class StackSpace
extends QueueSpace
  • Field Summary

    Fields inherited from class org.jspace.SequentialSpace

    bound, tuples
  • Constructor Summary

    Constructors
    Constructor Description
    StackSpace()
    Create an unbounded space based on stack.
    StackSpace​(int bound)
    Create a space based on stack of max size bound.
  • Method Summary

    Modifier and Type Method Description
    protected void addTuple​(Tuple tuple)  

    Methods inherited from class org.jspace.QueueSpace

    findAllTuples, findTuple

    Methods inherited from class org.jspace.SequentialSpace

    get, getAll, getp, put, query, queryAll, queryp, size

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • StackSpace

      public StackSpace()
      Create an unbounded space based on stack.
    • StackSpace

      public StackSpace​(int bound)
      Create a space based on stack of max size bound.
      Parameters:
      bound -
  • Method Details