| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlrs.visitor.Remove
public class Remove
Remove all occurances of the item specified as input, if found.
| Field Summary | |
|---|---|
| static Remove | Singleton | 
| Constructor Summary | |
|---|---|
| protected  | Remove() | 
| Method Summary | |
|---|---|
|  java.lang.Object | emptyCase(LRStruct host,
                   java.lang.Object inp)Operates on an empty LRStruct host, given an input object. | 
|  java.lang.Object | nonEmptyCase(LRStruct host,
                         java.lang.Object inp)Operates on a non-empty LRStruct host, given an input object. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final Remove Singleton
| Constructor Detail | 
|---|
protected Remove()
| Method Detail | 
|---|
public java.lang.Object emptyCase(LRStruct host,
                                  java.lang.Object inp)
emptyCase in interface IAlgohost - an empty LRStruct.inp - item to remove.
public java.lang.Object nonEmptyCase(LRStruct host,
                                     java.lang.Object inp)
nonEmptyCase in interface IAlgohost - a non-empty LRStruct.inp - item to remove.
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||