Buffer
cern.jet.stat

Class Buffer

    • Constructor Summary

      Constructors 
      Constructor and Description
      Buffer(int k)
      This method was created in VisualAge.
    • Method Summary

      Methods 
      Modifier and TypeMethod and Description
      abstract voidclear()
      Clears the receiver.
      booleanisAllocated()
      Returns whether the receiver is already allocated.
      abstract booleanisEmpty()
      Returns whether the receiver is empty.
      abstract booleanisFull()
      Returns whether the receiver is empty.
      booleanisPartial()
      Returns whether the receiver is partial.
      intlevel()
      Returns whether the receiver's level.
      voidlevel(int level)
      Sets the receiver's level.
      abstract intsize()
      Returns the number of elements contained in the receiver.
      abstract voidsort()
      Sorts the receiver.
      intweight()
      Returns whether the receiver's weight.
      voidweight(int weight)
      Sets the receiver's weight.
    • Field Detail

      • weight

        public int weight
      • level

        public int level
      • k

        public int k
      • isAllocated

        public boolean isAllocated
    • Constructor Detail

      • Buffer

        public Buffer(int k)
        This method was created in VisualAge.
        Parameters:
        k - int
    • Method Detail

      • clear

        public abstract void clear()
        Clears the receiver.
      • isAllocated

        public boolean isAllocated()
        Returns whether the receiver is already allocated.
      • isEmpty

        public abstract boolean isEmpty()
        Returns whether the receiver is empty.
      • isFull

        public abstract boolean isFull()
        Returns whether the receiver is empty.
      • isPartial

        public boolean isPartial()
        Returns whether the receiver is partial.
      • level

        public int level()
        Returns whether the receiver's level.
      • level

        public void level(int level)
        Sets the receiver's level.
      • size

        public abstract int size()
        Returns the number of elements contained in the receiver.
      • sort

        public abstract void sort()
        Sorts the receiver.
      • weight

        public int weight()
        Returns whether the receiver's weight.
      • weight

        public void weight(int weight)
        Sets the receiver's weight.

SCaVis 1.7 © jWork.org