Home
last modified time | relevance | path

Searched refs:allowNulls (Results 1 – 1 of 1) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
DImmutableCollections.java176 if (coll instanceof List12 || (coll instanceof ListN && ! ((ListN<?>)coll).allowNulls)) { in listCopy()
497 private boolean allowNulls() { in allowNulls() method in SubList
498 return root instanceof ListN && ((ListN<?>)root).allowNulls; in allowNulls()
503 if (!allowNulls() && o == null) { in indexOf()
516 if (!allowNulls() && o == null) { in lastIndexOf()
667 private final boolean allowNulls; field in ListN
670 private ListN(E[] elements, boolean allowNulls) { in ListN() argument
672 this.allowNulls = allowNulls; in ListN()
697 return new CollSer(allowNulls ? CollSer.IMM_LIST_NULLS : CollSer.IMM_LIST, elements); in writeReplace()
722 if (!allowNulls && o == null) { in indexOf()
[all …]