Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
p2
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
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
cse332-20sp
p2
Commits
da5d2928
Commit
da5d2928
authored
9 years ago
by
Adam Blank
Browse files
Options
Downloads
Patches
Plain Diff
Fixes typo
parent
36ea43c0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/cse332/interfaces/misc/BString.java
+2
-2
2 additions, 2 deletions
src/cse332/interfaces/misc/BString.java
with
2 additions
and
2 deletions
src/cse332/interfaces/misc/BString.java
+
2
−
2
View file @
da5d2928
...
...
@@ -6,7 +6,7 @@ import java.util.Iterator;
import
cse332.interfaces.worklists.FixedSizeFIFOWorkList
;
import
datastructures.worklists.CircularArrayFIFOQueue
;
public
abstract
class
BString
<
Alphabet
extends
Comparable
<
Alphabet
>
implements
Iterable
<
Alphabet
>,
Comparable
<
BString
<
Alphabet
>>
{
public
abstract
class
BString
<
Alphabet
extends
Comparable
<
Alphabet
>
>
implements
Iterable
<
Alphabet
>,
Comparable
<
BString
<
Alphabet
>>
{
protected
FixedSizeFIFOWorkList
<
Alphabet
>
str
;
public
BString
(
Alphabet
[]
str
)
{
...
...
@@ -26,7 +26,7 @@ public abstract class BString<Alphabet extends Comparable<Alphabet> implements I
}
@SuppressWarnings
(
"unchecked"
)
public
static
<
A
,
X
extends
BString
<
A
>>
Class
<
A
>
getLetterType
(
Class
<
X
>
clz
)
{
public
static
<
A
extends
Comparable
<
A
>
,
X
extends
BString
<
A
>>
Class
<
A
>
getLetterType
(
Class
<
X
>
clz
)
{
try
{
return
(
Class
<
A
>)
clz
.
getMethod
(
"getLetterType"
,
(
Class
<?>[])
null
)
.
invoke
(
null
,
(
Object
[])
null
);
...
...
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