Class OT.InsertFeature
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class OT.InsertFeature

java.lang.Object
   |
   +----OT.Operation
           |
           +----OT.FeatureOperation
                   |
                   +----OT.InsertFeature

public class InsertFeature
extends FeatureOperation
Gen operation to insert a new (floating) feature token.
Version:
1998-11-29
Author:
Andrea Heiberg, University of Arizona

Constructor Index

 o InsertFeature(Feature)

Method Index

 o apply(Representation)
Adds feature to representation.
 o test(Representation)
Tests to see if a new Feature token can be inserted.
 o toString()

Constructors

 o InsertFeature
  public InsertFeature(Feature feature)

Methods

 o test
  public boolean test(Representation rep)
Tests to see if a new Feature token can be inserted. Returns false if this feature token already exists; returns true otherwise.
Overrides:
test in class Operation
 o apply
  public void apply(Representation rep)
Adds feature to representation.
Overrides:
apply in class Operation
 o toString
  public String toString()
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index