|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlrs.visitor.RemoveNth
public class RemoveNth
Removes and returns the nth element in a LRS.
Field Summary | |
---|---|
private static ICounterAlgo |
counterAlgo
|
static RemoveNth |
Singleton
|
Constructor Summary | |
---|---|
private |
RemoveNth()
|
Method Summary | |
---|---|
java.lang.Object |
emptyCase(LRStruct host,
java.lang.Object... param)
Operates on an empty LRStruct host, given an input object. |
java.lang.Object |
nonEmptyCase(LRStruct host,
java.lang.Object... param)
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 RemoveNth Singleton
private static final ICounterAlgo counterAlgo
Constructor Detail |
---|
private RemoveNth()
Method Detail |
---|
public java.lang.Object emptyCase(LRStruct host, java.lang.Object... param)
IAlgo
emptyCase
in interface IAlgo
host
- param
-
public java.lang.Object nonEmptyCase(LRStruct host, java.lang.Object... param)
IAlgo
nonEmptyCase
in interface IAlgo
host
- param
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |