< prev index next >

src/java.base/share/classes/java/util/ArrayDeque.java

Print this page
rev 51958 : 8211122: Reduce the number of internal classes made accessible to jdk.unsupported
Reviewed-by: alanb, dfuchs, kvn

*** 35,46 **** package java.util; import java.io.Serializable; import java.util.function.Consumer; import java.util.function.Predicate; ! import java.util.function.UnaryOperator; ! import jdk.internal.misc.SharedSecrets; /** * Resizable-array implementation of the {@link Deque} interface. Array * deques have no capacity restrictions; they grow as necessary to support * usage. They are not thread-safe; in the absence of external --- 35,46 ---- package java.util; import java.io.Serializable; import java.util.function.Consumer; import java.util.function.Predicate; ! ! import jdk.internal.access.SharedSecrets; /** * Resizable-array implementation of the {@link Deque} interface. Array * deques have no capacity restrictions; they grow as necessary to support * usage. They are not thread-safe; in the absence of external
< prev index next >