isAsLeast

public boolean isAsLeast(Visibility visibility)

Checks if the visibility is at least as allowing as the given one.

isAsLeast(NONE) always returns true. isAtLeast(FULL) returns true only if this visibility is exactly FULL.

Return

true if this visibility is equal to the given visibility

Parameters

visibility

the visibility to compare to

Throws

if the given visibility is DEFAULT