diff --git a/.idea/modules.xml b/.idea/modules.xml
index 7f80bff4ff..d9306e2cb1 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -3,6 +3,7 @@
The hash code for this object. A hash code is a single integer which represents the state of the object
that affects All objects have hash codes.
-The default hash code represents only the identity of the object,
+ All objects have hash codes.
+The default hash code represents only the identity of the object,
the same way as the default If If Hash codes must be the same for objects that are equal to each other
according to ${HTML_ESCAPE.convert(label)}
';
} else {
return '$label';
}
} else {
- warning(
- "unresolved doc reference '$reference'${element != null ? " (in ${_elementLocation(element)}" : ""}");
+ if (result.warn) {
+ element.warn(PackageWarning.unresolvedDocReference, codeRef);
+ }
return '${HTML_ESCAPE.convert(label)}
';
}
}
-// TODO(jcollins-g): Merge this into new [Package.warn] warning system
-String _elementLocation(ModelElement element) {
- while ((element.element.documentationComment == null ||
- element.element.documentationComment == "") &&
- element.overriddenElement != null) {
- element = element.overriddenElement;
- }
- return "'${element.fullyQualifiedName}' (${element.sourceFileName}:${element.lineNumber})";
-}
-
String _renderMarkdownToHtml(String text, [ModelElement element]) {
md.Node _linkResolver(String name) {
NodeListdoesStuff
'));
+ expect(
+ docsAsHtml,
+ contains(
+ 'doesStuff'));
});
test(
@@ -327,7 +331,7 @@ void main() {
expect(helperClass.documentationAsHtml,
contains('Apple'));
expect(helperClass.documentationAsHtml,
- contains('B'));
+ contains('ex.B'));
});
test(
@@ -478,7 +482,8 @@ void main() {
expect(resolved, isNotNull);
expect(resolved,
contains('BaseClass'));
- expect(resolved, contains('linking over to Apple
.'));
+ expect(resolved,
+ contains('Linking over to Apple'));
});
test('references to class and constructors', () {
@@ -1469,7 +1474,7 @@ String topLevelFunction(int param1, bool param2, Cool coolBeans,
expect(appleDefaultConstructor.enclosingElement.name, equals(apple.name));
});
- test('has contructor', () {
+ test('has constructor', () {
expect(appleDefaultConstructor, isNotNull);
expect(appleDefaultConstructor.name, equals('Apple'));
expect(appleDefaultConstructor.shortName, equals('Apple'));
diff --git a/test/src/utils.dart b/test/src/utils.dart
index e69de759bc..ac12e3bc54 100644
--- a/test/src/utils.dart
+++ b/test/src/utils.dart
@@ -69,10 +69,14 @@ Package _bootPackage(IterableProperties
Animal
==
comparisons.==
implementation only considers objects
equal if they are identical (see identityHashCode
).==
is overridden to use the object state instead,
-the hash code must also be changed to represent that state. ==
is overridden to use the object state instead,
+the hash code must also be changed to represent that state.==
.
The hash code of an object should only change if the object changes
diff --git a/testing/test_package_docs/ex/Animal/operator_equals.html b/testing/test_package_docs/ex/Animal/operator_equals.html
index 03ef1986a4..73707d6ec0 100644
--- a/testing/test_package_docs/ex/Animal/operator_equals.html
+++ b/testing/test_package_docs/ex/Animal/operator_equals.html
@@ -116,7 +116,7 @@ Animal
either both be true, or both be false.
Transitive: For all objects o1
, o2
, and o3
, if o1 == o2
and
o2 == o3
are true, then o1 == o3
must be true.
The method should also be consistent over time, +
The method should also be consistent over time, so whether two objects are equal should only change if at least one of the objects was modified.
If a subclass overrides the equality operator it should override diff --git a/testing/test_package_docs/ex/Apple-class.html b/testing/test_package_docs/ex/Apple-class.html index a6ba69caaa..100a01a1e1 100644 --- a/testing/test_package_docs/ex/Apple-class.html +++ b/testing/test_package_docs/ex/Apple-class.html @@ -191,15 +191,20 @@
The read-write field m
.
The getter for s
The hash code for this object.
A hash code is a single integer which represents the state of the object
that affects ==
comparisons.
All objects have hash codes. -The default hash code represents only the identity of the object, +
All objects have hash codes.
+The default hash code represents only the identity of the object,
the same way as the default ==
implementation only considers objects
equal if they are identical (see identityHashCode
).
If ==
is overridden to use the object state instead,
-the hash code must also be changed to represent that state.
If ==
is overridden to use the object state instead,
+the hash code must also be changed to represent that state.
Hash codes must be the same for objects that are equal to each other
according to ==
.
The hash code of an object should only change if the object changes
diff --git a/testing/test_package_docs/ex/Apple/operator_equals.html b/testing/test_package_docs/ex/Apple/operator_equals.html
index 306885c7a4..0876e37ed3 100644
--- a/testing/test_package_docs/ex/Apple/operator_equals.html
+++ b/testing/test_package_docs/ex/Apple/operator_equals.html
@@ -127,7 +127,7 @@
Transitive: For all objects o1
, o2
, and o3
, if o1 == o2
and
o2 == o3
are true, then o1 == o3
must be true.
The method should also be consistent over time, +
The method should also be consistent over time, so whether two objects are equal should only change if at least one of the objects was modified.
If a subclass overrides the equality operator it should override diff --git a/testing/test_package_docs/ex/B-class.html b/testing/test_package_docs/ex/B-class.html index 2266668605..265fdb4233 100644 --- a/testing/test_package_docs/ex/B-class.html +++ b/testing/test_package_docs/ex/B-class.html @@ -180,7 +180,7 @@
The default value is false
(compression disabled).
@@ -197,7 +197,7 @@
A list of Strings
@@ -229,7 +229,7 @@The read-write field m
.
The hash code for this object.
A hash code is a single integer which represents the state of the object
that affects ==
comparisons.
All objects have hash codes. -The default hash code represents only the identity of the object, +
All objects have hash codes.
+The default hash code represents only the identity of the object,
the same way as the default ==
implementation only considers objects
equal if they are identical (see identityHashCode
).
If ==
is overridden to use the object state instead,
-the hash code must also be changed to represent that state.
If ==
is overridden to use the object state instead,
+the hash code must also be changed to represent that state.
Hash codes must be the same for objects that are equal to each other
according to ==
.
The hash code of an object should only change if the object changes
diff --git a/testing/test_package_docs/ex/Cat/operator_equals.html b/testing/test_package_docs/ex/Cat/operator_equals.html
index a5f5679850..92c823ade6 100644
--- a/testing/test_package_docs/ex/Cat/operator_equals.html
+++ b/testing/test_package_docs/ex/Cat/operator_equals.html
@@ -114,7 +114,7 @@
Transitive: For all objects o1
, o2
, and o3
, if o1 == o2
and
o2 == o3
are true, then o1 == o3
must be true.
The method should also be consistent over time, +
The method should also be consistent over time, so whether two objects are equal should only change if at least one of the objects was modified.
If a subclass overrides the equality operator it should override diff --git a/testing/test_package_docs/ex/CatString-class.html b/testing/test_package_docs/ex/CatString-class.html index a00f3b668c..fcbe2a9563 100644 --- a/testing/test_package_docs/ex/CatString-class.html +++ b/testing/test_package_docs/ex/CatString-class.html @@ -259,7 +259,7 @@
Iterates over the given objects
and write
s them in sequence.
Iterates over the given objects
and writes them in sequence.
The hash code for this object.
A hash code is a single integer which represents the state of the object
that affects ==
comparisons.
All objects have hash codes. -The default hash code represents only the identity of the object, +
All objects have hash codes.
+The default hash code represents only the identity of the object,
the same way as the default ==
implementation only considers objects
equal if they are identical (see identityHashCode
).
If ==
is overridden to use the object state instead,
-the hash code must also be changed to represent that state.
If ==
is overridden to use the object state instead,
+the hash code must also be changed to represent that state.
Hash codes must be the same for objects that are equal to each other
according to ==
.
The hash code of an object should only change if the object changes
diff --git a/testing/test_package_docs/ex/CatString/operator_equals.html b/testing/test_package_docs/ex/CatString/operator_equals.html
index 91a7250f6c..05bb9b4221 100644
--- a/testing/test_package_docs/ex/CatString/operator_equals.html
+++ b/testing/test_package_docs/ex/CatString/operator_equals.html
@@ -120,7 +120,7 @@
Transitive: For all objects o1
, o2
, and o3
, if o1 == o2
and
o2 == o3
are true, then o1 == o3
must be true.
The method should also be consistent over time, +
The method should also be consistent over time, so whether two objects are equal should only change if at least one of the objects was modified.
If a subclass overrides the equality operator it should override diff --git a/testing/test_package_docs/ex/CatString/writeAll.html b/testing/test_package_docs/ex/CatString/writeAll.html index 33c5b428ec..6cf5419995 100644 --- a/testing/test_package_docs/ex/CatString/writeAll.html +++ b/testing/test_package_docs/ex/CatString/writeAll.html @@ -107,7 +107,7 @@
Iterates over the given objects
and write
s them in sequence.
Iterates over the given objects
and writes them in sequence.
The hash code for this object.
A hash code is a single integer which represents the state of the object
that affects ==
comparisons.
All objects have hash codes. -The default hash code represents only the identity of the object, +
All objects have hash codes.
+The default hash code represents only the identity of the object,
the same way as the default ==
implementation only considers objects
equal if they are identical (see identityHashCode
).
If ==
is overridden to use the object state instead,
-the hash code must also be changed to represent that state.
If ==
is overridden to use the object state instead,
+the hash code must also be changed to represent that state.
Hash codes must be the same for objects that are equal to each other
according to ==
.
The hash code of an object should only change if the object changes
diff --git a/testing/test_package_docs/ex/ConstantCat/operator_equals.html b/testing/test_package_docs/ex/ConstantCat/operator_equals.html
index 8f4103a532..68fef4f80f 100644
--- a/testing/test_package_docs/ex/ConstantCat/operator_equals.html
+++ b/testing/test_package_docs/ex/ConstantCat/operator_equals.html
@@ -115,7 +115,7 @@
Transitive: For all objects o1
, o2
, and o3
, if o1 == o2
and
o2 == o3
are true, then o1 == o3
must be true.
The method should also be consistent over time, +
The method should also be consistent over time, so whether two objects are equal should only change if at least one of the objects was modified.
If a subclass overrides the equality operator it should override diff --git a/testing/test_package_docs/ex/Deprecated/hashCode.html b/testing/test_package_docs/ex/Deprecated/hashCode.html index 2d393e72e8..3c116f094d 100644 --- a/testing/test_package_docs/ex/Deprecated/hashCode.html +++ b/testing/test_package_docs/ex/Deprecated/hashCode.html @@ -107,12 +107,12 @@
The hash code for this object.
A hash code is a single integer which represents the state of the object
that affects ==
comparisons.
All objects have hash codes. -The default hash code represents only the identity of the object, +
All objects have hash codes.
+The default hash code represents only the identity of the object,
the same way as the default ==
implementation only considers objects
equal if they are identical (see identityHashCode
).
If ==
is overridden to use the object state instead,
-the hash code must also be changed to represent that state.
If ==
is overridden to use the object state instead,
+the hash code must also be changed to represent that state.
Hash codes must be the same for objects that are equal to each other
according to ==
.
The hash code of an object should only change if the object changes
diff --git a/testing/test_package_docs/ex/Deprecated/operator_equals.html b/testing/test_package_docs/ex/Deprecated/operator_equals.html
index 0398088484..2ba28d5678 100644
--- a/testing/test_package_docs/ex/Deprecated/operator_equals.html
+++ b/testing/test_package_docs/ex/Deprecated/operator_equals.html
@@ -113,7 +113,7 @@
Transitive: For all objects o1
, o2
, and o3
, if o1 == o2
and
o2 == o3
are true, then o1 == o3
must be true.
The method should also be consistent over time, +
The method should also be consistent over time, so whether two objects are equal should only change if at least one of the objects was modified.
If a subclass overrides the equality operator it should override diff --git a/testing/test_package_docs/ex/Dog-class.html b/testing/test_package_docs/ex/Dog-class.html index 7d82d10bca..01a9947c21 100644 --- a/testing/test_package_docs/ex/Dog-class.html +++ b/testing/test_package_docs/ex/Dog-class.html @@ -220,7 +220,7 @@
A tasty static + final property.
The hash code for this object.
A hash code is a single integer which represents the state of the object
that affects ==
comparisons.
All objects have hash codes. -The default hash code represents only the identity of the object, +
All objects have hash codes.
+The default hash code represents only the identity of the object,
the same way as the default ==
implementation only considers objects
equal if they are identical (see identityHashCode
).
If ==
is overridden to use the object state instead,
-the hash code must also be changed to represent that state.
If ==
is overridden to use the object state instead,
+the hash code must also be changed to represent that state.
Hash codes must be the same for objects that are equal to each other
according to ==
.
The hash code of an object should only change if the object changes
diff --git a/testing/test_package_docs/ex/Dog/operator_equals.html b/testing/test_package_docs/ex/Dog/operator_equals.html
index c94cedf92a..721ad0678b 100644
--- a/testing/test_package_docs/ex/Dog/operator_equals.html
+++ b/testing/test_package_docs/ex/Dog/operator_equals.html
@@ -142,7 +142,7 @@
Transitive: For all objects o1
, o2
, and o3
, if o1 == o2
and
o2 == o3
are true, then o1 == o3
must be true.
The method should also be consistent over time, +
The method should also be consistent over time, so whether two objects are equal should only change if at least one of the objects was modified.
If a subclass overrides the equality operator it should override diff --git a/testing/test_package_docs/ex/E/hashCode.html b/testing/test_package_docs/ex/E/hashCode.html index 9f13ff1d81..7830b694cf 100644 --- a/testing/test_package_docs/ex/E/hashCode.html +++ b/testing/test_package_docs/ex/E/hashCode.html @@ -106,12 +106,12 @@
The hash code for this object.
A hash code is a single integer which represents the state of the object
that affects ==
comparisons.
All objects have hash codes. -The default hash code represents only the identity of the object, +
All objects have hash codes.
+The default hash code represents only the identity of the object,
the same way as the default ==
implementation only considers objects
equal if they are identical (see identityHashCode
).
If ==
is overridden to use the object state instead,
-the hash code must also be changed to represent that state.
If ==
is overridden to use the object state instead,
+the hash code must also be changed to represent that state.
Hash codes must be the same for objects that are equal to each other
according to ==
.
The hash code of an object should only change if the object changes
diff --git a/testing/test_package_docs/ex/E/operator_equals.html b/testing/test_package_docs/ex/E/operator_equals.html
index 7f18a9f51c..2906598cc3 100644
--- a/testing/test_package_docs/ex/E/operator_equals.html
+++ b/testing/test_package_docs/ex/E/operator_equals.html
@@ -112,7 +112,7 @@
Transitive: For all objects o1
, o2
, and o3
, if o1 == o2
and
o2 == o3
are true, then o1 == o3
must be true.
The method should also be consistent over time, +
The method should also be consistent over time, so whether two objects are equal should only change if at least one of the objects was modified.
If a subclass overrides the equality operator it should override diff --git a/testing/test_package_docs/ex/F-class.html b/testing/test_package_docs/ex/F-class.html index 3464e6cc22..cdd8b02726 100644 --- a/testing/test_package_docs/ex/F-class.html +++ b/testing/test_package_docs/ex/F-class.html @@ -195,7 +195,7 @@
The hash code for this object.
A hash code is a single integer which represents the state of the object
that affects ==
comparisons.
All objects have hash codes. -The default hash code represents only the identity of the object, +
All objects have hash codes.
+The default hash code represents only the identity of the object,
the same way as the default ==
implementation only considers objects
equal if they are identical (see identityHashCode
).
If ==
is overridden to use the object state instead,
-the hash code must also be changed to represent that state.
If ==
is overridden to use the object state instead,
+the hash code must also be changed to represent that state.
Hash codes must be the same for objects that are equal to each other
according to ==
.
The hash code of an object should only change if the object changes
diff --git a/testing/test_package_docs/ex/ForAnnotation/operator_equals.html b/testing/test_package_docs/ex/ForAnnotation/operator_equals.html
index ba5bd8d4f2..7904e47f03 100644
--- a/testing/test_package_docs/ex/ForAnnotation/operator_equals.html
+++ b/testing/test_package_docs/ex/ForAnnotation/operator_equals.html
@@ -113,7 +113,7 @@
Transitive: For all objects o1
, o2
, and o3
, if o1 == o2
and
o2 == o3
are true, then o1 == o3
must be true.
The method should also be consistent over time, +
The method should also be consistent over time, so whether two objects are equal should only change if at least one of the objects was modified.
If a subclass overrides the equality operator it should override diff --git a/testing/test_package_docs/ex/HasAnnotation/hashCode.html b/testing/test_package_docs/ex/HasAnnotation/hashCode.html index a231dd1cba..c711b3d424 100644 --- a/testing/test_package_docs/ex/HasAnnotation/hashCode.html +++ b/testing/test_package_docs/ex/HasAnnotation/hashCode.html @@ -106,12 +106,12 @@
The hash code for this object.
A hash code is a single integer which represents the state of the object
that affects ==
comparisons.
All objects have hash codes. -The default hash code represents only the identity of the object, +
All objects have hash codes.
+The default hash code represents only the identity of the object,
the same way as the default ==
implementation only considers objects
equal if they are identical (see identityHashCode
).
If ==
is overridden to use the object state instead,
-the hash code must also be changed to represent that state.
If ==
is overridden to use the object state instead,
+the hash code must also be changed to represent that state.
Hash codes must be the same for objects that are equal to each other
according to ==
.
The hash code of an object should only change if the object changes
diff --git a/testing/test_package_docs/ex/HasAnnotation/operator_equals.html b/testing/test_package_docs/ex/HasAnnotation/operator_equals.html
index 6e87e683ae..2b56344e51 100644
--- a/testing/test_package_docs/ex/HasAnnotation/operator_equals.html
+++ b/testing/test_package_docs/ex/HasAnnotation/operator_equals.html
@@ -112,7 +112,7 @@
Transitive: For all objects o1
, o2
, and o3
, if o1 == o2
and
o2 == o3
are true, then o1 == o3
must be true.
The method should also be consistent over time, +
The method should also be consistent over time, so whether two objects are equal should only change if at least one of the objects was modified.
If a subclass overrides the equality operator it should override diff --git a/testing/test_package_docs/ex/Helper-class.html b/testing/test_package_docs/ex/Helper-class.html index 76cf0cd2c6..c1b4701a78 100644 --- a/testing/test_package_docs/ex/Helper-class.html +++ b/testing/test_package_docs/ex/Helper-class.html @@ -139,7 +139,7 @@
Even unresolved references in the same library should be resolved Apple -B
+ex.BThe hash code for this object.
A hash code is a single integer which represents the state of the object
that affects ==
comparisons.
All objects have hash codes. -The default hash code represents only the identity of the object, +
All objects have hash codes.
+The default hash code represents only the identity of the object,
the same way as the default ==
implementation only considers objects
equal if they are identical (see identityHashCode
).
If ==
is overridden to use the object state instead,
-the hash code must also be changed to represent that state.
If ==
is overridden to use the object state instead,
+the hash code must also be changed to represent that state.
Hash codes must be the same for objects that are equal to each other
according to ==
.
The hash code of an object should only change if the object changes
diff --git a/testing/test_package_docs/ex/Helper/operator_equals.html b/testing/test_package_docs/ex/Helper/operator_equals.html
index 96158da057..1c5c87659c 100644
--- a/testing/test_package_docs/ex/Helper/operator_equals.html
+++ b/testing/test_package_docs/ex/Helper/operator_equals.html
@@ -113,7 +113,7 @@
Transitive: For all objects o1
, o2
, and o3
, if o1 == o2
and
o2 == o3
are true, then o1 == o3
must be true.
The method should also be consistent over time, +
The method should also be consistent over time, so whether two objects are equal should only change if at least one of the objects was modified.
If a subclass overrides the equality operator it should override diff --git a/testing/test_package_docs/ex/Klass/hashCode.html b/testing/test_package_docs/ex/Klass/hashCode.html index 6bc06e31f5..7183b9df02 100644 --- a/testing/test_package_docs/ex/Klass/hashCode.html +++ b/testing/test_package_docs/ex/Klass/hashCode.html @@ -111,12 +111,12 @@
The hash code for this object.
A hash code is a single integer which represents the state of the object
that affects ==
comparisons.
All objects have hash codes. -The default hash code represents only the identity of the object, +
All objects have hash codes.
+The default hash code represents only the identity of the object,
the same way as the default ==
implementation only considers objects
equal if they are identical (see identityHashCode
).
If ==
is overridden to use the object state instead,
-the hash code must also be changed to represent that state.
If ==
is overridden to use the object state instead,
+the hash code must also be changed to represent that state.
Hash codes must be the same for objects that are equal to each other
according to ==
.
The hash code of an object should only change if the object changes
diff --git a/testing/test_package_docs/ex/Klass/operator_equals.html b/testing/test_package_docs/ex/Klass/operator_equals.html
index 57cf125c6d..ed5ca14dee 100644
--- a/testing/test_package_docs/ex/Klass/operator_equals.html
+++ b/testing/test_package_docs/ex/Klass/operator_equals.html
@@ -117,7 +117,7 @@
Transitive: For all objects o1
, o2
, and o3
, if o1 == o2
and
o2 == o3
are true, then o1 == o3
must be true.
The method should also be consistent over time, +
The method should also be consistent over time, so whether two objects are equal should only change if at least one of the objects was modified.
If a subclass overrides the equality operator it should override diff --git a/testing/test_package_docs/ex/MyError/hashCode.html b/testing/test_package_docs/ex/MyError/hashCode.html index af1ab6d8e3..ec1d9d2d9b 100644 --- a/testing/test_package_docs/ex/MyError/hashCode.html +++ b/testing/test_package_docs/ex/MyError/hashCode.html @@ -107,12 +107,12 @@
The hash code for this object.
A hash code is a single integer which represents the state of the object
that affects ==
comparisons.
All objects have hash codes. -The default hash code represents only the identity of the object, +
All objects have hash codes.
+The default hash code represents only the identity of the object,
the same way as the default ==
implementation only considers objects
equal if they are identical (see identityHashCode
).
If ==
is overridden to use the object state instead,
-the hash code must also be changed to represent that state.
If ==
is overridden to use the object state instead,
+the hash code must also be changed to represent that state.
Hash codes must be the same for objects that are equal to each other
according to ==
.
The hash code of an object should only change if the object changes
diff --git a/testing/test_package_docs/ex/MyError/operator_equals.html b/testing/test_package_docs/ex/MyError/operator_equals.html
index 71a8acf70e..b225eb6940 100644
--- a/testing/test_package_docs/ex/MyError/operator_equals.html
+++ b/testing/test_package_docs/ex/MyError/operator_equals.html
@@ -113,7 +113,7 @@
Transitive: For all objects o1
, o2
, and o3
, if o1 == o2
and
o2 == o3
are true, then o1 == o3
must be true.
The method should also be consistent over time, +
The method should also be consistent over time, so whether two objects are equal should only change if at least one of the objects was modified.
If a subclass overrides the equality operator it should override diff --git a/testing/test_package_docs/ex/MyErrorImplements/hashCode.html b/testing/test_package_docs/ex/MyErrorImplements/hashCode.html index f91f5fe1d7..2512c0642b 100644 --- a/testing/test_package_docs/ex/MyErrorImplements/hashCode.html +++ b/testing/test_package_docs/ex/MyErrorImplements/hashCode.html @@ -107,12 +107,12 @@
The hash code for this object.
A hash code is a single integer which represents the state of the object
that affects ==
comparisons.
All objects have hash codes. -The default hash code represents only the identity of the object, +
All objects have hash codes.
+The default hash code represents only the identity of the object,
the same way as the default ==
implementation only considers objects
equal if they are identical (see identityHashCode
).
If ==
is overridden to use the object state instead,
-the hash code must also be changed to represent that state.
If ==
is overridden to use the object state instead,
+the hash code must also be changed to represent that state.
Hash codes must be the same for objects that are equal to each other
according to ==
.
The hash code of an object should only change if the object changes
diff --git a/testing/test_package_docs/ex/MyErrorImplements/operator_equals.html b/testing/test_package_docs/ex/MyErrorImplements/operator_equals.html
index 7b2d61d4bd..bafe071e36 100644
--- a/testing/test_package_docs/ex/MyErrorImplements/operator_equals.html
+++ b/testing/test_package_docs/ex/MyErrorImplements/operator_equals.html
@@ -113,7 +113,7 @@
Transitive: For all objects o1
, o2
, and o3
, if o1 == o2
and
o2 == o3
are true, then o1 == o3
must be true.
The method should also be consistent over time, +
The method should also be consistent over time, so whether two objects are equal should only change if at least one of the objects was modified.
If a subclass overrides the equality operator it should override diff --git a/testing/test_package_docs/ex/MyException/hashCode.html b/testing/test_package_docs/ex/MyException/hashCode.html index 94cf102186..cc9f542ab9 100644 --- a/testing/test_package_docs/ex/MyException/hashCode.html +++ b/testing/test_package_docs/ex/MyException/hashCode.html @@ -106,12 +106,12 @@
The hash code for this object.
A hash code is a single integer which represents the state of the object
that affects ==
comparisons.
All objects have hash codes. -The default hash code represents only the identity of the object, +
All objects have hash codes.
+The default hash code represents only the identity of the object,
the same way as the default ==
implementation only considers objects
equal if they are identical (see identityHashCode
).
If ==
is overridden to use the object state instead,
-the hash code must also be changed to represent that state.
If ==
is overridden to use the object state instead,
+the hash code must also be changed to represent that state.
Hash codes must be the same for objects that are equal to each other
according to ==
.
The hash code of an object should only change if the object changes
diff --git a/testing/test_package_docs/ex/MyException/operator_equals.html b/testing/test_package_docs/ex/MyException/operator_equals.html
index 74c4d6088d..af1216230d 100644
--- a/testing/test_package_docs/ex/MyException/operator_equals.html
+++ b/testing/test_package_docs/ex/MyException/operator_equals.html
@@ -112,7 +112,7 @@
Transitive: For all objects o1
, o2
, and o3
, if o1 == o2
and
o2 == o3
are true, then o1 == o3
must be true.
The method should also be consistent over time, +
The method should also be consistent over time, so whether two objects are equal should only change if at least one of the objects was modified.
If a subclass overrides the equality operator it should override diff --git a/testing/test_package_docs/ex/MyExceptionImplements/hashCode.html b/testing/test_package_docs/ex/MyExceptionImplements/hashCode.html index df4606aff1..9dcf8dc4e1 100644 --- a/testing/test_package_docs/ex/MyExceptionImplements/hashCode.html +++ b/testing/test_package_docs/ex/MyExceptionImplements/hashCode.html @@ -106,12 +106,12 @@
The hash code for this object.
A hash code is a single integer which represents the state of the object
that affects ==
comparisons.
All objects have hash codes. -The default hash code represents only the identity of the object, +
All objects have hash codes.
+The default hash code represents only the identity of the object,
the same way as the default ==
implementation only considers objects
equal if they are identical (see identityHashCode
).
If ==
is overridden to use the object state instead,
-the hash code must also be changed to represent that state.
If ==
is overridden to use the object state instead,
+the hash code must also be changed to represent that state.
Hash codes must be the same for objects that are equal to each other
according to ==
.
The hash code of an object should only change if the object changes
diff --git a/testing/test_package_docs/ex/MyExceptionImplements/operator_equals.html b/testing/test_package_docs/ex/MyExceptionImplements/operator_equals.html
index 4615901bdb..076faa4f31 100644
--- a/testing/test_package_docs/ex/MyExceptionImplements/operator_equals.html
+++ b/testing/test_package_docs/ex/MyExceptionImplements/operator_equals.html
@@ -112,7 +112,7 @@
Transitive: For all objects o1
, o2
, and o3
, if o1 == o2
and
o2 == o3
are true, then o1 == o3
must be true.
The method should also be consistent over time, +
The method should also be consistent over time, so whether two objects are equal should only change if at least one of the objects was modified.
If a subclass overrides the equality operator it should override diff --git a/testing/test_package_docs/ex/PublicClassExtendsPrivateClass/hashCode.html b/testing/test_package_docs/ex/PublicClassExtendsPrivateClass/hashCode.html index b74a5e2629..488af7d7eb 100644 --- a/testing/test_package_docs/ex/PublicClassExtendsPrivateClass/hashCode.html +++ b/testing/test_package_docs/ex/PublicClassExtendsPrivateClass/hashCode.html @@ -107,12 +107,12 @@
The hash code for this object.
A hash code is a single integer which represents the state of the object
that affects ==
comparisons.
All objects have hash codes. -The default hash code represents only the identity of the object, +
All objects have hash codes.
+The default hash code represents only the identity of the object,
the same way as the default ==
implementation only considers objects
equal if they are identical (see identityHashCode
).
If ==
is overridden to use the object state instead,
-the hash code must also be changed to represent that state.
If ==
is overridden to use the object state instead,
+the hash code must also be changed to represent that state.
Hash codes must be the same for objects that are equal to each other
according to ==
.
The hash code of an object should only change if the object changes
diff --git a/testing/test_package_docs/ex/PublicClassExtendsPrivateClass/operator_equals.html b/testing/test_package_docs/ex/PublicClassExtendsPrivateClass/operator_equals.html
index 0c423bdf0d..a1f35950f8 100644
--- a/testing/test_package_docs/ex/PublicClassExtendsPrivateClass/operator_equals.html
+++ b/testing/test_package_docs/ex/PublicClassExtendsPrivateClass/operator_equals.html
@@ -113,7 +113,7 @@
Transitive: For all objects o1
, o2
, and o3
, if o1 == o2
and
o2 == o3
are true, then o1 == o3
must be true.
The method should also be consistent over time, +
The method should also be consistent over time, so whether two objects are equal should only change if at least one of the objects was modified.
If a subclass overrides the equality operator it should override diff --git a/testing/test_package_docs/ex/PublicClassImplementsPrivateInterface/hashCode.html b/testing/test_package_docs/ex/PublicClassImplementsPrivateInterface/hashCode.html index 42bcd3519d..28876f4138 100644 --- a/testing/test_package_docs/ex/PublicClassImplementsPrivateInterface/hashCode.html +++ b/testing/test_package_docs/ex/PublicClassImplementsPrivateInterface/hashCode.html @@ -107,12 +107,12 @@
The hash code for this object.
A hash code is a single integer which represents the state of the object
that affects ==
comparisons.
All objects have hash codes. -The default hash code represents only the identity of the object, +
All objects have hash codes.
+The default hash code represents only the identity of the object,
the same way as the default ==
implementation only considers objects
equal if they are identical (see identityHashCode
).
If ==
is overridden to use the object state instead,
-the hash code must also be changed to represent that state.
If ==
is overridden to use the object state instead,
+the hash code must also be changed to represent that state.
Hash codes must be the same for objects that are equal to each other
according to ==
.
The hash code of an object should only change if the object changes
diff --git a/testing/test_package_docs/ex/PublicClassImplementsPrivateInterface/operator_equals.html b/testing/test_package_docs/ex/PublicClassImplementsPrivateInterface/operator_equals.html
index 3031490b27..09a75a047f 100644
--- a/testing/test_package_docs/ex/PublicClassImplementsPrivateInterface/operator_equals.html
+++ b/testing/test_package_docs/ex/PublicClassImplementsPrivateInterface/operator_equals.html
@@ -113,7 +113,7 @@
Transitive: For all objects o1
, o2
, and o3
, if o1 == o2
and
o2 == o3
are true, then o1 == o3
must be true.
The method should also be consistent over time, +
The method should also be consistent over time, so whether two objects are equal should only change if at least one of the objects was modified.
If a subclass overrides the equality operator it should override diff --git a/testing/test_package_docs/ex/ShapeType/hashCode.html b/testing/test_package_docs/ex/ShapeType/hashCode.html index 329e5e4ccf..7be697f8c0 100644 --- a/testing/test_package_docs/ex/ShapeType/hashCode.html +++ b/testing/test_package_docs/ex/ShapeType/hashCode.html @@ -108,12 +108,12 @@
The hash code for this object.
A hash code is a single integer which represents the state of the object
that affects ==
comparisons.
All objects have hash codes. -The default hash code represents only the identity of the object, +
All objects have hash codes.
+The default hash code represents only the identity of the object,
the same way as the default ==
implementation only considers objects
equal if they are identical (see identityHashCode
).
If ==
is overridden to use the object state instead,
-the hash code must also be changed to represent that state.
If ==
is overridden to use the object state instead,
+the hash code must also be changed to represent that state.
Hash codes must be the same for objects that are equal to each other
according to ==
.
The hash code of an object should only change if the object changes
diff --git a/testing/test_package_docs/ex/ShapeType/operator_equals.html b/testing/test_package_docs/ex/ShapeType/operator_equals.html
index 34b93923e3..6ecb649626 100644
--- a/testing/test_package_docs/ex/ShapeType/operator_equals.html
+++ b/testing/test_package_docs/ex/ShapeType/operator_equals.html
@@ -114,7 +114,7 @@
Transitive: For all objects o1
, o2
, and o3
, if o1 == o2
and
o2 == o3
are true, then o1 == o3
must be true.
The method should also be consistent over time, +
The method should also be consistent over time, so whether two objects are equal should only change if at least one of the objects was modified.
If a subclass overrides the equality operator it should override diff --git a/testing/test_package_docs/ex/SpecializedDuration/hashCode.html b/testing/test_package_docs/ex/SpecializedDuration/hashCode.html index 7569eebd4f..8fd78415ca 100644 --- a/testing/test_package_docs/ex/SpecializedDuration/hashCode.html +++ b/testing/test_package_docs/ex/SpecializedDuration/hashCode.html @@ -124,12 +124,12 @@
The hash code for this object.
A hash code is a single integer which represents the state of the object
that affects ==
comparisons.
All objects have hash codes. -The default hash code represents only the identity of the object, +
All objects have hash codes.
+The default hash code represents only the identity of the object,
the same way as the default ==
implementation only considers objects
equal if they are identical (see identityHashCode
).
If ==
is overridden to use the object state instead,
-the hash code must also be changed to represent that state.
If ==
is overridden to use the object state instead,
+the hash code must also be changed to represent that state.
Hash codes must be the same for objects that are equal to each other
according to ==
.
The hash code of an object should only change if the object changes
diff --git a/testing/test_package_docs/ex/WithGeneric-class.html b/testing/test_package_docs/ex/WithGeneric-class.html
index f295f681fc..f1e4adb7fa 100644
--- a/testing/test_package_docs/ex/WithGeneric-class.html
+++ b/testing/test_package_docs/ex/WithGeneric-class.html
@@ -169,7 +169,7 @@
The hash code for this object.
A hash code is a single integer which represents the state of the object
that affects ==
comparisons.
All objects have hash codes. -The default hash code represents only the identity of the object, +
All objects have hash codes.
+The default hash code represents only the identity of the object,
the same way as the default ==
implementation only considers objects
equal if they are identical (see identityHashCode
).
If ==
is overridden to use the object state instead,
-the hash code must also be changed to represent that state.
If ==
is overridden to use the object state instead,
+the hash code must also be changed to represent that state.
Hash codes must be the same for objects that are equal to each other
according to ==
.
The hash code of an object should only change if the object changes
diff --git a/testing/test_package_docs/ex/WithGeneric/operator_equals.html b/testing/test_package_docs/ex/WithGeneric/operator_equals.html
index 4b5e566c20..e3103d8bf2 100644
--- a/testing/test_package_docs/ex/WithGeneric/operator_equals.html
+++ b/testing/test_package_docs/ex/WithGeneric/operator_equals.html
@@ -113,7 +113,7 @@
Transitive: For all objects o1
, o2
, and o3
, if o1 == o2
and
o2 == o3
are true, then o1 == o3
must be true.
The method should also be consistent over time, +
The method should also be consistent over time, so whether two objects are equal should only change if at least one of the objects was modified.
If a subclass overrides the equality operator it should override diff --git a/testing/test_package_docs/ex/WithGenericSub-class.html b/testing/test_package_docs/ex/WithGenericSub-class.html index 4326ef2f9c..68dd03019c 100644 --- a/testing/test_package_docs/ex/WithGenericSub-class.html +++ b/testing/test_package_docs/ex/WithGenericSub-class.html @@ -179,7 +179,7 @@
The hash code for this object.
A hash code is a single integer which represents the state of the object
that affects ==
comparisons.
All objects have hash codes. -The default hash code represents only the identity of the object, +
All objects have hash codes.
+The default hash code represents only the identity of the object,
the same way as the default ==
implementation only considers objects
equal if they are identical (see identityHashCode
).
If ==
is overridden to use the object state instead,
-the hash code must also be changed to represent that state.
If ==
is overridden to use the object state instead,
+the hash code must also be changed to represent that state.
Hash codes must be the same for objects that are equal to each other
according to ==
.
The hash code of an object should only change if the object changes
diff --git a/testing/test_package_docs/ex/aThingToDo/operator_equals.html b/testing/test_package_docs/ex/aThingToDo/operator_equals.html
index 0f1e1caf02..faeb52bc1e 100644
--- a/testing/test_package_docs/ex/aThingToDo/operator_equals.html
+++ b/testing/test_package_docs/ex/aThingToDo/operator_equals.html
@@ -114,7 +114,7 @@
Transitive: For all objects o1
, o2
, and o3
, if o1 == o2
and
o2 == o3
are true, then o1 == o3
must be true.
The method should also be consistent over time, +
The method should also be consistent over time, so whether two objects are equal should only change if at least one of the objects was modified.
If a subclass overrides the equality operator it should override diff --git a/testing/test_package_docs/ex/ex-library.html b/testing/test_package_docs/ex/ex-library.html index c388687b9e..5bdc4d055b 100644 --- a/testing/test_package_docs/ex/ex-library.html +++ b/testing/test_package_docs/ex/ex-library.html @@ -182,7 +182,7 @@
Even unresolved references in the same library should be resolved Apple -B
+ex.BThe hash code for this object.
A hash code is a single integer which represents the state of the object
that affects ==
comparisons.
All objects have hash codes. -The default hash code represents only the identity of the object, +
All objects have hash codes.
+The default hash code represents only the identity of the object,
the same way as the default ==
implementation only considers objects
equal if they are identical (see identityHashCode
).
If ==
is overridden to use the object state instead,
-the hash code must also be changed to represent that state.
If ==
is overridden to use the object state instead,
+the hash code must also be changed to represent that state.
Hash codes must be the same for objects that are equal to each other
according to ==
.
The hash code of an object should only change if the object changes
diff --git a/testing/test_package_docs/fake/Annotation/operator_equals.html b/testing/test_package_docs/fake/Annotation/operator_equals.html
index a4b54588cb..99d25aeefd 100644
--- a/testing/test_package_docs/fake/Annotation/operator_equals.html
+++ b/testing/test_package_docs/fake/Annotation/operator_equals.html
@@ -113,7 +113,7 @@
Transitive: For all objects o1
, o2
, and o3
, if o1 == o2
and
o2 == o3
are true, then o1 == o3
must be true.
The method should also be consistent over time, +
The method should also be consistent over time, so whether two objects are equal should only change if at least one of the objects was modified.
If a subclass overrides the equality operator it should override diff --git a/testing/test_package_docs/fake/AnotherInterface/hashCode.html b/testing/test_package_docs/fake/AnotherInterface/hashCode.html index 48c2785f18..c330a55865 100644 --- a/testing/test_package_docs/fake/AnotherInterface/hashCode.html +++ b/testing/test_package_docs/fake/AnotherInterface/hashCode.html @@ -106,12 +106,12 @@
The hash code for this object.
A hash code is a single integer which represents the state of the object
that affects ==
comparisons.
All objects have hash codes. -The default hash code represents only the identity of the object, +
All objects have hash codes.
+The default hash code represents only the identity of the object,
the same way as the default ==
implementation only considers objects
equal if they are identical (see identityHashCode
).
If ==
is overridden to use the object state instead,
-the hash code must also be changed to represent that state.
If ==
is overridden to use the object state instead,
+the hash code must also be changed to represent that state.
Hash codes must be the same for objects that are equal to each other
according to ==
.
The hash code of an object should only change if the object changes
diff --git a/testing/test_package_docs/fake/AnotherInterface/operator_equals.html b/testing/test_package_docs/fake/AnotherInterface/operator_equals.html
index 5f5e167613..0be4a23da6 100644
--- a/testing/test_package_docs/fake/AnotherInterface/operator_equals.html
+++ b/testing/test_package_docs/fake/AnotherInterface/operator_equals.html
@@ -112,7 +112,7 @@
Transitive: For all objects o1
, o2
, and o3
, if o1 == o2
and
o2 == o3
are true, then o1 == o3
must be true.
The method should also be consistent over time, +
The method should also be consistent over time, so whether two objects are equal should only change if at least one of the objects was modified.
If a subclass overrides the equality operator it should override diff --git a/testing/test_package_docs/fake/BaseForDocComments/doAwesomeStuff.html b/testing/test_package_docs/fake/BaseForDocComments/doAwesomeStuff.html index 2f8f68f34c..365fb6b169 100644 --- a/testing/test_package_docs/fake/BaseForDocComments/doAwesomeStuff.html +++ b/testing/test_package_docs/fake/BaseForDocComments/doAwesomeStuff.html @@ -115,7 +115,7 @@
Reference to a top-level const in another library incorrectDocReferenceFromEx
Reference to prefixed-name from another lib css.theOnlyThingInTheLibrary xx
Reference to a name that exists in this package, but is not imported
-in this library doesStuff
xx
Reference to a name of a class from an import of a library that exported the name BaseClass xx
diff --git a/testing/test_package_docs/fake/BaseForDocComments/hashCode.html b/testing/test_package_docs/fake/BaseForDocComments/hashCode.html index a12e2b2273..a6dc06e724 100644 --- a/testing/test_package_docs/fake/BaseForDocComments/hashCode.html +++ b/testing/test_package_docs/fake/BaseForDocComments/hashCode.html @@ -108,12 +108,12 @@The hash code for this object.
A hash code is a single integer which represents the state of the object
that affects ==
comparisons.
All objects have hash codes. -The default hash code represents only the identity of the object, +
All objects have hash codes.
+The default hash code represents only the identity of the object,
the same way as the default ==
implementation only considers objects
equal if they are identical (see identityHashCode
).
If ==
is overridden to use the object state instead,
-the hash code must also be changed to represent that state.
If ==
is overridden to use the object state instead,
+the hash code must also be changed to represent that state.
Hash codes must be the same for objects that are equal to each other
according to ==
.
The hash code of an object should only change if the object changes
diff --git a/testing/test_package_docs/fake/BaseForDocComments/operator_equals.html b/testing/test_package_docs/fake/BaseForDocComments/operator_equals.html
index 89b435345c..5a5774430a 100644
--- a/testing/test_package_docs/fake/BaseForDocComments/operator_equals.html
+++ b/testing/test_package_docs/fake/BaseForDocComments/operator_equals.html
@@ -114,7 +114,7 @@
Transitive: For all objects o1
, o2
, and o3
, if o1 == o2
and
o2 == o3
are true, then o1 == o3
must be true.
The method should also be consistent over time, +
The method should also be consistent over time, so whether two objects are equal should only change if at least one of the objects was modified.
If a subclass overrides the equality operator it should override diff --git a/testing/test_package_docs/fake/Color/hashCode.html b/testing/test_package_docs/fake/Color/hashCode.html index b424393d1a..0bda804355 100644 --- a/testing/test_package_docs/fake/Color/hashCode.html +++ b/testing/test_package_docs/fake/Color/hashCode.html @@ -114,12 +114,12 @@
The hash code for this object.
A hash code is a single integer which represents the state of the object
that affects ==
comparisons.
All objects have hash codes. -The default hash code represents only the identity of the object, +
All objects have hash codes.
+The default hash code represents only the identity of the object,
the same way as the default ==
implementation only considers objects
equal if they are identical (see identityHashCode
).
If ==
is overridden to use the object state instead,
-the hash code must also be changed to represent that state.
If ==
is overridden to use the object state instead,
+the hash code must also be changed to represent that state.
Hash codes must be the same for objects that are equal to each other
according to ==
.
The hash code of an object should only change if the object changes
diff --git a/testing/test_package_docs/fake/Color/operator_equals.html b/testing/test_package_docs/fake/Color/operator_equals.html
index af37750aa7..66fd402bf5 100644
--- a/testing/test_package_docs/fake/Color/operator_equals.html
+++ b/testing/test_package_docs/fake/Color/operator_equals.html
@@ -120,7 +120,7 @@
Transitive: For all objects o1
, o2
, and o3
, if o1 == o2
and
o2 == o3
are true, then o1 == o3
must be true.
The method should also be consistent over time, +
The method should also be consistent over time, so whether two objects are equal should only change if at least one of the objects was modified.
If a subclass overrides the equality operator it should override diff --git a/testing/test_package_docs/fake/ConstantClass/hashCode.html b/testing/test_package_docs/fake/ConstantClass/hashCode.html index e443b5ddb6..d49d3ec4da 100644 --- a/testing/test_package_docs/fake/ConstantClass/hashCode.html +++ b/testing/test_package_docs/fake/ConstantClass/hashCode.html @@ -109,12 +109,12 @@
The hash code for this object.
A hash code is a single integer which represents the state of the object
that affects ==
comparisons.
All objects have hash codes. -The default hash code represents only the identity of the object, +
All objects have hash codes.
+The default hash code represents only the identity of the object,
the same way as the default ==
implementation only considers objects
equal if they are identical (see identityHashCode
).
If ==
is overridden to use the object state instead,
-the hash code must also be changed to represent that state.
If ==
is overridden to use the object state instead,
+the hash code must also be changed to represent that state.
Hash codes must be the same for objects that are equal to each other
according to ==
.
The hash code of an object should only change if the object changes
diff --git a/testing/test_package_docs/fake/ConstantClass/operator_equals.html b/testing/test_package_docs/fake/ConstantClass/operator_equals.html
index 7afb37377f..dabf509f65 100644
--- a/testing/test_package_docs/fake/ConstantClass/operator_equals.html
+++ b/testing/test_package_docs/fake/ConstantClass/operator_equals.html
@@ -115,7 +115,7 @@
Transitive: For all objects o1
, o2
, and o3
, if o1 == o2
and
o2 == o3
are true, then o1 == o3
must be true.
The method should also be consistent over time, +
The method should also be consistent over time, so whether two objects are equal should only change if at least one of the objects was modified.
If a subclass overrides the equality operator it should override diff --git a/testing/test_package_docs/fake/Cool/hashCode.html b/testing/test_package_docs/fake/Cool/hashCode.html index 83b5b27fb2..0de602ac67 100644 --- a/testing/test_package_docs/fake/Cool/hashCode.html +++ b/testing/test_package_docs/fake/Cool/hashCode.html @@ -107,12 +107,12 @@
The hash code for this object.
A hash code is a single integer which represents the state of the object
that affects ==
comparisons.
All objects have hash codes. -The default hash code represents only the identity of the object, +
All objects have hash codes.
+The default hash code represents only the identity of the object,
the same way as the default ==
implementation only considers objects
equal if they are identical (see identityHashCode
).
If ==
is overridden to use the object state instead,
-the hash code must also be changed to represent that state.
If ==
is overridden to use the object state instead,
+the hash code must also be changed to represent that state.
Hash codes must be the same for objects that are equal to each other
according to ==
.
The hash code of an object should only change if the object changes
diff --git a/testing/test_package_docs/fake/Cool/operator_equals.html b/testing/test_package_docs/fake/Cool/operator_equals.html
index 30cd768a6e..d868c1636f 100644
--- a/testing/test_package_docs/fake/Cool/operator_equals.html
+++ b/testing/test_package_docs/fake/Cool/operator_equals.html
@@ -113,7 +113,7 @@
Transitive: For all objects o1
, o2
, and o3
, if o1 == o2
and
o2 == o3
are true, then o1 == o3
must be true.
The method should also be consistent over time, +
The method should also be consistent over time, so whether two objects are equal should only change if at least one of the objects was modified.
If a subclass overrides the equality operator it should override diff --git a/testing/test_package_docs/fake/Doh/hashCode.html b/testing/test_package_docs/fake/Doh/hashCode.html index b92cc8244b..b8c976bb00 100644 --- a/testing/test_package_docs/fake/Doh/hashCode.html +++ b/testing/test_package_docs/fake/Doh/hashCode.html @@ -107,12 +107,12 @@
The hash code for this object.
A hash code is a single integer which represents the state of the object
that affects ==
comparisons.
All objects have hash codes. -The default hash code represents only the identity of the object, +
All objects have hash codes.
+The default hash code represents only the identity of the object,
the same way as the default ==
implementation only considers objects
equal if they are identical (see identityHashCode
).
If ==
is overridden to use the object state instead,
-the hash code must also be changed to represent that state.
If ==
is overridden to use the object state instead,
+the hash code must also be changed to represent that state.
Hash codes must be the same for objects that are equal to each other
according to ==
.
The hash code of an object should only change if the object changes
diff --git a/testing/test_package_docs/fake/Doh/operator_equals.html b/testing/test_package_docs/fake/Doh/operator_equals.html
index 37e6164651..1e530a7feb 100644
--- a/testing/test_package_docs/fake/Doh/operator_equals.html
+++ b/testing/test_package_docs/fake/Doh/operator_equals.html
@@ -113,7 +113,7 @@
Transitive: For all objects o1
, o2
, and o3
, if o1 == o2
and
o2 == o3
are true, then o1 == o3
must be true.
The method should also be consistent over time, +
The method should also be consistent over time, so whether two objects are equal should only change if at least one of the objects was modified.
If a subclass overrides the equality operator it should override diff --git a/testing/test_package_docs/fake/ExtraSpecialList-class.html b/testing/test_package_docs/fake/ExtraSpecialList-class.html index 61194114c3..926ea2ba95 100644 --- a/testing/test_package_docs/fake/ExtraSpecialList-class.html +++ b/testing/test_package_docs/fake/ExtraSpecialList-class.html @@ -188,7 +188,7 @@
The hash code for this object.
A hash code is a single integer which represents the state of the object
that affects ==
comparisons.
All objects have hash codes. -The default hash code represents only the identity of the object, +
All objects have hash codes.
+The default hash code represents only the identity of the object,
the same way as the default ==
implementation only considers objects
equal if they are identical (see identityHashCode
).
If ==
is overridden to use the object state instead,
-the hash code must also be changed to represent that state.
If ==
is overridden to use the object state instead,
+the hash code must also be changed to represent that state.
Hash codes must be the same for objects that are equal to each other
according to ==
.
The hash code of an object should only change if the object changes
diff --git a/testing/test_package_docs/fake/Foo2/operator_equals.html b/testing/test_package_docs/fake/Foo2/operator_equals.html
index 2aaeb6975b..ca93fc4e93 100644
--- a/testing/test_package_docs/fake/Foo2/operator_equals.html
+++ b/testing/test_package_docs/fake/Foo2/operator_equals.html
@@ -116,7 +116,7 @@
Transitive: For all objects o1
, o2
, and o3
, if o1 == o2
and
o2 == o3
are true, then o1 == o3
must be true.
The method should also be consistent over time, +
The method should also be consistent over time, so whether two objects are equal should only change if at least one of the objects was modified.
If a subclass overrides the equality operator it should override diff --git a/testing/test_package_docs/fake/HasGenericWithExtends/hashCode.html b/testing/test_package_docs/fake/HasGenericWithExtends/hashCode.html index 44adfcb2bd..841877474d 100644 --- a/testing/test_package_docs/fake/HasGenericWithExtends/hashCode.html +++ b/testing/test_package_docs/fake/HasGenericWithExtends/hashCode.html @@ -106,12 +106,12 @@
A hash code is a single integer which represents the state of the object
that affects ==
comparisons.
All objects have hash codes. -The default hash code represents only the identity of the object, +
All objects have hash codes.
+The default hash code represents only the identity of the object,
the same way as the default ==
implementation only considers objects
equal if they are identical (see identityHashCode
).
If ==
is overridden to use the object state instead,
-the hash code must also be changed to represent that state.
If ==
is overridden to use the object state instead,
+the hash code must also be changed to represent that state.
Hash codes must be the same for objects that are equal to each other
according to ==
.
The hash code of an object should only change if the object changes
diff --git a/testing/test_package_docs/fake/HasGenericWithExtends/operator_equals.html b/testing/test_package_docs/fake/HasGenericWithExtends/operator_equals.html
index 279a7fefea..cbf50282c9 100644
--- a/testing/test_package_docs/fake/HasGenericWithExtends/operator_equals.html
+++ b/testing/test_package_docs/fake/HasGenericWithExtends/operator_equals.html
@@ -112,7 +112,7 @@
Transitive: For all objects o1
, o2
, and o3
, if o1 == o2
and
o2 == o3
are true, then o1 == o3
must be true.
The method should also be consistent over time, +
The method should also be consistent over time, so whether two objects are equal should only change if at least one of the objects was modified.
If a subclass overrides the equality operator it should override diff --git a/testing/test_package_docs/fake/HasGenerics/hashCode.html b/testing/test_package_docs/fake/HasGenerics/hashCode.html index b4ea3cd76d..95e72d7632 100644 --- a/testing/test_package_docs/fake/HasGenerics/hashCode.html +++ b/testing/test_package_docs/fake/HasGenerics/hashCode.html @@ -110,12 +110,12 @@
The hash code for this object.
A hash code is a single integer which represents the state of the object
that affects ==
comparisons.
All objects have hash codes. -The default hash code represents only the identity of the object, +
All objects have hash codes.
+The default hash code represents only the identity of the object,
the same way as the default ==
implementation only considers objects
equal if they are identical (see identityHashCode
).
If ==
is overridden to use the object state instead,
-the hash code must also be changed to represent that state.
If ==
is overridden to use the object state instead,
+the hash code must also be changed to represent that state.
Hash codes must be the same for objects that are equal to each other
according to ==
.
The hash code of an object should only change if the object changes
diff --git a/testing/test_package_docs/fake/HasGenerics/operator_equals.html b/testing/test_package_docs/fake/HasGenerics/operator_equals.html
index 4213c97e67..dedc508f66 100644
--- a/testing/test_package_docs/fake/HasGenerics/operator_equals.html
+++ b/testing/test_package_docs/fake/HasGenerics/operator_equals.html
@@ -116,7 +116,7 @@
Transitive: For all objects o1
, o2
, and o3
, if o1 == o2
and
o2 == o3
are true, then o1 == o3
must be true.
The method should also be consistent over time, +
The method should also be consistent over time, so whether two objects are equal should only change if at least one of the objects was modified.
If a subclass overrides the equality operator it should override diff --git a/testing/test_package_docs/fake/Interface/hashCode.html b/testing/test_package_docs/fake/Interface/hashCode.html index 8e62d1a8dd..2b33b03215 100644 --- a/testing/test_package_docs/fake/Interface/hashCode.html +++ b/testing/test_package_docs/fake/Interface/hashCode.html @@ -106,12 +106,12 @@
The hash code for this object.
A hash code is a single integer which represents the state of the object
that affects ==
comparisons.
All objects have hash codes. -The default hash code represents only the identity of the object, +
All objects have hash codes.
+The default hash code represents only the identity of the object,
the same way as the default ==
implementation only considers objects
equal if they are identical (see identityHashCode
).
If ==
is overridden to use the object state instead,
-the hash code must also be changed to represent that state.
If ==
is overridden to use the object state instead,
+the hash code must also be changed to represent that state.
Hash codes must be the same for objects that are equal to each other
according to ==
.
The hash code of an object should only change if the object changes
diff --git a/testing/test_package_docs/fake/Interface/operator_equals.html b/testing/test_package_docs/fake/Interface/operator_equals.html
index 4879cf49e3..7f30bb524a 100644
--- a/testing/test_package_docs/fake/Interface/operator_equals.html
+++ b/testing/test_package_docs/fake/Interface/operator_equals.html
@@ -112,7 +112,7 @@
Transitive: For all objects o1
, o2
, and o3
, if o1 == o2
and
o2 == o3
are true, then o1 == o3
must be true.
The method should also be consistent over time, +
The method should also be consistent over time, so whether two objects are equal should only change if at least one of the objects was modified.
If a subclass overrides the equality operator it should override diff --git a/testing/test_package_docs/fake/LongFirstLine-class.html b/testing/test_package_docs/fake/LongFirstLine-class.html index ab354b6086..679fd26adc 100644 --- a/testing/test_package_docs/fake/LongFirstLine-class.html +++ b/testing/test_package_docs/fake/LongFirstLine-class.html @@ -219,7 +219,7 @@
An instance string property. Readable and writable.
@@ -234,8 +234,9 @@Only a setter, with a single param, of type double.
@@ -251,7 +252,7 @@In the super class.
@@ -385,7 +386,7 @@A static int property.
@@ -400,8 +401,9 @@The hash code for this object.
A hash code is a single integer which represents the state of the object
that affects ==
comparisons.
All objects have hash codes. -The default hash code represents only the identity of the object, +
All objects have hash codes.
+The default hash code represents only the identity of the object,
the same way as the default ==
implementation only considers objects
equal if they are identical (see identityHashCode
).
If ==
is overridden to use the object state instead,
-the hash code must also be changed to represent that state.
If ==
is overridden to use the object state instead,
+the hash code must also be changed to represent that state.
Hash codes must be the same for objects that are equal to each other
according to ==
.
The hash code of an object should only change if the object changes
diff --git a/testing/test_package_docs/fake/MixMeIn/operator_equals.html b/testing/test_package_docs/fake/MixMeIn/operator_equals.html
index c83eebb85a..182d3f86d6 100644
--- a/testing/test_package_docs/fake/MixMeIn/operator_equals.html
+++ b/testing/test_package_docs/fake/MixMeIn/operator_equals.html
@@ -112,7 +112,7 @@
Transitive: For all objects o1
, o2
, and o3
, if o1 == o2
and
o2 == o3
are true, then o1 == o3
must be true.
The method should also be consistent over time, +
The method should also be consistent over time, so whether two objects are equal should only change if at least one of the objects was modified.
If a subclass overrides the equality operator it should override diff --git a/testing/test_package_docs/fake/Oops/hashCode.html b/testing/test_package_docs/fake/Oops/hashCode.html index 83e358e7b0..d5b137cec2 100644 --- a/testing/test_package_docs/fake/Oops/hashCode.html +++ b/testing/test_package_docs/fake/Oops/hashCode.html @@ -107,12 +107,12 @@
The hash code for this object.
A hash code is a single integer which represents the state of the object
that affects ==
comparisons.
All objects have hash codes. -The default hash code represents only the identity of the object, +
All objects have hash codes.
+The default hash code represents only the identity of the object,
the same way as the default ==
implementation only considers objects
equal if they are identical (see identityHashCode
).
If ==
is overridden to use the object state instead,
-the hash code must also be changed to represent that state.
If ==
is overridden to use the object state instead,
+the hash code must also be changed to represent that state.
Hash codes must be the same for objects that are equal to each other
according to ==
.
The hash code of an object should only change if the object changes
diff --git a/testing/test_package_docs/fake/Oops/operator_equals.html b/testing/test_package_docs/fake/Oops/operator_equals.html
index 995f457827..16d8174e85 100644
--- a/testing/test_package_docs/fake/Oops/operator_equals.html
+++ b/testing/test_package_docs/fake/Oops/operator_equals.html
@@ -113,7 +113,7 @@
Transitive: For all objects o1
, o2
, and o3
, if o1 == o2
and
o2 == o3
are true, then o1 == o3
must be true.
The method should also be consistent over time, +
The method should also be consistent over time, so whether two objects are equal should only change if at least one of the objects was modified.
If a subclass overrides the equality operator it should override diff --git a/testing/test_package_docs/fake/OperatorReferenceClass/hashCode.html b/testing/test_package_docs/fake/OperatorReferenceClass/hashCode.html index 36f7898467..190a350509 100644 --- a/testing/test_package_docs/fake/OperatorReferenceClass/hashCode.html +++ b/testing/test_package_docs/fake/OperatorReferenceClass/hashCode.html @@ -106,12 +106,12 @@
The hash code for this object.
A hash code is a single integer which represents the state of the object
that affects ==
comparisons.
All objects have hash codes. -The default hash code represents only the identity of the object, +
All objects have hash codes.
+The default hash code represents only the identity of the object,
the same way as the default ==
implementation only considers objects
equal if they are identical (see identityHashCode
).
If ==
is overridden to use the object state instead,
-the hash code must also be changed to represent that state.
If ==
is overridden to use the object state instead,
+the hash code must also be changed to represent that state.
Hash codes must be the same for objects that are equal to each other
according to ==
.
The hash code of an object should only change if the object changes
diff --git a/testing/test_package_docs/fake/OperatorReferenceClass/operator_equals.html b/testing/test_package_docs/fake/OperatorReferenceClass/operator_equals.html
index a1d337e8ae..01a09e2290 100644
--- a/testing/test_package_docs/fake/OperatorReferenceClass/operator_equals.html
+++ b/testing/test_package_docs/fake/OperatorReferenceClass/operator_equals.html
@@ -117,7 +117,7 @@
Transitive: For all objects o1
, o2
, and o3
, if o1 == o2
and
o2 == o3
are true, then o1 == o3
must be true.
The method should also be consistent over time, +
The method should also be consistent over time, so whether two objects are equal should only change if at least one of the objects was modified.
If a subclass overrides the equality operator it should override diff --git a/testing/test_package_docs/fake/OtherGenericsThing/hashCode.html b/testing/test_package_docs/fake/OtherGenericsThing/hashCode.html index 402046c294..ced19403b1 100644 --- a/testing/test_package_docs/fake/OtherGenericsThing/hashCode.html +++ b/testing/test_package_docs/fake/OtherGenericsThing/hashCode.html @@ -107,12 +107,12 @@
The hash code for this object.
A hash code is a single integer which represents the state of the object
that affects ==
comparisons.
All objects have hash codes. -The default hash code represents only the identity of the object, +
All objects have hash codes.
+The default hash code represents only the identity of the object,
the same way as the default ==
implementation only considers objects
equal if they are identical (see identityHashCode
).
If ==
is overridden to use the object state instead,
-the hash code must also be changed to represent that state.
If ==
is overridden to use the object state instead,
+the hash code must also be changed to represent that state.
Hash codes must be the same for objects that are equal to each other
according to ==
.
The hash code of an object should only change if the object changes
diff --git a/testing/test_package_docs/fake/OtherGenericsThing/operator_equals.html b/testing/test_package_docs/fake/OtherGenericsThing/operator_equals.html
index 9d3b4f731b..ac1672c33b 100644
--- a/testing/test_package_docs/fake/OtherGenericsThing/operator_equals.html
+++ b/testing/test_package_docs/fake/OtherGenericsThing/operator_equals.html
@@ -113,7 +113,7 @@
Transitive: For all objects o1
, o2
, and o3
, if o1 == o2
and
o2 == o3
are true, then o1 == o3
must be true.
The method should also be consistent over time, +
The method should also be consistent over time, so whether two objects are equal should only change if at least one of the objects was modified.
If a subclass overrides the equality operator it should override diff --git a/testing/test_package_docs/fake/SpecialList-class.html b/testing/test_package_docs/fake/SpecialList-class.html index 24d2dfc6b9..f9b0e0c43a 100644 --- a/testing/test_package_docs/fake/SpecialList-class.html +++ b/testing/test_package_docs/fake/SpecialList-class.html @@ -189,9 +189,14 @@
Object.==
of the element.
Some types of iterable may have a different equality used for its elements.
For example, a Set
may have a custom equality
-(see Set.identical
) that its contains
uses.
+(see Set.identity
) that its contains
uses.
Likewise the Iterable
returned by a Map.keys
call
should use the same equality that the Map
uses for keys.
Returns the index
th element.
The index
must be non-negative and less than length
.
+
The index
must be non-negative and less than length.
Index zero represents the first element (so iterable.elementAt(0)
is
equivalent to iterable.first
).
May iterate through the elements in iteration order, skipping the diff --git a/testing/test_package_docs/fake/SpecialList/hashCode.html b/testing/test_package_docs/fake/SpecialList/hashCode.html index 23578081d8..3d9ffab70b 100644 --- a/testing/test_package_docs/fake/SpecialList/hashCode.html +++ b/testing/test_package_docs/fake/SpecialList/hashCode.html @@ -158,12 +158,12 @@
The hash code for this object.
A hash code is a single integer which represents the state of the object
that affects ==
comparisons.
All objects have hash codes. -The default hash code represents only the identity of the object, +
All objects have hash codes.
+The default hash code represents only the identity of the object,
the same way as the default ==
implementation only considers objects
equal if they are identical (see identityHashCode
).
If ==
is overridden to use the object state instead,
-the hash code must also be changed to represent that state.
If ==
is overridden to use the object state instead,
+the hash code must also be changed to represent that state.
Hash codes must be the same for objects that are equal to each other
according to ==
.
The hash code of an object should only change if the object changes
diff --git a/testing/test_package_docs/fake/SpecialList/operator_equals.html b/testing/test_package_docs/fake/SpecialList/operator_equals.html
index 8eafef8060..d0afe1f01c 100644
--- a/testing/test_package_docs/fake/SpecialList/operator_equals.html
+++ b/testing/test_package_docs/fake/SpecialList/operator_equals.html
@@ -164,7 +164,7 @@
Transitive: For all objects o1
, o2
, and o3
, if o1 == o2
and
o2 == o3
are true, then o1 == o3
must be true.
The method should also be consistent over time, +
The method should also be consistent over time, so whether two objects are equal should only change if at least one of the objects was modified.
If a subclass overrides the equality operator it should override diff --git a/testing/test_package_docs/fake/SpecialList/setAll.html b/testing/test_package_docs/fake/SpecialList/setAll.html index 9bd51922be..6981d6a7d6 100644 --- a/testing/test_package_docs/fake/SpecialList/setAll.html +++ b/testing/test_package_docs/fake/SpecialList/setAll.html @@ -158,9 +158,9 @@
This operation does not increase the length of this
.
The index
must be non-negative and no greater than length
.
The index
must be non-negative and no greater than length.
The iterable
must not have more elements than what can fit from index
-to length
.
If iterable
is based on this list, its values may change /during/ the
setAll
operation.
List<String> colors = ['red', 'green', 'blue', 'orange', 'pink'];
colors.sublist(1, 3); // ['green', 'blue']
-If end
is omitted, the length
of this
is used.
If end
is omitted, the length of this
is used.
colors.sublist(1); // ['green', 'blue', 'orange', 'pink']
An error occurs if start
is outside the range 0
.. length
or if
diff --git a/testing/test_package_docs/fake/SuperAwesomeClass-class.html b/testing/test_package_docs/fake/SuperAwesomeClass-class.html
index 6b6e7239d6..ed954de849 100644
--- a/testing/test_package_docs/fake/SuperAwesomeClass-class.html
+++ b/testing/test_package_docs/fake/SuperAwesomeClass-class.html
@@ -189,7 +189,7 @@
In the super class.
diff --git a/testing/test_package_docs/fake/SuperAwesomeClass/hashCode.html b/testing/test_package_docs/fake/SuperAwesomeClass/hashCode.html index fa91a26cfa..15cbf7b5bf 100644 --- a/testing/test_package_docs/fake/SuperAwesomeClass/hashCode.html +++ b/testing/test_package_docs/fake/SuperAwesomeClass/hashCode.html @@ -109,12 +109,12 @@The hash code for this object.
A hash code is a single integer which represents the state of the object
that affects ==
comparisons.
All objects have hash codes. -The default hash code represents only the identity of the object, +
All objects have hash codes.
+The default hash code represents only the identity of the object,
the same way as the default ==
implementation only considers objects
equal if they are identical (see identityHashCode
).
If ==
is overridden to use the object state instead,
-the hash code must also be changed to represent that state.
If ==
is overridden to use the object state instead,
+the hash code must also be changed to represent that state.
Hash codes must be the same for objects that are equal to each other
according to ==
.
The hash code of an object should only change if the object changes
diff --git a/testing/test_package_docs/fake/SuperAwesomeClass/operator_equals.html b/testing/test_package_docs/fake/SuperAwesomeClass/operator_equals.html
index 6b73e7c63d..3465381b81 100644
--- a/testing/test_package_docs/fake/SuperAwesomeClass/operator_equals.html
+++ b/testing/test_package_docs/fake/SuperAwesomeClass/operator_equals.html
@@ -115,7 +115,7 @@
Transitive: For all objects o1
, o2
, and o3
, if o1 == o2
and
o2 == o3
are true, then o1 == o3
must be true.
The method should also be consistent over time, +
The method should also be consistent over time, so whether two objects are equal should only change if at least one of the objects was modified.
If a subclass overrides the equality operator it should override diff --git a/testing/test_package_docs/fake/WithGetterAndSetter-class.html b/testing/test_package_docs/fake/WithGetterAndSetter-class.html index bdecb1d22d..a2f0daa109 100644 --- a/testing/test_package_docs/fake/WithGetterAndSetter-class.html +++ b/testing/test_package_docs/fake/WithGetterAndSetter-class.html @@ -183,9 +183,14 @@
Returns a length.
diff --git a/testing/test_package_docs/fake/WithGetterAndSetter/hashCode.html b/testing/test_package_docs/fake/WithGetterAndSetter/hashCode.html index 80b405d04d..9070fa6fd3 100644 --- a/testing/test_package_docs/fake/WithGetterAndSetter/hashCode.html +++ b/testing/test_package_docs/fake/WithGetterAndSetter/hashCode.html @@ -107,12 +107,12 @@The hash code for this object.
A hash code is a single integer which represents the state of the object
that affects ==
comparisons.
All objects have hash codes. -The default hash code represents only the identity of the object, +
All objects have hash codes.
+The default hash code represents only the identity of the object,
the same way as the default ==
implementation only considers objects
equal if they are identical (see identityHashCode
).
If ==
is overridden to use the object state instead,
-the hash code must also be changed to represent that state.
If ==
is overridden to use the object state instead,
+the hash code must also be changed to represent that state.
Hash codes must be the same for objects that are equal to each other
according to ==
.
The hash code of an object should only change if the object changes
diff --git a/testing/test_package_docs/fake/WithGetterAndSetter/operator_equals.html b/testing/test_package_docs/fake/WithGetterAndSetter/operator_equals.html
index dc53a7d481..ce60d29ea7 100644
--- a/testing/test_package_docs/fake/WithGetterAndSetter/operator_equals.html
+++ b/testing/test_package_docs/fake/WithGetterAndSetter/operator_equals.html
@@ -113,7 +113,7 @@
Transitive: For all objects o1
, o2
, and o3
, if o1 == o2
and
o2 == o3
are true, then o1 == o3
must be true.
The method should also be consistent over time, +
The method should also be consistent over time, so whether two objects are equal should only change if at least one of the objects was modified.
If a subclass overrides the equality operator it should override diff --git a/testing/test_package_docs/fake/fake-library.html b/testing/test_package_docs/fake/fake-library.html index 0817b2c394..a72bc27484 100644 --- a/testing/test_package_docs/fake/fake-library.html +++ b/testing/test_package_docs/fake/fake-library.html @@ -390,8 +390,9 @@
Just a setter. No partner getter.
@@ -399,7 +400,7 @@Final property.
The getter for setAndGet.
@@ -423,7 +429,7 @@Simple property
diff --git a/testing/test_package_docs/index.html b/testing/test_package_docs/index.html index 74245fbfe1..53ad189993 100644 --- a/testing/test_package_docs/index.html +++ b/testing/test_package_docs/index.html @@ -4,7 +4,7 @@ - +A hash code is a single integer which represents the state of the object
that affects ==
comparisons.
All objects have hash codes. -The default hash code represents only the identity of the object, +
All objects have hash codes.
+The default hash code represents only the identity of the object,
the same way as the default ==
implementation only considers objects
equal if they are identical (see identityHashCode
).
If ==
is overridden to use the object state instead,
-the hash code must also be changed to represent that state.
If ==
is overridden to use the object state instead,
+the hash code must also be changed to represent that state.
Hash codes must be the same for objects that are equal to each other
according to ==
.
The hash code of an object should only change if the object changes
diff --git a/testing/test_package_docs/test_package_imported.main/Whataclass/noSuchMethod.html b/testing/test_package_docs/test_package_imported.main/Whataclass/noSuchMethod.html
index 3ff5fcdec7..a496e89654 100644
--- a/testing/test_package_docs/test_package_imported.main/Whataclass/noSuchMethod.html
+++ b/testing/test_package_docs/test_package_imported.main/Whataclass/noSuchMethod.html
@@ -100,7 +100,7 @@
Invoked when a non-existent method or property is accessed.
-Classes can override noSuchMethod
to provide custom behavior.
Classes can override noSuchMethod to provide custom behavior.
If a value is returned, it becomes the result of the original invocation.
The default behavior is to throw a NoSuchMethodError
.
Transitive: For all objects o1
, o2
, and o3
, if o1 == o2
and
o2 == o3
are true, then o1 == o3
must be true.
The method should also be consistent over time, +
The method should also be consistent over time, so whether two objects are equal should only change if at least one of the objects was modified.
If a subclass overrides the equality operator it should override
-the hashCode
method as well to maintain consistency.
The hash code for this object.
A hash code is a single integer which represents the state of the object
that affects ==
comparisons.
All objects have hash codes. -The default hash code represents only the identity of the object, +
All objects have hash codes.
+The default hash code represents only the identity of the object,
the same way as the default ==
implementation only considers objects
equal if they are identical (see identityHashCode
).
If ==
is overridden to use the object state instead,
-the hash code must also be changed to represent that state.
If ==
is overridden to use the object state instead,
+the hash code must also be changed to represent that state.
Hash codes must be the same for objects that are equal to each other
according to ==
.
The hash code of an object should only change if the object changes
diff --git a/testing/test_package_docs/test_package_imported.main/Whataclass2/noSuchMethod.html b/testing/test_package_docs/test_package_imported.main/Whataclass2/noSuchMethod.html
index 55738eef96..cb1eadf0a4 100644
--- a/testing/test_package_docs/test_package_imported.main/Whataclass2/noSuchMethod.html
+++ b/testing/test_package_docs/test_package_imported.main/Whataclass2/noSuchMethod.html
@@ -100,7 +100,7 @@
Invoked when a non-existent method or property is accessed.
-Classes can override noSuchMethod
to provide custom behavior.
Classes can override noSuchMethod to provide custom behavior.
If a value is returned, it becomes the result of the original invocation.
The default behavior is to throw a NoSuchMethodError
.
Transitive: For all objects o1
, o2
, and o3
, if o1 == o2
and
o2 == o3
are true, then o1 == o3
must be true.
The method should also be consistent over time, +
The method should also be consistent over time, so whether two objects are equal should only change if at least one of the objects was modified.
If a subclass overrides the equality operator it should override
-the hashCode
method as well to maintain consistency.
The hash code for this object.
Returns a length.
diff --git a/testing/test_package_docs/two_exports/ExtendingClass-class.html b/testing/test_package_docs/two_exports/ExtendingClass-class.html index 8fcca5f4d0..839b97f7fe 100644 --- a/testing/test_package_docs/two_exports/ExtendingClass-class.html +++ b/testing/test_package_docs/two_exports/ExtendingClass-class.html @@ -93,7 +93,7 @@Extending class extends BaseClass.
Also check out topLevelVariable.
-This should not work: linking over to Apple
.
Linking over to Apple should work.
The hash code for this object.
Returns a length.
diff --git a/testing/test_package_docs/two_exports/two_exports-library.html b/testing/test_package_docs/two_exports/two_exports-library.html index 3fc1e3a2f4..c1c3dd70b0 100644 --- a/testing/test_package_docs/two_exports/two_exports-library.html +++ b/testing/test_package_docs/two_exports/two_exports-library.html @@ -112,7 +112,7 @@