Package org.opendaylight.yangtools.util
Class Immutables
- java.lang.Object
-
- org.opendaylight.yangtools.util.Immutables
-
public final class Immutables extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isImmutable(Object obj)
Determines if object is known to be immutable
-
-
-
Method Detail
-
isImmutable
public static boolean isImmutable(Object obj)
Determines if object is known to be immutableNote: This method may return false to immutable objects which immutability is not known, was defined not using concepts term.
- Parameters:
obj
- Reference to check- Returns:
- true if object is known to be immutable false otherwise.
-
-