MCPcopy Create free account
hub / github.com/PCGen/pcgen / unwrap

Method unwrap

PCGen-base/code/src/java/pcgen/base/util/MappedDeque.java:157–161  ·  view source on GitHub ↗

Unwraps the null object, since Deque does not support null values

(Object o)

Source from the content-addressed store, hash-verified

155 * Unwraps the null object, since Deque does not support null values
156 */
157 @SuppressWarnings("PMD.CompareObjectsWithEquals")
158 private static Object unwrap(Object o)
159 {
160 return (NULL == o) ? null : o;
161 }
162
163 /**
164 * Wraps the null object, since Deque does not support null values

Callers 2

popMethod · 0.95
peekMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected