@ -141,26 +141,32 @@ final class UnmodifiableMultiValueMap<K,V> implements MultiValueMap<K,V>, Serial
@Override
@Override
public Set < K > keySet ( ) {
public Set < K > keySet ( ) {
if ( this . keySet = = null ) {
Set < K > keySet = this . keySet ;
this . keySet = Collections . unmodifiableSet ( this . delegate . keySet ( ) ) ;
if ( keySet = = null ) {
keySet = Collections . unmodifiableSet ( this . delegate . keySet ( ) ) ;
this . keySet = keySet ;
}
}
return this . keySet ;
return keySet ;
}
}
@Override
@Override
public Set < Entry < K , List < V > > > entrySet ( ) {
public Set < Entry < K , List < V > > > entrySet ( ) {
if ( this . entrySet = = null ) {
Set < Entry < K , List < V > > > entrySet = this . entrySet ;
this . entrySet = new UnmodifiableEntrySet < > ( this . delegate . entrySet ( ) ) ;
if ( entrySet = = null ) {
entrySet = new UnmodifiableEntrySet < > ( this . delegate . entrySet ( ) ) ;
this . entrySet = entrySet ;
}
}
return this . entrySet ;
return entrySet ;
}
}
@Override
@Override
public Collection < List < V > > values ( ) {
public Collection < List < V > > values ( ) {
if ( this . values = = null ) {
Collection < List < V > > values = this . values ;
this . values = new UnmodifiableValueCollection < > ( this . delegate . values ( ) ) ;
if ( values = = null ) {
values = new UnmodifiableValueCollection < > ( this . delegate . values ( ) ) ;
this . values = values ;
}
}
return this . values ;
return values ;
}
}
// unsupported
// unsupported