Pattern
object.Collection
containing the exclusive disjunction (symmetric difference) of the given
Collection
s.ArrayList
, an unbounded list with constant access time and good performance for
most additions at the end of the list, but which performs poorly when deleting items, when inserting a new item
in the list and when appending a new item requires resizing the allocated space.BlockingQueue
, an unbounded queue that additionally supports operations that wait
for the queue to become non-empty when retrieving an element.LinkedList
, optimized for insertion and deletion of items, and for sequential
iteration over the items, but not for quick access to random positions in the list.Map
, providing good speed for insertion, retrieval and deletion of items, but
with no guarantees on the order of the map.Map
, which ensures that iterating the map will always return the entries in the
same order as they were added.Set
, which ensures that iterating the set will always return the entries in the
same order as they were added.Queue
, which instead of the FIFO ordering uses the natural order of the items
added to the queue, so that the retrieved item is always the lowest one.Queue
, an unbounded list where items are ordered in a FIFO (first-in-first-out)
manner.Set
, providing good speed for insertion, retrieval and deletion of items, but
with no guarantees on the order of the set.SortedMap
, which ensures that iterating the map will always return the entries in
the natural order of the keys.SortedSet
, which ensures that iterating the set will always return the entries in
the natural order of the items.Collection
containing the intersection of the given Collection
s.String
using JSON String rules: escapes with backslash double quotes,
back and forward slashes, newlines, the control characters \b
, \t
and \f
, and with
\
uXXXX
any non-ASCII characters.JSONTool.fromString(String)
insteadString
for the specified String
.String
for the specified String
.SecureIntrospectorImpl
is way too restrictive with allowed Class
methods.SecureUberspector
is way too restrictive regarding Class
methods allowed.Files.size(Path)
.Collection
containing the union of the given Collection
s.VelocityContextInitializer
components.DirectoryStream
returned by Files.newDirectoryStream(java.nio.file.Path)
since the returned class
may be private and Velocity tries to call it.String
using numerical XML entities.VelocityContext
to add some retro compatibility (for example support for $velocityCount
and $velocityHasNext).Copyright © 2004–2021 XWiki. All rights reserved.