- All Implemented Interfaces:
 
Claims 
- Since:
 
- 1.1.0
 
- Author:
 
- Sergio del Amo
 
- 
Constructor Summary
Constructors
Creates a MapClaims with the corresponding backing map.
 
 
 
- 
Method Summary
boolean
 
Retrieves a value from the claims for the given name.
 
 
 
 
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
 
- 
Constructor Details
- 
MapClaims
Creates a MapClaims with the corresponding backing map.
- Parameters:
 
m - is the backing map 
 
 
- 
Method Details
- 
get
Description copied from interface: Claims 
Retrieves a value from the claims for the given name.
- Specified by:
 
get in interface Claims 
- Parameters:
 
claimName - the claim name 
- Returns:
 
null if the claim not exist or the claim value. 
 
- 
names
- Specified by:
 
names in interface Claims 
- Returns:
 
- All claim names.
 
 
- 
contains
public boolean contains(String claimName) 
- Specified by:
 
contains in interface Claims 
- Parameters:
 
claimName - the claim name 
- Returns:
 
false if the claim does not exist.