scala

Serializable

trait Serializable extends java.io.Serializable

Classes extending this trait are serializable across platforms (Java, .NET).

Source
Serializable.scala
Linear Supertypes
java.io.Serializable, Any
Known Subclasses
!, ::, <:<, =:=, =:=, ANY, Actor, Actor, Alignment, Alignment, Anchor, AnyHedgeRHS, AnyTreeRHS, AnyValManifest, Array, ArrayBuffer, ArrayBuffer, ArrayBuilder, ArrayBuilder, ArrayHashing, ArraySeq, ArraySeq, ArrayStack, ArrayStack, Atom, AttListDecl, AttrDecl, Attribute, Attribute, AutoResizeMode, BackgroundChanged, BarPolicy, BigDecimal, BigDecimal, BigDecimal, BigDecimalAsIfIntegral, BigDecimalAsIfIntegral, BigDecimalIsConflicted, BigDecimalIsFractional, BigDecimalIsFractional, BigDecimalOrdering, BigInt, BigInt, BigInt, BigIntIsIntegral, BigIntIsIntegral, BigIntOrdering, BitSet, BitSet, BitSet, BitSet, BitSet1, BitSet2, BitSetN, BlackTree, Boolean, BooleanFlag, BooleanFlag, BooleanOrdering, BoundElement, Box, Break, ButtonClicked, Byte, ByteIsIntegral, ByteIsIntegral, ByteOrdering, ByteswapHashing, ByteswapHashing, Call, CaretUpdate, Char, CharIsIntegral, CharIsIntegral, CharOrdering, ClassManifestDeprecatedApis, ClassTag, ClassTag, Comment, ComponentAdded, ComponentRemoved, CompositeThrowable, Cons, ConsRHS, ControlContext, DEFAULT, DaemonActor, Deadline, Deadline, DeadlineIsOrdered, Def, Default, DefaultEntry, DefaultKeySet, DefaultKeySet, DefaultKeySortedSet, DefaultKeySortedSet, DefaultValuesIterable, DocBreak, DocCons, DocGroup, DocNest, DocNil, DocText, DocType, Document, Done, Double, DoubleAsIfIntegral, DoubleAsIfIntegral, DoubleIsConflicted, DoubleIsFractional, DoubleIsFractional, DoubleLinkedList, DoubleLinkedList, DoubleOrdering, Duration, Duration, DurationIsOrdered, ELEMENTS, EMPTY, EOF, EditDone, Elem, Elem, ElemDecl, ElemName, ElementMode, Elements, Empty, Empty, EmptyHedgeRHS, EmptyIcon, End, EntityRef, Enumeration, Eps, Equiv, Equiv, Error, ErrorToken, EvComment, EvElemEnd, EvElemStart, EvEntityRef, EvProcInstr, EvText, Exclusive, Exit, ExitFun, Expr, Expr, ExtDef, Failure, Failure, FatalError, Fill, FiniteDuration, FiniteDuration, FiniteDurationIsOrdered, Float, FloatAsIfIntegral, FloatAsIfIntegral, FloatIsConflicted, FloatIsFractional, FloatIsFractional, FloatOrdering, FocusGained, FocusLost, FocusLostBehavior, FontChanged, ForegroundChanged, Fractional, Fractional, Future, Group, HashMap, HashMap, HashMap, HashMap, HashMap1, HashSet, HashSet, HashSet, HashSet, HashSet1, HashTrieMap, HashTrieSet, Hashing, Hashing, History, IMPLIED, Ident, Identifier, ImmutableDefaultKeySet, ImmutableMapAdaptor, ImmutableSetAdaptor, Impl, Include, Inclusive, Inclusive, Index, Infinite, Int, IntDef, IntIsIntegral, IntIsIntegral, IntOrdering, Integral, Integral, IntervalMode, IntervalMode, JSONArray, JSONObject, Key, KeyPressed, KeyReleased, KeyTyped, Keyword, LabelledRHS, Layout, Left, LeftProjection, Letter, LinkToFun, LinkedEntry, LinkedHashMap, LinkedHashMap, LinkedHashSet, LinkedHashSet, LinkedList, LinkedList, ListBuffer, ListMap, ListMap, ListMap, ListMap, ListSelectionChanged, ListSelectionChanged, ListSet, ListSet, LocalApply0, Location, Locator, Long, LongIsIntegral, LongIsIntegral, LongOrdering, Lowered, MIXED, MalformedAttributeException, MangledHashing, Manifest, Map1, Map2, Map3, Map4, Message, MetaData, MetaData, MinimizeMode, MouseClicked, MouseDragged, MouseEntered, MouseExited, MouseMoved, MousePressed, MouseReleased, MouseWheelMoved, MutableList, MutableList, NamedSend, NamespaceBinding, Nil, NoAction, NoLo, NoManifest, NoMenuBar, NoStackTrace, Node, Node, Node, Node, NodeBuffer, NonEmpty, None, NotationDecl, Null, Number, Numeric, Numeric, NumericLit, NumericRange, NumericRange, OffsetPosition, OptManifest, Option, Option, OptionOrdering, Options, Ordering, Ordering, Orientation, PCDATA, PCData, PCData, PEReference, POISON, ParArray, ParArray, ParHashMap, ParHashMap, ParHashMap, ParHashMap, ParHashSet, ParHashSet, ParHashSet, ParHashSet, ParRange, ParRange, ParTrieMap, ParTrieMap, ParVector, ParVector, Para, ParameterEntityDecl, ParseException, ParsedEntityDecl, PartialOrdering, PicklerEnv, Point, Position, PrefixedAttribute, PrefixedAttribute, PriorityQueue, PriorityQueue, PriorityQueueProxy, ProcInstr, PublicID, Queue, Queue, Queue, Queue, QueueProxy, REQUIRED, Raised, Range, Range, RedBlack, RedTree, Ref, Regex, Regex, ReificationException, RemoteApply0, Remove, Reset, Responder, Responder, Result, Result, RevertibleHistory, Right, RightProjection, RoundingMode, ScalaReflectionException, ScanLeaf, ScanNode, Script, SelectionChanged, SelectionMode, SendTo, Set1, Set2, Set3, Set4, Short, ShortIsIntegral, ShortIsIntegral, ShortOrdering, Some, Stack, Stack, Stack, Stack, StackProxy, Star, Start, State, Str, String, StringBuilder, StringBuilder, StringContext, StringContext, StringLit, StringOrdering, Success, Success, SwingWorker, SwingWorker, Symbol, Symbol, SynchronizedPriorityQueue, SynchronizedQueue, SynchronizedStack, SystemID, TIMEOUT, TableChanged, TableColumnsSelected, TableRowsAdded, TableRowsRemoved, TableRowsSelected, TableStructureChanged, TableUpdated, Terminate, Text, Text, TopIter, TopScope, Tree, TreeMap, TreeMap, TreeSet, TreeSet, TreeSet, TreeSet, TrieMap, TrieMap, Tuple1, Tuple10, Tuple11, Tuple12, Tuple13, Tuple14, Tuple15, Tuple16, Tuple17, Tuple18, Tuple19, Tuple2, Tuple20, Tuple21, Tuple22, Tuple3, Tuple4, Tuple5, Tuple6, Tuple7, Tuple8, Tuple9, TypeTag, TypeTag, TypecheckException, UIElementHidden, UIElementMoved, UIElementResized, UIElementShown, UnPicklerEnv, UnanchoredRegex, UncaughtException, UnexpectedReificationException, UninitializedFieldError, Unit, UnitOrdering, UnlinkFromFun, Unparsed, Unparsed, UnparsedEntityDecl, UnprefixedAttribute, UnprefixedAttribute, UnrolledBuffer, UnrolledBuffer, Update, Val, ValidationException, Value, Value, ValueOrdering, ValueSet, ValueSet, Vector, Vector, WeakHashMap, WeakHashMap, WeakTypeTag, WeakTypeTag, Wildcard, WindowActivated, WindowClosed, WindowClosing, WindowDeactivated, WindowDeiconified, WindowIconified, WindowOpened, WithDefault, WithDefault, WithDefault, Wrappers, ofBoolean, ofBoolean, ofByte, ofByte, ofChar, ofChar, ofDouble, ofDouble, ofFloat, ofFloat, ofInt, ofInt, ofLong, ofLong, ofRef, ofRef, ofShort, ofShort, ofUnit, ofUnit, ~
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Serializable
  2. Serializable
  3. Any
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.

    Definition Classes
    Any

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.

    Definition Classes
    Any
  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 ==

    Definition Classes
    Any
  3. def +(other: String): String

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

    Implicit information
    This member is added by an implicit conversion from Serializable to ArrowAssoc[Serializable] 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.

    Definition Classes
    Any
  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.

    Definition Classes
    Any
    Exceptions thrown
    ClassCastException

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

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

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

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

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

    Implicit information
    This member is added by an implicit conversion from Serializable to Ensuring[Serializable] 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.

    Definition Classes
    Any
  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 Serializable 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.

    Definition Classes
    Any
  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.

    Definition Classes
    Any
  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.

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

    Implicit information
    This member is added by an implicit conversion from Serializable to ArrowAssoc[Serializable] 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 Serializable 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:
    (serializable: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from Serializable 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:
    (serializable: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: Serializable

    Implicit information
    This member is added by an implicit conversion from Serializable to ArrowAssoc[Serializable] 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:
    (serializable: ArrowAssoc[Serializable]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: Serializable

    Implicit information
    This member is added by an implicit conversion from Serializable to Ensuring[Serializable] 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:
    (serializable: Ensuring[Serializable]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from java.io.Serializable

Inherited from Any

Inherited by implicit conversion any2stringadd from Serializable to StringAdd

Inherited by implicit conversion any2stringfmt from Serializable to StringFormat

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

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

Ungrouped