scala

Equals

trait Equals extends AnyRef

An interface containing operations for equality. The only method not already present in class AnyRef is canEqual.

Source
Equals.scala
Linear Supertypes
AnyRef, Any
Known Subclasses
!, ::, ANY, AbsScope, AbsTypeTree, Alternative, Annotated, AnyHedgeRHS, AnyTreeRHS, AnyValManifest, Appended, Appended, Appended, Appended, Appended, AppliedTypeTree, Apply, ApplyDynamic, ArrayBuffer, ArrayLike, ArrayOps, ArraySeq, ArrayStack, ArrayValue, AssertFailed, Assign, Atom, AttListDecl, AttrDecl, Attribute, BackQuotedIdent, BackgroundChanged, Bind, BitSet, BitSet, BitSet, BitSet1, BitSet2, BitSetLike, BitSetN, BlackTree, Block, BoundElement, Box, Break, Buffer, BufferLike, BufferProxy, BufferWrapper, ButtonClicked, ByOne, Call, CaretUpdate, CaseDef, Cell, ClassDef, ClassManifest, Comment, ComponentAdded, ComponentHidden, ComponentMoved, ComponentRemoved, ComponentResized, ComponentShown, CompoundTypeTree, ConcurrentMap, ConcurrentMapWrapper, Cons, ConsRHS, Constant, Content, DEFAULT, Def, DefDef, DefTree, DefaultKeySet, DefaultKeySortedSet, DefaultKeySortedSet, DefaultMap, DefaultMap, DefaultMapModel, DefaultValuesIterable, DictionaryWrapper, DocBreak, DocCons, DocGroup, DocNest, DocNil, DocText, DocType, Document, Done, DoubleLinkedList, DoubleLinkedListLike, DroppedWhile, DroppedWhile, DroppedWhile, DroppedWhile, DroppedWhile, ELEMENTS, EMPTY, EOF, EditDone, Elem, ElemDecl, ElemName, Empty, Empty, EmptyHedgeRHS, EmptyIcon, EmptyMap, EmptyMap, EmptySet, EmptySet, EmptyTree, EmptyView, EmptyView, EmptyView, EmptyView, End, EntityRef, Eps, Equality, Error, ErrorToken, EvComment, EvElemEnd, EvElemStart, EvEntityRef, EvProcInstr, EvText, Exclusive, ExistentialTypeTree, Exit, ExtDef, Failure, FatalError, Filtered, Filtered, Filtered, Filtered, Filtered, FlatMapped, FlatMapped, FlatMapped, FlatMapped, FocusGained, FocusLost, FontChanged, Forced, Forced, Forced, Forced, Forced, ForegroundChanged, Function, GenMap, GenMapLike, GenSeq, GenSeqLike, GenSeqView, GenSeqViewLike, GenSet, GenSetLike, GenericApply, Group, HashMap, HashMap, HashMap1, HashSet, HashSet, HashSet1, HashTrieMap, HashTrieSet, History, IMPLIED, Ident, Ident, Identifier, If, ImmutableDefaultKeySet, ImmutableMapAdaptor, ImmutableSetAdaptor, Impl, ImplDef, Import, ImportSelector, Include, Inclusive, Inclusive, Index, IndexedSeq, IndexedSeq, IndexedSeq, IndexedSeqLike, IndexedSeqLike, IndexedSeqOptimized, IndexedSeqOptimized, IndexedSeqView, Indices, IntDef, IntMap, Iterable, Iterable, Iterable, IterableForwarder, IterableLike, IterableProxy, IterableProxyLike, IterableView, IterableViewLike, IterableWrapper, IteratorWrapper, JCollectionWrapper, JConcurrentMapWrapper, JDictionaryWrapper, JEnumerationWrapper, JIterableWrapper, JIteratorWrapper, JListWrapper, JMapWrapper, JMapWrapperLike, JPropertiesWrapper, JSONArray, JSONObject, JSetWrapper, KeyPressed, KeyReleased, KeyTyped, Keyword, LabelDef, LabelledRHS, Left, LeftProjection, Letter, LinearSeq, LinearSeq, LinearSeq, LinearSeqLike, LinearSeqOptimized, LinkedHashMap, LinkedHashSet, LinkedList, LinkedListLike, List, ListBuffer, ListMap, ListMap, ListSelectionChanged, ListSet, Literal, LocalApply0, Locator, LongMap, Lowered, MIXED, MalformedAttributeException, Manifest, Map, Map, Map, Map1, Map2, Map3, Map4, MapLike, MapLike, MapLike, MapProxy, MapProxy, MapProxy, MapProxyLike, Mapped, Mapped, Mapped, Mapped, Mapped, Match, MemberDef, MetaData, Modifiers, ModuleDef, MouseClicked, MouseDragged, MouseEntered, MouseExited, MouseMoved, MousePressed, MouseReleased, MouseWheelMoved, MultiMap, MutableBufferWrapper, MutableList, MutableMapWrapper, MutableSeqWrapper, MutableSetWrapper, NamedSend, NamespaceBinding, New, Nil, NoAction, NoLo, NoMenuBar, Node, Node, Node, Node, Node, NodeBuffer, NodeSeq, None, NotationDecl, Null, Number, NumericLit, NumericRange, ObservableBuffer, ObservableMap, ObservableSet, OffsetPosition, OpenHashMap, Option, PCDATA, PCData, PEReference, POISON, PackageDef, PagedSeq, ParArray, ParHashMap, ParHashMap, ParHashSet, ParHashSet, ParMap, ParMap, ParMap, ParMapLike, ParMapLike, ParRange, ParSeq, ParSeq, ParSeq, ParSeqLike, ParSeqView, ParSeqViewLike, ParSet, ParSet, ParSet, ParSetLike, ParSetLike, ParVector, Para, ParameterEntityDecl, ParsedEntityDecl, Patched, Patched, Patched, Patched, PicklerEnv, Point, PrefixedAttribute, Prepended, Prepended, Prepended, Prepended, PriorityQueue, PriorityQueueProxy, ProcInstr, Product, Product1, Product10, Product11, Product12, Product13, Product14, Product15, Product16, Product17, Product18, Product19, Product2, Product20, Product21, Product22, Product3, Product4, Product5, Product6, Product7, Product8, Product9, PublicID, Queue, Queue, QueueProxy, REQUIRED, Raised, Range, RedTree, Ref, RefBuffer, RefTree, RemoteApply0, Remove, Reset, ResizableArray, Return, Reversed, Reversed, Reversed, Reversed, Reversed, RevertibleHistory, Right, RightProjection, ScanLeaf, ScanNode, Scope, Script, Select, SelectFromArray, SelectFromTypeTree, SelectionChanged, SelectionSet, SendTo, Seq, Seq, Seq, SeqForwarder, SeqLike, SeqLike, SeqProxy, SeqProxyLike, SeqView, SeqViewLike, SeqWrapper, Set, Set, Set, Set1, Set2, Set3, Set4, SetLike, SetLike, SetProxy, SetProxy, SetProxy, SetProxyLike, SingletonTypeTree, Sliced, Sliced, Sliced, Sliced, Sliced, Sliced, Some, SortedMap, SortedMap, SortedMapLike, SortedSet, SortedSet, SortedSetLike, SpecialNode, Stack, Stack, StackProxy, Star, Star, Start, Str, Stream, StreamView, StreamViewLike, StringBuilder, StringLike, StringLit, StringOps, Success, Sum, Super, SymTree, SynchronizedBuffer, SynchronizedMap, SynchronizedPriorityQueue, SynchronizedQueue, SynchronizedSet, SynchronizedStack, SystemID, SystemProperties, TIMEOUT, TIMEOUT, TableChanged, TableColumnsSelected, TableRowsAdded, TableRowsRemoved, TableRowsSelected, TableStructureChanged, TableUpdated, TakenWhile, TakenWhile, TakenWhile, TakenWhile, TakenWhile, Template, TermTree, Terminate, Text, This, Throw, TopIter, TopScope, Transformed, Transformed, Transformed, Transformed, Transformed, Transformed, Tree, TreeMap, TreeSet, Try, Tuple1, Tuple10, Tuple11, Tuple12, Tuple13, Tuple14, Tuple15, Tuple16, Tuple17, Tuple18, Tuple19, Tuple2, Tuple20, Tuple21, Tuple22, Tuple3, Tuple4, Tuple5, Tuple6, Tuple7, Tuple8, Tuple9, TypTree, TypeApply, TypeBoundsTree, TypeDef, Typed, UGP, UIElementHidden, UIElementMoved, UIElementResized, UIElementShown, UnApply, UnPicklerEnv, UncaughtException, UninitializedFieldError, Unparsed, UnparsedEntityDecl, UnprefixedAttribute, UnrolledBuffer, Update, ValDef, ValOrDefDef, ValidationException, ValueSet, Vector, WeakHashMap, Wildcard, WindowActivated, WindowClosed, WindowClosing, WindowDeactivated, WindowDeiconified, WindowIconified, WindowOpened, WithDefault, WithDefault, WithDefault, WrappedArray, WrappedString, Zipped, Zipped, Zipped, Zipped, Zipped, ZippedAll, ZippedAll, ZippedAll, ZippedAll, ZippedAll, columns, indices, items, ofBoolean, ofBoolean, ofByte, ofByte, ofChar, ofChar, ofDouble, ofDouble, ofFloat, ofFloat, ofInt, ofInt, ofLong, ofLong, ofRef, ofRef, ofShort, ofShort, ofUnit, ofUnit, pages, rows, ~
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Equals
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def canEqual(that: Any): Boolean

    A method that should be called from every well-designed equals method that is open to be overridden in a subclass.

    A method that should be called from every well-designed equals method that is open to be overridden in a subclass. See Programming in Scala, Chapter 28 for discussion and design.

    that

    the value being probed for possible equality

    returns

    true if this instance can possibly equal that, otherwise false