scala

Any

abstract class Any

Class Any is the root of the Scala class hierarchy. Every class in a Scala execution environment inherits directly or indirectly from this class.

Starting with Scala 2.10 it is possible to directly extend Any using universal traits. A universal trait is a trait that extends Any, only has defs as members, and does no initialization.

The main use case for universal traits is to allow basic inheritance of methods for value classes. For example,

trait Printable extends Any {
  def print(): Unit = println(this)
}
class Wrapper(val underlying: Int) extends AnyVal with Printable

val w = new Wrapper(3)
w.print()

See the value classes guide for more details on the interplay of universal traits and value classes.

Known Subclasses
!, #::, +:, :+, ::, <:<, =:=, =:=, ANY, AbstractActor, AbstractButton, AbstractFunction0, AbstractFunction1, AbstractFunction10, AbstractFunction11, AbstractFunction12, AbstractFunction13, AbstractFunction14, AbstractFunction15, AbstractFunction16, AbstractFunction17, AbstractFunction18, AbstractFunction19, AbstractFunction2, AbstractFunction20, AbstractFunction21, AbstractFunction22, AbstractFunction3, AbstractFunction4, AbstractFunction5, AbstractFunction6, AbstractFunction7, AbstractFunction8, AbstractFunction9, AbstractPartialFunction, AbstractRenderer, AbstractRenderer, AbstractSyntax, Accessor, Accessor, Action, Action, ActionEvent, ActionEvent, Actor, Actor, ActorGC, ActorRef, AdaptiveWorkStealingForkJoinTasks, AdaptiveWorkStealingTasks, AdaptiveWorkStealingThreadPoolTasks, Adjustable, Adjustable, AdjustingEvent, Aggregate, Aliases, Alignment, Alignment, Alt, Alt, Alternative, AlternativeApi, AlternativeExtractor, Anchor, Annotated, AnnotatedApi, AnnotatedExtractor, AnnotatedType, AnnotatedTypeApi, AnnotatedTypeExtractor, Annotation, Annotation, AnnotationApi, AnnotationExtractor, Annotations, AnyHedgeRHS, AnyRef, AnyTreeRHS, AnyVal, AnyValManifest, App, Appended, Appended, Appended, Appended, Appended, Appended, Appended, Appended, Appended, Appended, Appended, Applet, Application, AppliedTypeTree, AppliedTypeTreeApi, AppliedTypeTreeExtractor, Apply, ApplyApi, ApplyExtractor, Array, Array, ArrayArgument, ArrayArgumentApi, ArrayArgumentExtractor, ArrayBuffer, ArrayBuffer, ArrayBuilder, ArrayBuilder, ArrayCharSequence, ArrayHashing, ArrayLike, ArrayOps, ArrayOps, ArraySeq, ArraySeq, ArrayStack, ArrayStack, ArrowAssoc, AskTimeoutException, Assign, AssignApi, AssignExtractor, AssignOrNamedArg, AssignOrNamedArgApi, AssignOrNamedArgExtractor, Atom, AtomicIndexFlag, AttListDecl, AttachableApi, Attachments, AttrDecl, Attribute, Attribute, AutoResizeMode, Await, Awaitable, BackgroundChanged, BarPolicy, Base, BaseBerrySethi, BasicIO, BasicTransformer, BeanDescription, BeanDisplayName, BeanInfo, BeanInfoSkip, BeanProperty, Benchmark, BigDecimal, BigDecimal, BigDecimal, BigDecimal, BigDecimalAsIfIntegral, BigDecimalAsIfIntegral, BigDecimalIsConflicted, BigDecimalIsFractional, BigDecimalIsFractional, BigDecimalOrdering, BigInt, BigInt, BigInt, BigInt, BigIntIsIntegral, BigIntIsIntegral, BigIntOrdering, Bind, BindApi, BindExtractor, Binder, BinderEnv, Binders, BindingSensitive, BitSet, BitSet, BitSet, BitSet, BitSet, BitSet, BitSet1, BitSet2, BitSetFactory, BitSetLike, BitSetLike, BitSetN, BlackTree, Block, BlockApi, BlockContext, BlockContext, BlockExtractor, Boolean, Boolean, Boolean, BooleanBeanProperty, BooleanFlag, BooleanFlag, BooleanOrdering, BooleanProp, BooleanProp, BorderPanel, BorderPanel, BoundElement, BoundedWildcardType, BoundedWildcardTypeApi, BoundedWildcardTypeExtractor, Box, BoxPanel, Boxed, Break, Breaks, Breaks, BrokenException, Buffer, Buffer, BufferLike, BufferProxy, BufferWrapper, BufferedIterator, BufferedLineIterator, BufferedSource, Builder, BuilderOps, BuiltInEditor, Button, Button, ButtonClicked, ButtonGroup, By, Byte, Byte, Byte, ByteIsIntegral, ByteIsIntegral, ByteOrdering, BytePickle, ByteswapHashing, ByteswapHashing, CachedFileStorage, Call, CanAwait, CanBuildFrom, CanCombineFrom, CanCombineFromMap, CanReply, Caret, CaretUpdate, CaseDef, CaseDefApi, CaseDefExtractor, Catch, Channel, Channel, Char, Char, Char, CharArrayReader, CharArrayReader, CharIsIntegral, CharIsIntegral, CharOrdering, CharSequenceReader, CharSequenceReader, CheckBox, CheckMenuItem, CircularIncludeException, ClassDef, ClassDefApi, ClassDefExtractor, ClassInfoType, ClassInfoTypeApi, ClassInfoTypeExtractor, ClassManifestDeprecatedApis, ClassManifestFactory, ClassMirror, ClassSymbol, ClassSymbolApi, ClassTag, ClassTag, ClassTagTraversableFactory, ClassfileAnnotation, Classifier, Clearable, Cloneable, Cloneable, Codec, Codec, Collect, Combiner, CombinerFactory, ComboBox, ComboBox, Comment, CompilationUnit, CompilationUnitContextApi, Component, Component, ComponentAdded, ComponentEvent, ComponentRemoved, Composite, CompositeThrowable, CompoundType, CompoundTypeTree, CompoundTypeTreeApi, CompoundTypeTreeExtractor, ConcurrentMap, Cons, ConsRHS, ConsWrapper, Console, ConsoleErrorHandler, ConsoleLogger, Constant, ConstantApi, ConstantExtractor, ConstantType, ConstantTypeApi, ConstantTypeExtractor, Constants, Constraints, ConstructingHandler, ConstructingParser, ConstructingParser, Container, Container, ContainerEvent, Content, ContentModel, ContentModel, ContentModelParser, Context, ControlContext, ControlThrowable, Copy, CopyChainToArray, CopyToArray, CopyUnrolledToArray, Corresponds, Count, CreateScanTree, Creator, CustomParallelizable, DEFAULT, DFAContentModel, DTD, DaemonActor, DaemonScheduler, Deadline, Deadline, DeadlineIsOrdered, Debug, Decl, DecorateAsJava, DecorateAsScala, Def, DefDef, DefDefApi, DefDefExtractor, DefTree, DefTreeApi, Default, DefaultDecl, DefaultEntry, DefaultKeySet, DefaultKeySet, DefaultKeySet, DefaultKeySortedSet, DefaultKeySortedSet, DefaultMap, DefaultMap, DefaultMapModel, DefaultMarkupHandler, DefaultSignalling, DefaultValuesIterable, DefaultValuesIterable, DefinitionsApi, DelayedInit, DelayedLazyVal, DelegatedContext, DelegatedEditor, DelegatedSignalling, Described, DetWordAutom, Dialog, Dialog, DocBreak, DocCons, DocGroup, DocNest, DocNil, DocText, DocType, Document, Document, Document, Done, Double, Double, Double, Double, DoubleAsIfIntegral, DoubleAsIfIntegral, DoubleIsConflicted, DoubleIsFractional, DoubleIsFractional, DoubleLinkedList, DoubleLinkedList, DoubleLinkedListLike, DoubleMult, DoubleOrdering, DoubleProp, Drop, DroppedWhile, DroppedWhile, DroppedWhile, DroppedWhile, DroppedWhile, DroppedWhile, DroppedWhile, DroppedWhile, DummyImplicit, DummyImplicit, Duration, Duration, DurationConversions, DurationConversions, DurationDouble, DurationInt, DurationIsOrdered, DurationLong, Dynamic, DynamicVariable, ELEMENTS, EMPTY, EOF, EditDone, Editor, EditorPane, Either, Either, Elem, Elem, ElemDecl, ElemName, Element, ElementMode, ElementValidator, Elements, Elements, Embossing, Empty, Empty, EmptyBinderEnv, EmptyHedgeRHS, EmptyIcon, EmptyMethodCache, EmptyView, EmptyView, EmptyView, EmptyView, EmptyView, EmptyView, EmptyView, Enclosures, EncodingHeuristics, EncodingNames, End, Ensuring, EntityDecl, EntityDef, EntityRef, EntryIterator, Enumeration, Eps, Equality, Equality, Equals, Equiv, Equiv, Error, ErrorToken, Escapes, EvComment, EvElemEnd, EvElemStart, EvEntityRef, EvProcInstr, EvText, Evals, Event, Exception, Exclusive, ExecutionContext, ExecutionContext, ExecutionContextExecutor, ExecutionContextExecutorService, ExecutionContextTaskSupport, ExecutionContextTasks, ExecutorScheduler, ExecutorScheduler, ExistentialType, ExistentialTypeApi, ExistentialTypeExtractor, ExistentialTypeTree, ExistentialTypeTreeApi, ExistentialTypeTreeExtractor, Exists, Exit, ExitFun, Expr, Expr, ExprUtils, Exprs, ExtDef, ExternalID, ExternalSources, ExtraImplicits, ExtraImplicits, ExtraImplicits, ExtraImplicits, FactoryAdapter, FactoryOps, Failure, Failure, FallbackArrayBuilding, FatalError, FieldMirror, FileBuilder, FileChooser, FileChooser, FileProcessLogger, FileProp, Fill, Filter, FilterMonadic, FilterNot, Filtered, Filtered, Filtered, Filtered, Filtered, Filtered, Filtered, Filtered, FilteredKeys, FilteredKeys, Finally, Find, FiniteDuration, FiniteDuration, FiniteDurationIsOrdered, FlagOps, FlagSets, FlagValues, FlatHashTable, FlatMap, FlatMapped, FlatMapped, FlatMapped, FlatMapped, FlatMapped, FlatMapped, FlatMapped, FlattenOps, Float, Float, Float, FloatAsIfIntegral, FloatAsIfIntegral, FloatIsConflicted, FloatIsFractional, FloatIsFractional, FloatOrdering, FlowPanel, FlowPanel, FocusEvent, FocusGained, FocusLost, FocusLostBehavior, Fold, FontChanged, Forall, Force, Force, ForceImplicitAmbiguity, Forced, Forced, Forced, Forced, Forced, Forced, Forced, Forced, Forced, Foreach, ForegroundChanged, ForkJoinScheduler, ForkJoinTaskSupport, ForkJoinTasks, ForkJoinTasks, FormattedTextField, FormattedTextField, Fractional, Fractional, FractionalOps, FractionalProxy, Frame, FreeTermSymbol, FreeTermSymbolApi, FreeTypeSymbol, FreeTypeSymbolApi, FreshNameCreator, FromScanTree, FrontEnds, Function, Function, Function0, Function1, Function10, Function11, Function12, Function13, Function14, Function15, Function16, Function17, Function18, Function19, Function2, Function20, Function21, Function22, Function3, Function4, Function5, Function6, Function7, Function8, Function9, FunctionApi, FunctionExtractor, Future, Future, Future, Future, FutureTaskRunner, FutureThreadPoolTasks, FutureThreadPoolTasks, Futures, GenIterable, GenIterable, GenIterableLike, GenIterableView, GenIterableViewLike, GenMap, GenMap, GenMapFactory, GenMapLike, GenSeq, GenSeq, GenSeqFactory, GenSeqLike, GenSeqView, GenSeqViewLike, GenSet, GenSet, GenSetFactory, GenSetLike, GenTraversable, GenTraversable, GenTraversableFactory, GenTraversableLike, GenTraversableOnce, GenTraversableView, GenTraversableViewLike, GenericApply, GenericApplyApi, GenericCanBuildFrom, GenericCanBuildFrom, GenericCanBuildFrom, GenericCanCombineFrom, GenericCanCombineFrom, GenericClassTagCompanion, GenericClassTagTraversableTemplate, GenericCompanion, GenericOrderedCompanion, GenericOrderedTraversableTemplate, GenericParCompanion, GenericParMapCompanion, GenericParMapTemplate, GenericParTemplate, GenericRenderer, GenericSeqCompanion, GenericSetTemplate, GenericTraversableTemplate, GridBagPanel, GridBagPanel, GridPanel, GridPanel, Group, Group, GroupBy, GroupedIterator, Groups, Growable, GrowingBuilder, HasColumns, HasNewBuilder, HasNewCombiner, HasRows, HashEntry, HashMap, HashMap, HashMap, HashMap, HashMap1, HashSet, HashSet, HashSet, HashSet, HashSet1, HashSetCombiner, HashTable, HashTrieMap, HashTrieSet, Hashing, Hashing, HavingForkJoinPool, HedgeRHS, History, IMPLIED, IScheduler, Ident, Ident, IdentApi, IdentContextApi, IdentExtractor, Identifier, IdleSignalling, If, IfApi, IfExtractor, Immutable, ImmutableDefaultKeySet, ImmutableMapAdaptor, ImmutableMapFactory, ImmutableSetAdaptor, ImmutableSetFactory, ImmutableSortedMapFactory, ImmutableSortedSetFactory, Impl, Impl, ImplDef, ImplDefApi, ImplicitConversions, Implicits, Implicits, Implicits, Implicits, Implicits, Import, ImportApi, ImportExtractor, ImportSelector, ImportSelectorApi, ImportSelectorExtractor, Importer, Importers, Include, Inclusion, Inclusive, Inclusive, Index, Index, IndexWhere, IndexedSeq, IndexedSeq, IndexedSeq, IndexedSeq, IndexedSeq, IndexedSeq, IndexedSeqLike, IndexedSeqLike, IndexedSeqOptimized, IndexedSeqOptimized, IndexedSeqView, IndexedSeqView, Indices, Infinite, Infrastructure, InputChannel, InputEvent, InstanceMirror, Int, Int, Int, Int, IntDef, IntIsIntegral, IntIsIntegral, IntMap, IntMap, IntMult, IntOrdering, IntProp, Integral, Integral, IntegralOps, IntegralProxy, InterfaceMixin, InterfaceMixin, InternalReplyReactor, IntervalMode, IntervalMode, InvalidEscapeException, IsTraversableLike, IsTraversableLike, IsTraversableOnce, IsTraversableOnce, Item, Iterable, Iterable, Iterable, Iterable, Iterable, Iterable, IterableForwarder, IterableLike, IterableProxy, IterableProxyLike, IterableSplitter, IterableView, IterableView, IterableViewLike, Iterator, Iterator, JSON, JSONArray, JSONFormat, JSONObject, JSONType, JavaArgument, JavaConversions, JavaConversions, JavaConverters, JavaMirror, JavaMirrors, JavaSerializer, JavaTokenParsers, JavaUniverse, JavaUniverse, Key, KeyEvent, KeyPressed, KeyReleased, KeyTyped, Keyword, Label, Label, LabelDef, LabelDefApi, LabelDefExtractor, LabelRenderer, LabelledRHS, LastIndexWhere, Layout, LayoutContainer, LazyBuilder, LazyCell, LazyCombiner, Left, LeftProjection, Letter, Lexer, Lexical, LineIterator, LinearSeq, LinearSeq, LinearSeq, LinearSeq, LinearSeq, LinearSeq, LinearSeqLike, LinearSeqOptimized, LinkToFun, LinkedEntry, LinkedHashMap, LinkedHashMap, LinkedHashSet, LinkedHashSet, LinkedList, LinkedList, LinkedList, LinkedListLike, List, List, ListBuffer, ListBuffer, ListChange, ListChanged, ListChanged, ListElementsAdded, ListElementsAdded, ListElementsRemoved, ListElementsRemoved, ListEvent, ListMap, ListMap, ListMap, ListMap, ListSelectionChanged, ListSelectionChanged, ListSelectionEvent, ListSet, ListSet, ListSetBuilder, ListView, ListView, Literal, LiteralApi, LiteralArgument, LiteralArgumentApi, LiteralArgumentExtractor, LiteralExtractor, LocalApply0, Location, Location, Locator, Lock, Logged, LoggedNodeFactory, Long, Long, Long, Long, LongIsIntegral, LongIsIntegral, LongMap, LongMap, LongMult, LongOrdering, LowPriorityCodecImplicits, LowPriorityEquiv, LowPriorityImplicits, LowPriorityOrderingImplicits, LowPriorityWrapAsScala, Lowered, MIXED, Main, MainFrame, MakeValidationException, MalformedAttributeException, ManagedBlocker, MangledHashing, Manifest, ManifestFactory, Map, Map, Map, Map, Map, Map, Map, Map, Map, Map1, Map2, Map3, Map4, MapBuilder, MapCanBuildFrom, MapFactory, MapLike, MapLike, MapLike, MapProxy, MapProxy, MapProxy, MapProxyLike, Mappable, Mappable, Mapped, Mapped, Mapped, Mapped, Mapped, Mapped, Mapped, Mapped, Mapped, Mapped, Mapped, MappedValues, MappedValues, Mapper, MarkupDecl, MarkupHandler, MarkupParser, Marshal, Match, Match, Match, MatchApi, MatchData, MatchError, MatchExtractor, MatchIterator, Matrix, Max, MegaMethodCache, MemberDef, MemberDefApi, MemberScope, MemberScopeApi, Menu, MenuBar, MenuBar, MenuItem, MergeableEither, Message, Message, Meta, MetaData, MetaData, MethodCache, MethodMirror, MethodSymbol, MethodSymbolApi, MethodType, MethodTypeApi, MethodTypeExtractor, Min, MinimizeMode, Mirror, Mirrors, ModelWrapper, Modifier, ModifiersApi, ModifiersCreator, ModuleDef, ModuleDefApi, ModuleDefExtractor, ModuleMirror, ModuleSymbol, ModuleSymbolApi, MonadOps, MouseButtonEvent, MouseClicked, MouseDragged, MouseEntered, MouseEvent, MouseExited, MouseMotionEvent, MouseMoved, MousePressed, MouseReleased, MouseWheelMoved, MultiMap, MurmurHash, MurmurHash, MurmurHash3, Mutable, MutableList, MutableList, MutableMapFactory, MutableSetFactory, MutableSortedSetFactory, NameApi, NameElement, NameTransformer, NameTree, NameTreeApi, NamedSend, Names, Names, NamesApi, NamespaceBinding, NestedArgument, NestedArgumentApi, NestedArgumentExtractor, New, NewApi, NewExtractor, Nil, NoAction, NoBindingFactoryAdapter, NoBuilder, NoCombiner, NoCombiner, NoLo, NoManifest, NoMenuBar, NoPosition, NoPositioner, NoStackTrace, NoStackTrace, NoSuccess, NoSuccess, Node, Node, Node, Node, Node, Node, NodeBuffer, NodeFactory, NodeSeq, NodeSeq, NonDivisible, NonDivisibleTask, NonEmpty, NonFatal, NonLocalReturnControl, NondetWordAutom, None, NotImplementedError, NotNull, NotationDecl, Nothing, Nothing$, Null, Null, Null$, NullaryMethodType, NullaryMethodTypeApi, NullaryMethodTypeExtractor, Number, Numeric, Numeric, NumericLit, NumericRange, NumericRange, ObservableBuffer, ObservableMap, ObservableSet, OffsetPosition, OnCompleteRunnable, OnceCanBuildFrom, OnceParser, OpenHashMap, OpenHashMap, Ops, Ops, Ops, Ops, OptManifest, Option, Option, OptionOrdering, Options, Ordered, Ordered, OrderedProxy, OrderedTraversableFactory, Ordering, Ordering, Orientable, Orientable, Orientation, Oriented, Oriented, Otherwise, Otherwise, Otherwise, OutputChannel, PCDATA, PCData, PCData, PEReference, POISON, PU, PackageDef, PackageDefApi, PackageDefExtractor, PackratParser, PackratParsers, PackratReader, Page, PagedSeq, PagedSeq, PagedSeqReader, PagedSeqReader, Pair, Panel, ParArray, ParArray, ParArrayIterator, ParComposite, ParFactory, ParFlatHashTable, ParFlatHashTableIterator, ParHashMap, ParHashMap, ParHashMap, ParHashMap, ParHashMapIterator, ParHashMapIterator, ParHashSet, ParHashSet, ParHashSet, ParHashSet, ParHashSetIterator, ParHashSetIterator, ParHashTable, ParIterable, ParIterable, ParIterable, ParIterable, ParIterable, ParIterable, ParIterableLike, ParIterableView, ParIterableView, ParIterableViewLike, ParMap, ParMap, ParMap, ParMap, ParMap, ParMap, ParMapFactory, ParMapLike, ParMapLike, ParRange, ParRange, ParRangeIterator, ParSeq, ParSeq, ParSeq, ParSeq, ParSeq, ParSeq, ParSeqLike, ParSeqView, ParSeqView, ParSeqViewLike, ParSet, ParSet, ParSet, ParSet, ParSet, ParSet, ParSetFactory, ParSetLike, ParSetLike, ParTrieMap, ParTrieMap, ParVector, ParVector, ParVectorIterator, Para, Parallel, Parallelizable, ParameterEntityDecl, ParseException, ParseResult, ParsedEntityDecl, Parser, Parser, Parsers, Parsers, Partial, PartialFunction, PartialFunction, PartialOrdering, PartiallyOrdered, Partition, PasswordField, Patched, Patched, Patched, Patched, Patched, PhantomReference, PicklerEnv, PicklerState, Platform, Point, PointedHedgeExp, PoisonPill, PolyMethodCache, PolyType, PolyTypeApi, PolyTypeExtractor, Position, Position, Position, Position, Position, Positional, Positioner, Positions, PreciseSplitter, Predef, PrefixedAttribute, PrefixedAttribute, Prepended, Prepended, Prepended, Prepended, PrettyPrinter, Printers, PriorityQueue, PriorityQueue, PriorityQueueProxy, ProcInstr, Process, Process, ProcessBuilder, ProcessBuilder, ProcessCreation, ProcessIO, ProcessImplicits, ProcessLogger, ProcessLogger, ProducerConsumerIterator, Product, Product, Product1, Product1, Product10, Product10, Product11, Product11, Product12, Product12, Product13, Product13, Product14, Product14, Product15, Product15, Product16, Product16, Product17, Product17, Product18, Product18, Product19, Product19, Product2, Product2, Product20, Product20, Product21, Product21, Product22, Product22, Product3, Product3, Product4, Product4, Product5, Product5, Product6, Product6, Product7, Product7, Product8, Product8, Product9, Product9, ProgressBar, Promise, Promise, Prop, Prop, Properties, Proxy, Proxy, PublicID, Publisher, Publisher, QNode, Queue, Queue, Queue, Queue, QueueProxy, REQUIRED, RadioButton, RadioMenuItem, Raised, Random, Random, Range, Range, RangeUtils, RangedProxy, Reactions, Reactions, Reactor, Reactor, Reader, RedBlack, RedTree, Reduce, Ref, RefBuffer, RefDef, RefTree, RefTreeApi, Reference, ReferenceQueue, ReferenceToBoxed, ReferenceToBoxedApi, ReferenceToBoxedExtractor, ReferenceWrapper, RefinedType, RefinedTypeApi, RefinedTypeExtractor, ReflectiveMirror, RegExp, Regex, Regex, RegexParsers, RegexTest, ReificationException, Reifiers, RelaxedPosition, RelaxedPositioner, RemoteActor, RemoteApply0, Remove, Renderer, Renderer, Renderer, ReplyReactor, Reset, ResizableArray, ResizableArray, ResizableParArrayCombiner, ResizableParArrayCombiner, ResizableThreadPoolScheduler, Responder, Responder, Result, Result, ResultMapping, Return, ReturnAndDo, ReturnApi, ReturnExtractor, Reverse, ReverseMap, Reversed, Reversed, Reversed, Reversed, Reversed, RevertibleHistory, RewriteRule, RichBoolean, RichByte, RichChar, RichDouble, RichException, RichFloat, RichInt, RichLong, RichShort, RichWindow, RichWindow, Right, RightProjection, RootPanel, RoundingMode, RuleTransformer, Run, RunContextApi, RuntimeMirror, SPU, SameElements, ScalaBeanInfo, ScalaNumberProxy, ScalaNumericAnyConversions, ScalaNumericConversions, ScalaObject, ScalaReflectionException, ScalaRunTime, ScalaWholeNumberProxy, ScanLeaf, ScanNode, ScanToArray, ScanTree, Scanner, Scanner, Scanners, Scheduler, SchedulerAdapter, Scope, Scope, ScopeApi, Scopes, Script, Scriptable, ScrollBar, ScrollBar, ScrollPane, ScrollPane, Scrollable, Scrollable, SegmentLength, Select, SelectApi, SelectExtractor, SelectFromTypeTree, SelectFromTypeTreeApi, SelectFromTypeTreeExtractor, SelectionChanged, SelectionEvent, SelectionMode, SelectionSet, SendTo, Separator, Seq, Seq, Seq, Seq, Seq, Seq, SeqCharSequence, SeqComposite, SeqFactory, SeqForwarder, SeqLike, SeqLike, SeqLike, SeqProxy, SeqProxyLike, SeqSplitter, SeqView, SeqView, SeqViewLike, Sequ, Sequ, SequentialContainer, SequentialContainer, SerialVersionUID, Serializable, Serializer, Service, Set, Set, Set, Set, Set, Set, Set1, Set2, Set3, Set4, SetBuilder, SetFactory, SetLike, SetLike, SetProxy, SetProxy, SetProxy, SetProxyLike, SetStorage, Short, Short, Short, ShortIsIntegral, ShortIsIntegral, ShortOrdering, Show, Shrinkable, ShutdownHookThread, ShutdownHookThread, Signalling, SignallingOps, SimpleSwingApplication, SingleThreadedScheduler, SingleType, SingleTypeApi, SingleTypeExtractor, SingletonType, SingletonTypeTree, SingletonTypeTreeApi, SingletonTypeTreeExtractor, Sink, Size, Sizing, Slice, SliceInterval, Sliced, Sliced, Sliced, Sliced, Sliced, Sliced, Sliced, Sliced, Sliced, Sliced, Slider, SoftReference, Some, Sorted, SortedMap, SortedMap, SortedMap, SortedMap, SortedMapCanBuildFrom, SortedMapFactory, SortedMapLike, SortedSet, SortedSet, SortedSet, SortedSet, SortedSet, SortedSet, SortedSetCanBuildFrom, SortedSetFactory, SortedSetLike, Sorting, Source, Source, Source, Source, Span, SpecialNode, Specializable, Specializable, SpecializedGroup, SplitAt, SplitPane, Splitter, Splitter, Stack, Stack, Stack, Stack, StackBuilder, StackProxy, StandardDefinitions, StandardNames, StandardTokenParsers, StandardTypes, Star, Star, StarApi, StarExtractor, Start, State, StaticAnnotation, StdLexical, StdTokenParsers, StdTokens, StopException, Str, Stream, Stream, StreamBuilder, StreamCanBuildFrom, StreamIterator, StreamReader, StreamReader, StreamView, StreamViewLike, StreamWithFilter, StrictSplitterCheckTask, String, StringAdd, StringBuilder, StringBuilder, StringContext, StringContext, StringFormat, StringLike, StringLike, StringLit, StringOps, StringOrdering, StringProp, StronglyReferenced, Subscriber, SubsetConstruction, Subtractable, Success, Success, Sum, Super, SuperApi, SuperExtractor, SuperMixin, SuperMixin, SuperType, SuperTypeApi, SuperTypeExtractor, Swing, SwingActor, SwingApplication, SwingWorker, SwingWorker, SymApply, SymTree, SymTreeApi, SymTreeContextApi, Symbol, Symbol, Symbol, SymbolApi, SymbolContextApi, Symbols, SyncChannel, SyncVar, SynchronizedBuffer, SynchronizedMap, SynchronizedPriorityQueue, SynchronizedQueue, SynchronizedSet, SynchronizedStack, SyntaxError, SystemID, SystemProperties, SystemProperties, TIMEOUT, TabbedPane, TabbedPane, Table, Table, TableChange, TableChanged, TableColumnsSelected, TableEvent, TableResized, TableRowsAdded, TableRowsRemoved, TableRowsSelected, TableStructureChanged, TableUpdated, TagInterop, TaggedDelegatedContext, TailCalls, TailRec, Take, TakeWhile, Taken, Taken, TakenWhile, TakenWhile, TakenWhile, TakenWhile, TakenWhile, TakenWhile, TakenWhile, TakenWhile, Task, TaskOps, TaskRunner, TaskRunners, TaskSupport, Tasks, TcpService, TcpService, Template, TemplateApi, TemplateExtractor, TemplateMirror, TermNamesApi, TermSymbol, TermSymbolApi, TermTree, TermTreeApi, Terminate, Tester, Text, Text, TextArea, TextBuffer, TextBuffer, TextComponent, TextComponent, TextField, This, ThisApi, ThisExtractor, ThisType, ThisTypeApi, ThisTypeExtractor, ThreadPoolRunner, ThreadPoolTaskSupport, ThreadPoolTasks, ThreadPoolTasks, ThreadRunner, Throw, ThrowApi, ThrowExtractor, ThrowableOps, ToParCollection, ToParMap, ToggleButton, Token, TokenParsers, TokenTests, Tokens, Tokens, TopIter, TopScope, Transformed, Transformed, Transformed, Transformed, Transformed, Transformed, Transformed, Transformed, Transformed, Transformed, Transformer, Transformer, Transformer, Translator, Traversable, Traversable, Traversable, Traversable, Traversable, Traversable, TraversableFactory, TraversableForwarder, TraversableLike, TraversableOnce, TraversableOnce, TraversableOps, TraversableProxy, TraversableProxyLike, TraversableView, TraversableView, TraversableViewLike, Traverser, Tree, Tree, TreeApi, TreeBuilder, TreeContextApi, TreeCopier, TreeCopier, TreeCopierOps, TreeCreator, TreeMap, TreeMap, TreePrinter, TreeRHS, TreeSet, TreeSet, TreeSet, TreeSet, Trees, TrieMap, TrieMap, Trigger, Trigger, Triple, Try, Try, Try, TryApi, TryBlock, TryExtractor, Tuple1, Tuple10, Tuple11, Tuple12, Tuple13, Tuple14, Tuple15, Tuple16, Tuple17, Tuple18, Tuple19, Tuple2, Tuple20, Tuple21, Tuple22, Tuple2Zipped, Tuple2Zipped, Tuple3, Tuple3Zipped, Tuple3Zipped, Tuple4, Tuple5, Tuple6, Tuple7, Tuple8, Tuple9, TypTree, TypTreeApi, Type, TypeApi, TypeApply, TypeApplyApi, TypeApplyExtractor, TypeBounds, TypeBoundsApi, TypeBoundsExtractor, TypeBoundsTree, TypeBoundsTreeApi, TypeBoundsTreeExtractor, TypeConstraint, TypeCreator, TypeDef, TypeDefApi, TypeDefExtractor, TypeNamesApi, TypeRef, TypeRefApi, TypeRefExtractor, TypeSymbol, TypeSymbol, TypeSymbolApi, TypeTag, TypeTag, TypeTags, TypeTree, TypeTreeApi, TypeTreeContextApi, TypeTreeExtractor, TypecheckException, Typed, Typed, TypedApi, TypedExtractor, Typers, Types, UI, UIElement, UIElement, UIElementHidden, UIElementMoved, UIElementResized, UIElementShown, UIEvent, URLBuilder, UTF8Codec, UnApply, UnApplyApi, UnApplyExtractor, UnPicklerEnv, UnPicklerState, UnanchoredRegex, UnavailableResourceException, UnboundElement, UncaughtException, Undecorated, UnderBinder, UnderBinder, Undoable, UnexpectedReificationException, UninitializedError, UninitializedFieldError, Unit, Unit, Unit, UnitOrdering, Universe, Universe, UnlinkFromFun, Unparsed, Unparsed, UnparsedEntityDecl, UnprefixedAttribute, UnprefixedAttribute, Unrolled, UnrolledBuffer, UnrolledBuffer, UnrolledParArrayCombiner, UnrolledParArrayCombiner, Update, Updated, Utility, Val, ValDef, ValDefApi, ValDefExtractor, ValOrDefDef, ValOrDefDefApi, ValidatingMarkupHandler, ValidationException, Value, Value, ValueChanged, ValueChanged, ValueOrdering, ValueSet, ValueSet, Vector, Vector, VectorBuilder, VectorIterator, ViewMkString, VolatileAbort, WeakHashMap, WeakHashMap, WeakReference, WeakReference, WeakTypeTag, WeakTypeTag, Wildcard, Window, WindowActivated, WindowClosed, WindowClosing, WindowDeactivated, WindowDeiconified, WindowEvent, WindowIconified, WindowOpened, WithDefault, WithDefault, WithDefault, WithDefault, WithDefault, WithDefault, WithFilter, WithFilter, WordBerrySethi, WordExp, WorksheetSupport, WrapAsJava, WrapAsJava, WrapAsScala, WrapAsScala, Wrapped, WrappedArray, WrappedArray, WrappedArrayBuilder, WrappedString, WrappedString, WrappedTask, WrappedTask, WrappedTask, WrappedTask, WrappedTask, WrappedTask, WrappedTask, Wrapper, Wrapper, Wrapper, Wrapper, Wrapper, Wrapper, Wrapper, Wrapper, Wrappers, XIncludeException, XIncludeFilter, XIncluder, XML, XMLEvent, XMLEventReader, XMLLoader, Xhtml, XhtmlEntities, XhtmlParser, XhtmlParser, Zip, Zip, ZipAll, Zipped, Zipped, Zipped, Zipped, Zipped, Zipped, Zipped, Zipped, Zipped, ZippedAll, ZippedAll, ZippedAll, ZippedAll, ZippedAll, ZippedAll, ZippedAll, ZippedAll, ZippedAll, ZippedTraversable2, ZippedTraversable2, ZippedTraversable3, ZippedTraversable3, actors, api, beanGetter, beanSetter, caret, cloneable, collection, columns, companionClass, companionMethod, companionObject, concurrent, cons, continuations, convert, cpsParam, deprecated, deprecatedName, duration, dynamics, dynamics, elidable, elidable, existentials, existentials, experimental, experimental, field, fromNow, fromNowConvert, generic, getter, hashing, higherKinds, higherKinds, immutable, immutable, implicitConversions, implicitConversions, implicitNotFound, indices, inline, items, keys, language, languageFeature, languageFeature, macros, macros, macros, math, meta, mouse, mutable, native, noinline, ofBoolean, ofBoolean, ofBoolean, ofByte, ofByte, ofByte, ofChar, ofChar, ofChar, ofDouble, ofDouble, ofDouble, ofFloat, ofFloat, ofFloat, ofInt, ofInt, ofInt, ofLong, ofLong, ofLong, ofRef, ofRef, ofRef, ofShort, ofShort, ofShort, ofUnit, ofUnit, ofUnit, ops, pages, parallel, param, postfixOps, postfixOps, process, pull, reflect, reflectiveCalls, reflectiveCalls, remote, rows, runtime, runtime, scala, selection, selection, selection, selection, serializable, setter, span, spanConvert, specialized, strictfp, swing, switch, sys, tailrec, throws, transient, unchecked, uncheckedStable, uncheckedVariance, unspecialized, varargs, volatile, xml, ~
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def getClass(): Class[_]

    Returns the runtime class representation of the object.

    Returns the runtime class representation of the object.

    returns

    a class object corresponding to the runtime type of the receiver.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Test two objects for inequality.

    Test two objects for inequality.

    returns

    true if !(this == that), false otherwise.

  2. final def ##(): Int

    Equivalent to x.hashCode except for boxed numeric types and null.

    Equivalent to x.hashCode except for boxed numeric types and null. For numerics, it returns a hash value which is consistent with value equality: if two value type instances compare as true, then ## will produce the same hash value for each of them. For null returns a hashcode where null.hashCode throws a NullPointerException.

    returns

    a hash value consistent with ==

  3. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from Any to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  4. def ->[B](y: B): (Any, B)

    Implicit information
    This member is added by an implicit conversion from Any to ArrowAssoc[Any] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Test two objects for equality.

    Test two objects for equality. The expression x == that is equivalent to if (x eq null) that eq null else x.equals(that).

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

  6. final def asInstanceOf[T0]: T0

    Cast the receiver object to be of type T0.

    Cast the receiver object to be of type T0.

    Note that the success of a cast at runtime is modulo Scala's erasure semantics. Therefore the expression 1.asInstanceOf[String] will throw a ClassCastException at runtime, while the expression List(1).asInstanceOf[List[String]] will not. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the requested type.

    returns

    the receiver object.

    Exceptions thrown
    ClassCastException

    if the receiver object is not an instance of the erasure of type T0.

  7. def ensuring(cond: (Any) ⇒ Boolean, msg: ⇒ Any): Any

    Implicit information
    This member is added by an implicit conversion from Any to Ensuring[Any] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  8. def ensuring(cond: (Any) ⇒ Boolean): Any

    Implicit information
    This member is added by an implicit conversion from Any to Ensuring[Any] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: Boolean, msg: ⇒ Any): Any

    Implicit information
    This member is added by an implicit conversion from Any to Ensuring[Any] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean): Any

    Implicit information
    This member is added by an implicit conversion from Any to Ensuring[Any] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def equals(arg0: Any): Boolean

    Compares the receiver object (this) with the argument object (that) for equivalence.

    Compares the receiver object (this) with the argument object (that) for equivalence.

    Any implementation of this method should be an equivalence relation:

    • It is reflexive: for any instance x of type Any, x.equals(x) should return true.
    • It is symmetric: for any instances x and y of type Any, x.equals(y) should return true if and only if y.equals(x) returns true.
    • It is transitive: for any instances x, y, and z of type AnyRef if x.equals(y) returns true and y.equals(z) returns true, then x.equals(z) should return true.

    If you override this method, you should verify that your implementation remains an equivalence relation. Additionally, when overriding this method it is usually necessary to override hashCode to ensure that objects which are "equal" (o1.equals(o2) returns true) hash to the same scala.Int. (o1.hashCode.equals(o2.hashCode)).

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

  12. def formatted(fmtstr: String): String

    Returns string formatted according to given format string.

    Returns string formatted according to given format string. Format strings are as for String.format (@see java.lang.String.format).

    Implicit information
    This member is added by an implicit conversion from Any to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  13. def hashCode(): Int

    Calculate a hash code value for the object.

    Calculate a hash code value for the object.

    The default hashing algorithm is platform dependent.

    Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)) yet not be equal (o1.equals(o2) returns false). A degenerate implementation could always return 0. However, it is required that if two objects are equal (o1.equals(o2) returns true) that they have identical hash codes (o1.hashCode.equals(o2.hashCode)). Therefore, when overriding this method, be sure to verify that the behavior is consistent with the equals method.

    returns

    the hash code value for this object.

  14. final def isInstanceOf[T0]: Boolean

    Test whether the dynamic type of the receiver object is T0.

    Test whether the dynamic type of the receiver object is T0.

    Note that the result of the test is modulo Scala's erasure semantics. Therefore the expression 1.isInstanceOf[String] will return false, while the expression List(1).isInstanceOf[List[String]] will return true. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the specified type.

    returns

    true if the receiver object is an instance of erasure of type T0; false otherwise.

  15. def toString(): String

    Returns a string representation of the object.

    Returns a string representation of the object.

    The default representation is platform dependent.

    returns

    a string representation of the object.

  16. def [B](y: B): (Any, B)

    Implicit information
    This member is added by an implicit conversion from Any to ArrowAssoc[Any] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from Any to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (any: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from Any to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (any: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: Any

    Implicit information
    This member is added by an implicit conversion from Any to ArrowAssoc[Any] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (any: ArrowAssoc[Any]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: Any

    Implicit information
    This member is added by an implicit conversion from Any to Ensuring[Any] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (any: Ensuring[Any]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited by implicit conversion any2stringadd from Any to StringAdd

Inherited by implicit conversion any2stringfmt from Any to StringFormat

Inherited by implicit conversion any2ArrowAssoc from Any to ArrowAssoc[Any]

Inherited by implicit conversion any2Ensuring from Any to Ensuring[Any]

Ungrouped