APIdia Launch Partner
Top Description Fields Constructors Methods
jdk.javadoc.internal.doclets.formats.html.taglets.snippet

public final Class Attributes

extends Object
Class Inheritance
Imports
java.util.Collection, .List, .Map, .Optional, java.util.stream.Collectors

Convenient access to attributes.

Field Summary

Modifier and TypeField and Description
private final Map<String, List<Attribute>>

Constructor Summary

AccessConstructor and Description
public
Attributes(Collection<? extends Attribute> attributes)

Method Summary

Modifier and TypeMethod and Description
public <T extends Attribute> Optional<T>
get(String name, Class<T> type)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

attributesback to summary
private final Map<String, List<Attribute>> attributes

Constructor Detail

Attributesback to summary
public Attributes(Collection<? extends Attribute> attributes)

Method Detail

getback to summary
public <T extends Attribute> Optional<T> get(String name, Class<T> type)