Meaning & use

accessor

noun·Advancedformaltechnical

Last updated

UK/əkˈsesə/
US/əkˈsesər/

Meanings

  1. nouncountablelegalformal

    In law, a person who helps someone commit a crime without being the main offender.

    Grammar: Use it with 'to' for the crime: accessor to the crime.

    Patterns

    • accessor to something

    The court treated him as an accessor to the fraud, not the planner.

    She was charged as an accessor to the robbery.

    An accessor may receive a lighter sentence than the principal offender.

  2. nouncountablecomputingtechnical

    In computing and databases, a function or method that reads or changes stored data.

    Grammar: Often used in programming contexts: a getter or setter accessor.

    Patterns

    • accessor function
    • accessor method

    The class has an accessor that returns the user's name.

    Use an accessor to read the value instead of touching the field directly.

    The accessor method hides the internal data structure.

Word forms

pluralaccessors

Common combinations

accessor to a crime
He was named as an accessor to the crime.
accessor method
The accessor method simply returns the stored value.
accessor function
Write an accessor function for each private field.
charged as an accessor
She was charged as an accessor after the theft.

Synonyms and how they differ

accessory
'Accessory' is the usual everyday word for a helper in a crime, while 'accessor' is more formal and mostly legal.
accomplice
'Accomplice' suggests someone who actively takes part in the crime, often more involved than an accessor.

Word family

accessory noun
A person who helps in a crime, or an extra item that completes something.
access noun
The right or ability to enter, use, or see something.

Commonly confused: accessor or assessor? accessor or accessory?

accessor vs assessor

'Assessor' means someone who evaluates or values something, such as a tax assessor; 'accessor' is about helping in a crime or reading data.

accessor vs accessory

'Accessory' is the common word for both a crime helper and a fashion item; 'accessor' is rare outside law and computing.

Practice

The judge said he was an ______ to the crime because he drove the getaway car.

Make it your own

Write a sentence using “accessor”, then check it and compare it with the examples above.

Your sentence stays on this page and is not sent anywhere.

Explore more words