edu.udo.cs.ie.cowbots.logic
Class Meta

Package class diagram package Meta
java.lang.Object
  extended by edu.udo.cs.ie.cowbots.logic.Meta
All Implemented Interfaces:
java.lang.Comparable<Meta>

public class Meta
extends java.lang.Object
implements java.lang.Comparable<Meta>

meta information class. meta informations provide an order over extended logic programs.


Field Summary
protected  int index
           
protected  int time
           
 
Constructor Summary
Meta()
          default constructor
Meta(int time)
          simple constructor - only regard time
Meta(int time, int index)
           
 
Method Summary
 int compareTo(Meta other)
           
 int getIndex()
           
 int getTime()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

time

protected int time

index

protected int index
Constructor Detail

Meta

public Meta()
default constructor


Meta

public Meta(int time)
simple constructor - only regard time

Parameters:
time -

Meta

public Meta(int time,
            int index)
Method Detail

getTime

public int getTime()

getIndex

public int getIndex()

compareTo

public int compareTo(Meta other)
Specified by:
compareTo in interface java.lang.Comparable<Meta>

toString

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