Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
spark
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cs525-sp18-g07
spark
Commits
93b3f5e5
Commit
93b3f5e5
authored
11 years ago
by
ryanlecompte
Browse files
Options
Downloads
Patches
Plain Diff
drop unneeded ClassManifest implicit
parent
44b8dbae
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
core/src/main/scala/spark/util/BoundedPriorityQueue.scala
+1
-1
1 addition, 1 deletion
core/src/main/scala/spark/util/BoundedPriorityQueue.scala
with
1 addition
and
1 deletion
core/src/main/scala/spark/util/BoundedPriorityQueue.scala
+
1
−
1
View file @
93b3f5e5
...
@@ -8,7 +8,7 @@ import scala.collection.generic.Growable
...
@@ -8,7 +8,7 @@ import scala.collection.generic.Growable
* add/offer methods such that only the top K elements are retained. The top
* add/offer methods such that only the top K elements are retained. The top
* K elements are defined by an implicit Ordering[A].
* K elements are defined by an implicit Ordering[A].
*/
*/
class
BoundedPriorityQueue
[
A
](
maxSize
:
Int
)(
implicit
ord
:
Ordering
[
A
]
,
mf
:
ClassManifest
[
A
]
)
class
BoundedPriorityQueue
[
A
](
maxSize
:
Int
)(
implicit
ord
:
Ordering
[
A
])
extends
JPriorityQueue
[
A
](
maxSize
,
ord
)
with
Growable
[
A
]
{
extends
JPriorityQueue
[
A
](
maxSize
,
ord
)
with
Growable
[
A
]
{
override
def
offer
(
a
:
A
)
:
Boolean
=
{
override
def
offer
(
a
:
A
)
:
Boolean
=
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment