Packages

p

java

util

package util

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. util
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Package Members

  1. package concurrent
  2. package function
  3. package jar
  4. package random
  5. package regex
  6. package stream
  7. package zip

Type Members

  1. abstract class AbstractCollection[E] extends Collection[E]
  2. abstract class AbstractList[E] extends AbstractCollection[E] with List[E]
  3. abstract class AbstractMap[K, V] extends Map[K, V]
  4. abstract class AbstractQueue[E] extends AbstractCollection[E] with Queue[E]
  5. abstract class AbstractSequentialList[E] extends AbstractList[E]
  6. abstract class AbstractSet[E] extends AbstractCollection[E] with Set[E]
  7. class ArrayDeque[E] extends AbstractCollection[E] with Deque[E] with Cloneable with Serializable

    Resizable-array implementation of the Deque interface.

    Resizable-array implementation of the 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 synchronization, they do not support concurrent access by multiple threads. Null elements are prohibited. This class is likely to be faster than java.util.Stack when used as a stack, and faster than LinkedList when used as a queue.

    Exceptions include remove, removeFirstOccurrence, removeLastOccurrence, contains, iterator.remove(), and the bulk operations, all of which run in linear time.

    The iterators returned by this class's iterator method are fail-fast: If the deque is modified at any time after the iterator is created, in any way except through the iterator's own remove method, the iterator will generally throw a ConcurrentModificationException. Thus, in the face of concurrent modification, the iterator fails quickly and cleanly, rather than risking arbitrary, non-deterministic behavior at an undetermined time in the future.

    Note that the fail-fast behavior of an iterator cannot be guaranteed as it is, generally speaking, impossible to make any hard guarantees in the presence of unsynchronized concurrent modification. Fail-fast iterators throw ConcurrentModificationException on a best-effort basis. Therefore, it would be wrong to write a program that depended on this exception for its correctness: the fail-fast behavior of iterators should be used only to detect bugs.

    This class and its iterator implement all of the optional methods of the Collection and Iterator interfaces.

    This class is a member of the <a href="/java.base/java/util/package-summary.html#CollectionsFramework"> Java Collections Framework.

    Since

    1.6

  8. class ArrayList[E] extends AbstractList[E] with List[E] with RandomAccess with Cloneable with Serializable
  9. class BitSet extends Serializable with Cloneable
  10. trait Collection[E] extends Iterable[E]
  11. trait Comparator[A] extends AnyRef
  12. class ConcurrentModificationException extends RuntimeException
  13. class Date extends Serializable with Cloneable with Comparable[Date]

    Ported from Scala JS and Apache Harmony

    Ported from Scala JS and Apache Harmony

    • omits deprecated methods
    • toString code created ab ovo for Scala Native.
  14. trait Deque[E] extends Queue[E] with SequencedCollection[E]
  15. abstract class Dictionary[K, V] extends AnyRef
  16. class DoubleSummaryStatistics extends AnyRef
  17. class DuplicateFormatFlagsException extends IllegalFormatException
  18. class EmptyStackException extends RuntimeException
  19. final class EnumSet[E <: _Enum[E]] extends AbstractSet[E] with Cloneable with Serializable
  20. trait Enumeration[E] extends AnyRef
  21. class FormatFlagsConversionMismatchException extends IllegalFormatException
  22. trait Formattable extends AnyRef
  23. final class Formatter extends FormatterImpl
  24. class FormatterClosedException extends IllegalStateException
  25. abstract class FormatterCompanionImpl extends AnyRef
  26. class HashMap[K, V] extends AbstractMap[K, V] with Serializable with Cloneable
  27. class HashSet[E] extends AbstractSet[E] with Set[E] with Cloneable with Serializable
  28. class Hashtable[K, V] extends Dictionary[K, V] with Map[K, V] with Cloneable with Serializable
  29. class IdentityHashMap[K, V] extends AbstractMap[K, V] with Map[K, V] with Serializable with Cloneable
  30. class IllegalFormatCodePointException extends IllegalFormatException
  31. class IllegalFormatConversionException extends IllegalFormatException
  32. class IllegalFormatException extends IllegalArgumentException
  33. class IllegalFormatFlagsException extends IllegalFormatException
  34. class IllegalFormatPrecisionException extends IllegalFormatException
  35. class IllegalFormatWidthException extends IllegalFormatException
  36. class IllformedLocaleException extends RuntimeException
  37. class InputMismatchException extends NoSuchElementException
  38. class IntSummaryStatistics extends AnyRef
  39. class InvalidPropertiesFormatException extends IOException
  40. trait Iterator[E] extends AnyRef
  41. class LinkedHashMap[K, V] extends HashMap[K, V] with SequencedMap[K, V]
  42. class LinkedHashSet[E] extends HashSet[E] with SequencedSet[E] with Cloneable with Serializable
  43. class LinkedList[E] extends AbstractSequentialList[E] with List[E] with Deque[E] with Cloneable with Serializable
  44. trait List[E] extends SequencedCollection[E]
  45. trait ListIterator[E] extends Iterator[E]
  46. class LongSummaryStatistics extends AnyRef
  47. trait Map[K, V] extends AnyRef
  48. class MissingFormatArgumentException extends IllegalFormatException
  49. class MissingFormatWidthException extends IllegalFormatException
  50. class MissingResourceException extends RuntimeException
  51. trait NavigableMap[K, V] extends SortedMap[K, V]
  52. trait NavigableSet[E] extends SortedSet[E]
  53. class NoSuchElementException extends RuntimeException
  54. final class Optional[T] extends AnyRef
  55. final class OptionalDouble extends AnyRef
  56. final class OptionalInt extends AnyRef
  57. final class OptionalLong extends AnyRef
  58. trait PrimitiveIterator[T, T_CONS] extends Iterator[T]
  59. class PriorityQueue[E] extends AbstractQueue[E] with Serializable
  60. class Properties extends Hashtable[AnyRef, AnyRef]
  61. trait Queue[E] extends Collection[E]
  62. class Random extends Serializable

    Ported from Apache Harmony and described by Donald E.

    Ported from Apache Harmony and described by Donald E. Knuth in The Art of Computer Programming, Volume 2: Seminumerical Algorithms, section 3.2.1.

  63. trait RandomAccess extends AnyRef
  64. trait SequencedCollection[E] extends Collection[E]
  65. trait SequencedMap[K, V] extends Map[K, V]
  66. trait SequencedSet[E] extends SequencedCollection[E] with Set[E]
  67. class ServiceConfigurationError extends Error
  68. final class ServiceLoader[S <: AnyRef] extends Iterable[S]
  69. trait Set[E] extends Collection[E]
  70. trait SortedMap[K, V] extends Map[K, V] with SequencedMap[K, V]
  71. trait SortedSet[E] extends Set[E] with SequencedSet[E]
  72. trait Spliterator[T] extends AnyRef
  73. final class SplittableRandom extends RandomGenerator
  74. final class StringJoiner extends AnyRef
  75. class StringTokenizer extends Enumeration[AnyRef]
  76. class TooManyListenersException extends Exception
  77. class TreeMap[K, V] extends AbstractMap[K, V] with NavigableMap[K, V] with Cloneable with Serializable
  78. class TreeSet[E] extends AbstractSet[E] with NavigableSet[E] with Cloneable with Serializable
  79. final class UUID extends Serializable with Comparable[UUID]
  80. class UnknownFormatConversionException extends IllegalFormatException
  81. class UnknownFormatFlagsException extends IllegalFormatException
  82. class Vector[E <: AnyRef] extends AbstractList[E] with List[E] with RandomAccess with Cloneable with Serializable
    Annotations
    @SerialVersionUID()
  83. class WeakHashMap[K, V] extends AbstractMap[K, V] with Serializable with Cloneable

Value Members

  1. object AbstractMap
  2. object ArrayDeque extends Serializable
  3. object Arrays
  4. object Base64
  5. object Collections
  6. object Comparator
  7. object Date extends Serializable
  8. object EnumSet extends Serializable
  9. object FormattableFlags
  10. object Formatter extends FormatterCompanionImpl
  11. object FormatterImpl extends FormatterCompanionImpl
  12. object HashMap extends Serializable
  13. object HashSet extends Serializable
  14. object IdentityHashMap extends Serializable
  15. object LinkedHashMap extends Serializable
  16. object LinkedHashSet extends Serializable
  17. object LinkedList extends Serializable
  18. object List
  19. object Map
  20. object Objects
  21. object Optional
  22. object OptionalDouble
  23. object OptionalInt
  24. object OptionalLong
  25. object PrimitiveIterator
  26. object ServiceLoader
  27. object Set
  28. object Spliterator
  29. object Spliterators

    This is a basic, limit implementation of Spliterators.

    This is a basic, limit implementation of Spliterators. It is a basis for further Scala Native development, especially in the java.util.concurrent package.

    It is most empathically NOT intended for production use.

    The limitations of the this implementation may not be as strong as they appear at first blush. Many/most classes which extend Spliterator (no s) supply more competent and efficient implementations.

    The implementation of methods on Spliterators are, to current knowledge, robust. Many of these methods return spliterators. Those spliterators have some known limitations and may have others.

    Future evolutions should, over time, remove these limitations:

    • spliterators specified by Java as late-binding may not be late-binding.
    • spliterators never check for concurrent modification.
    • A number of spliterator methods have JVM descriptions of what happens after iteration starts and one of certain methods, say, trySplit() is called. This implementation may not follow the JVM description. Even in Java, it is better to never trySplit() after having begun using a spliterator to iterate.

    Also noted:

    • Java documents that spliterators need not be thread-safe. This implementation follows that guidance.
  30. object UUID extends Serializable
  31. object Vector extends Serializable
    Annotations
    @SerialVersionUID()
  32. object WeakHashMap extends Serializable
  33. object WindowsHelperMethods

    Windows implementation specific helper methods, not available in public API (javalib does not contain them in published jar) Not made java package private only because of usage inside scala.scalanative.nio.fs

Inherited from AnyRef

Inherited from Any

Ungrouped