public boolean satisfies(String types) {
        int off = 0;
        int len = Math.min(types.length(), size());
        while (off < len && types.charAt(off) == get(off).type()) {
            off++;
        }
        return ((off == types.length() && off == size()) ||
                (off + 1 == types.length() && types.charAt(off) == '*'));
    }
Check whether the values stored in this object satisfies the
given type string.

@return true if this value sequence satisfies 'types'
@param types type string
jrt/src/com/yahoo/jrt/Values.java