protected long
    getElementSize(TypeNotes ti)
    {
        DapType type = ti.getType();
        switch (type.getTypeSort()) {
        case Structure:
        case Sequence:
            return ti.getSize();
        case String:
        case URL:
            return Pointer.SIZE;
        case Enum:
            return getElementSize((TypeNotes) ((Nc4DSP) getDSP()).find(ti.enumbase, NoteSort.TYPE));
        case Opaque:
            return ti.getSize();
        default:
            return type.getSize();
        }
    }
protected long
    getElementSize(TypeNotes ti)
    {
        DapType type = ti.getType();
        switch (type.getTypeSort()) {
        case Structure:
        case Sequence:
            return ti.getSize();
        case String:
        case URL:
            return Pointer.SIZE;
        case Enum:
            return getElementSize((TypeNotes) ((Nc4DSP) getDSP()).find(ti.enumbase, NoteSort.TYPE));
        case Opaque:
            return ti.getSize();
        default:
            return type.getSize();
        }
    }
protected long getElementSize ( TypeNotes ti ) { DapType type = ti . getType ( ) ; switch ( type . getTypeSort ( ) ) { case Structure : case Sequence : return ti . getSize ( ) ; case String : case URL : return Pointer . SIZE ; case Enum : return getElementSize ( ( TypeNotes ) ( ( Nc4DSP ) getDSP ( ) ) . find ( ti . enumbase , NoteSort . TYPE ) ) ; case Opaque : return ti . getSize ( ) ; default : return type . getSize ( ) ; } }
Utilities
Utilities