|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.nimbusds.oauth2.sdk.id.Identifier com.nimbusds.oauth2.sdk.id.Audience
@Immutable public final class Audience
Audience identifier. This class is immutable.
Constructor Summary | |
---|---|
Audience()
Creates a new audience identifier with a randomly generated value. |
|
Audience(int length)
Creates a new audience identifier with a randomly generated value of the specified length. |
|
Audience(String value)
Creates a new audience identifier with the specified value. |
Method Summary | |
---|---|
boolean |
equals(Object object)
Overrides Object.equals() . |
Methods inherited from class com.nimbusds.oauth2.sdk.id.Identifier |
---|
getValue, hashCode, toJSONString, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Audience(String value)
value
- The audience identifier value. Must not be null
or empty string.public Audience(int length)
length
- The number of characters. Must be a positive integer.public Audience()
Method Detail |
---|
public boolean equals(Object object)
Identifier
Object.equals()
.
equals
in class Identifier
object
- The object to compare to.
true
if the objects have the same value, otherwise
false
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |