-
- All Implemented Interfaces:
public final class IppCollection
-
-
Field Summary
Fields Modifier and Type Field Description private final Integersizeprivate final Collection<IppAttribute<?>>members
-
Constructor Summary
Constructors Constructor Description IppCollection(IppAttribute<?> attributes)IppCollection(Collection<IppAttribute<?>> members)
-
Method Summary
Modifier and Type Method Description final IntegergetSize()final Collection<IppAttribute<?>>getMembers()final BooleanaddAttribute(String name, IppTag tag, Object values)final Booleanadd(IppAttribute<?> attribute)final BooleanaddAll(Collection<IppAttribute<?>> attributes)final BooleancontainsMember(String memberName)final <T extends Any> IppAttribute<T>getMember(String memberName)final <T extends Any> IppAttribute<T>getMemberOrNull(String memberName)final <T extends Any> Collection<T>getValues(String memberName)final <T extends Any> TgetValue(String memberName)final <T extends Any> TgetValueOrNull(String memberName)StringtoString()final Unitlog(Logger logger, Level level, String prefix)-
-
Constructor Detail
-
IppCollection
IppCollection(IppAttribute<?> attributes)
-
IppCollection
IppCollection(Collection<IppAttribute<?>> members)
-
-
Method Detail
-
getMembers
final Collection<IppAttribute<?>> getMembers()
-
addAttribute
final Boolean addAttribute(String name, IppTag tag, Object values)
-
add
final Boolean add(IppAttribute<?> attribute)
-
addAll
final Boolean addAll(Collection<IppAttribute<?>> attributes)
-
containsMember
final Boolean containsMember(String memberName)
-
getMember
final <T extends Any> IppAttribute<T> getMember(String memberName)
-
getMemberOrNull
final <T extends Any> IppAttribute<T> getMemberOrNull(String memberName)
-
getValues
final <T extends Any> Collection<T> getValues(String memberName)
-
getValueOrNull
final <T extends Any> T getValueOrNull(String memberName)
-
-
-
-