protected final Accessor getAccessor (String name)
    {
        int low = 0, high = _accessors.length-1;
        while (low <= high) {
            int mid = (low + high) >> 1;
            Accessor midVal = _accessors[mid];
            int cmp = midVal.name.compareTo(name);
            if (cmp < 0) {
                low = mid + 1;
            } else if (cmp > 0) {
                high = mid - 1;
            } else {
                return midVal; // key found
            }
        }
        throw new IllegalArgumentException("No such field " + getClass().getName() + "." + name);
    }
protected final Accessor getAccessor ( String name ) { int low = 0 , high = _accessors . length - 1 ; while ( low <= high ) { int mid = ( low + high ) > > 1 ; Accessor midVal = _accessors [ mid ] ; int cmp = midVal . name . compareTo ( name ) ; if ( cmp < 0 ) { low = mid + 1 ; } else if ( cmp > 0 ) { high = mid - 1 ; } else { return midVal ; } } throw new IllegalArgumentException ( "No such field " + getClass ( ) . getName ( ) + "." + name ) ; }
Returns the {@link Accessor} for the field with the specified name throws an {@link
IllegalArgumentException}.