|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.mas.kern.LIST<C>
public class LIST<C>
MAS and SAC2/Aldes LIST emulation and adaptor class.
Field Summary | |
---|---|
protected java.util.Iterator<C> |
iter
Internal iterator. |
protected java.util.LinkedList<C> |
list
Internal data structure. |
static LIST<?> |
SIL
|
Constructor Summary | |
---|---|
|
LIST()
LIST constructor. |
protected |
LIST(java.util.LinkedList<C> l)
internal LIST constructor. |
|
LIST(java.util.List<C> l)
LIST constructor. |
Method Summary | ||
---|---|---|
static
|
CCONC(LIST<C> L1,
LIST<C> L2)
Constructive concatenation. |
|
static
|
CINV(LIST<C> L)
Constructive inverse. |
|
static long |
CLOCK()
Clock. |
|
static
|
COMP(C a,
LIST<C> L)
Composition. a is an object. |
|
static
|
COMP2(C a,
C b,
LIST<C> L)
Composition 2. a and b are objects. |
|
static
|
COMP3(C a,
C b,
C c,
C d,
LIST<C> L)
Composition 4. a1, a2, a3 and a4 are objects. |
|
static
|
COMP3(C a,
C b,
C c,
LIST<C> L)
Composition 3. a1, a2 and a3 are objects. |
|
static
|
CONC(LIST<C> L1,
LIST<C> L2)
Concatenation. |
|
static
|
EQUAL(LIST<C> L1,
LIST<C> L2)
Equal. a and b are objects. t=true if a and b are equal and otherwise t=false. |
|
static
|
EXTENT(LIST<C> L)
Extent. |
|
static
|
FIRST(LIST<C> L)
First. |
|
static
|
FOURTH(LIST<C> L)
Fourth. |
|
static
|
INV(LIST<C> L)
Inverse. |
|
static
|
isEmpty(LIST<C> L)
Is empty. |
|
protected static
|
isNull(LIST<C> L)
Is null. |
|
static
|
LELT(LIST<C> L,
int i)
List element. |
|
static
|
LENGTH(LIST<C> L)
Length. |
|
static
|
LIST1(C a)
List, 1 element. a in an object. |
|
static
|
LIST10(C a1,
C a2,
C a3,
C a4,
C a5,
C a6,
C a7,
C a8,
C a9,
C a10)
List, 10 elements. a1, a2, a3, a4, a5, a6, a7, a8, a9 and a10 are objects. |
|
static
|
LIST2(C a,
C b)
List, 2 elements. a and b are objects. |
|
static
|
LIST3(C a,
C b,
C c)
List, 3 elements. a1, a2 and a3 are objects. |
|
static
|
LIST4(C a,
C b,
C c,
C d)
List, 4 elements. a1, a2, a3 and a4 are objects. |
|
static
|
LIST5(C a,
C b,
C c,
C d,
C e)
List, 5 elements. a1,a2,a3,a4 and a5 are objects. |
|
static
|
ORDER(LIST<C> L)
Order. |
|
static
|
RED(LIST<C> L)
Reductum. |
|
static
|
RED2(LIST<C> L,
int i)
Reductum 2. |
|
static
|
RED3(LIST<C> L,
int i)
Reductum 3. |
|
static
|
RED4(LIST<C> L,
int i)
Reductum 4. |
|
static
|
REDUCT(LIST<C> L,
int i)
Reductum. |
|
static
|
SECOND(LIST<C> L)
Second. |
|
static
|
SFIRST(LIST<C> L,
C a)
Set first. |
|
static
|
SRED(LIST<C> L,
LIST<C> LP)
Set reductum. |
|
static
|
THIRD(LIST<C> L)
Third. |
|
java.lang.String |
toString()
To string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final LIST<?> SIL
protected java.util.LinkedList<C> list
protected java.util.Iterator<C> iter
Constructor Detail |
---|
public LIST()
protected LIST(java.util.LinkedList<C> l)
l
- public LIST(java.util.List<C> l)
l
- any Java ListMethod Detail |
---|
protected static <C> boolean isNull(LIST<C> L)
public static <C> boolean isEmpty(LIST<C> L)
public static <C> int LENGTH(LIST<C> L)
public static <C> C FIRST(LIST<C> L)
public static <C> LIST<C> RED(LIST<C> L)
public static <C> void SFIRST(LIST<C> L, C a)
public static <C> void SRED(LIST<C> L, LIST<C> LP)
public static <C> LIST<C> COMP(C a, LIST<C> L)
public java.lang.String toString()
toString
in class java.lang.Object
public static <C> LIST<C> REDUCT(LIST<C> L, int i)
public static <C> LIST<C> RED2(LIST<C> L, int i)
public static <C> LIST<C> RED3(LIST<C> L, int i)
public static <C> LIST<C> RED4(LIST<C> L, int i)
public static long CLOCK()
public static <C> C LELT(LIST<C> L, int i)
public static <C> C SECOND(LIST<C> L)
public static <C> C THIRD(LIST<C> L)
public static <C> C FOURTH(LIST<C> L)
public static <C> LIST<C> CCONC(LIST<C> L1, LIST<C> L2)
public static <C> LIST<C> CINV(LIST<C> L)
public static <C> LIST<C> INV(LIST<C> L)
public static <C> LIST<C> COMP2(C a, C b, LIST<C> L)
public static <C> LIST<C> COMP3(C a, C b, C c, LIST<C> L)
public static <C> LIST<C> COMP3(C a, C b, C c, C d, LIST<C> L)
public static <C> LIST<C> CONC(LIST<C> L1, LIST<C> L2)
public static <C> boolean EQUAL(LIST<C> L1, LIST<C> L2)
public static <C> int EXTENT(LIST<C> L)
public static <C> LIST<C> LIST1(C a)
public static <C> LIST<C> LIST10(C a1, C a2, C a3, C a4, C a5, C a6, C a7, C a8, C a9, C a10)
public static <C> LIST<C> LIST2(C a, C b)
public static <C> LIST<C> LIST3(C a, C b, C c)
public static <C> LIST<C> LIST4(C a, C b, C c, C d)
public static <C> LIST<C> LIST5(C a, C b, C c, C d, C e)
public static <C> int ORDER(LIST<C> L)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |