Go to the documentation of this file. 1 package com.cliffc.aa.type;
18 private static final Key K =
new Key(
null,0);
21 private static class Key {
31 @Override
public boolean equals(Object o) {
32 if( !(o instanceof
Key) )
return false;
36 if(
_ts==
ts )
return true;
37 if(
_ts.length !=
ts.length )
return false;
38 for(
int i=0; i<
ts.length; i++ )
118 for(
int i=0; i<
ts.length; i++ )
126 System.arraycopy(flds,0,flds2,0,Math.min(flds.length,len));
final Ary< TypeFld[]> _free
an implementation of language AA
static TypeFld[] copyOf(TypeFld[] flds, int len)
static TypeFld[] ts(TypeFld t0, TypeFld t1)
static final Ary< TypeFlds > TYPEARY
TypeFld[] hash_cons_(TypeFld[] ts)
static TypeFld[] ts(TypeFld t0, TypeFld t1, TypeFld t2)
boolean check_(TypeFld[] ts)
static TypeFld[] ts(TypeFld t0, TypeFld t1, TypeFld t2, TypeFld t3)
static TypeFld malloc(String fld, Type t, Access access, int order)
static TypeFlds tary(int len)
Key(TypeFld[] ts, int hash)
static TypeFld[] clone(TypeFld[] ts)
static TypeFld[] hash_cons(TypeFld[] ts)
static int hash(Type[] ts)
static void free(TypeFld[] ts)
static TypeFld[] ts(TypeFld t0)