Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #11507 getAttribute javadoc #11843

Merged
merged 1 commit into from
May 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,28 +38,28 @@ public interface Attributes
/**
* Remove an attribute
* @param name the attribute to remove
* @return the value of the attribute if removed, else null
* @return the value of the attribute if removed, else {@code null}
*/
Object removeAttribute(String name);

/**
* Set an attribute
* @param name the attribute to set
* @param attribute the value to set. A null value is equivalent to removing the attribute.
* @return the previous value of the attribute if set, else null
* @return the previous value of the attribute if set, else {@code null}
*/
Object setAttribute(String name, Object attribute);

/**
* Get an attribute
* @param name the attribute to get
* @return the value of the attribute
* @return the value of the attribute, or {@code null} if no such attribute exists
*/
Object getAttribute(String name);

/**
* Get the immutable set of attribute names.
* @return Set of attribute names
* @return Set of attribute names, or an empty set if there are no attributes.
*/
Set<String> getAttributeNameSet();

Expand Down
Loading