T
- the parameter classpublic class MediaTypeCaseClasses<T extends MediaTypeParameter> extends CaseClasses<T,String[]>
clazz
Constructor and Description |
---|
MediaTypeCaseClasses(Class<T> clazz) |
Modifier and Type | Method and Description |
---|---|
protected T |
create(String[] value)
Creates a new instance of the case class.
|
protected boolean |
matches(T object,
String[] value)
Determines if a case object is "equal to" the given value.
|
all, find, get
public MediaTypeCaseClasses(Class<T> clazz)
protected T create(String[] value)
CaseClasses
create
in class CaseClasses<T extends MediaTypeParameter,String[]>
value
- the value to give the instanceprotected boolean matches(T object, String[] value)
CaseClasses
matches
in class CaseClasses<T extends MediaTypeParameter,String[]>
object
- the case objectvalue
- the valueCopyright © 2012–2023 Michael Angstadt. All rights reserved.