Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cse332-18au
p1
Commits
8c6af25f
Commit
8c6af25f
authored
Jan 25, 2016
by
Michael Lee
Browse files
Move HashTrie* to new package to match p2
parent
706d120f
Changes
6
Hide whitespace changes
Inline
Side-by-side
src/cse332/jazzlib/HuffmanCompressor.java
View file @
8c6af25f
...
...
@@ -44,7 +44,7 @@ import java.util.List;
import
cse332.interfaces.worklists.PriorityWorkList
;
import
cse332.types.BitString
;
import
datastructures.HashTrieMap
;
import
datastructures.
dictionaries.
HashTrieMap
;
import
datastructures.worklists.MinFourHeap
;
/**
...
...
src/datastructures/SuffixTrie.java
View file @
8c6af25f
...
...
@@ -4,6 +4,7 @@ import cse332.exceptions.NotYetImplementedException;
import
cse332.interfaces.worklists.FIFOWorkList
;
import
cse332.interfaces.worklists.FixedSizeFIFOWorkList
;
import
cse332.types.ByteString
;
import
datastructures.dictionaries.HashTrieMap
;
public
class
SuffixTrie
extends
HashTrieMap
<
Byte
,
ByteString
,
Boolean
>
{
protected
static
final
Byte
TERMINATOR
=
null
;
...
...
src/datastructures/HashTrieMap.java
→
src/datastructures/
dictionaries/
HashTrieMap.java
View file @
8c6af25f
package
datastructures
;
package
datastructures
.dictionaries
;
import
java.util.HashMap
;
import
java.util.Iterator
;
...
...
src/datastructures/HashTrieSet.java
→
src/datastructures/
dictionaries/
HashTrieSet.java
View file @
8c6af25f
package
datastructures
;
package
datastructures
.dictionaries
;
import
cse332.exceptions.NotYetImplementedException
;
import
cse332.interfaces.trie.BString
;
import
cse332.interfaces.trie.TrieSet
;
import
datastructures.HashTrieMap
;
public
class
HashTrieSet
<
A
,
E
extends
BString
<
A
>>
extends
TrieSet
<
A
,
E
>
{
/* Note: You should not be adding any methods to this class...you only need to implement
...
...
src/main/TrieTest.java
View file @
8c6af25f
...
...
@@ -4,8 +4,8 @@ package main;
import
cse332.interfaces.trie.TrieMap
;
import
cse332.interfaces.trie.TrieSet
;
import
cse332.types.*
;
import
datastructures.HashTrieMap
;
import
datastructures.HashTrieSet
;
import
datastructures.
dictionaries.
HashTrieMap
;
import
datastructures.
dictionaries.
HashTrieSet
;
public
class
TrieTest
{
public
static
void
main
(
String
[]
args
)
{
...
...
src/tests/gitlab/duedate/HashTrieMapTests.java
View file @
8c6af25f
package
tests.gitlab.duedate
;
import
cse332.types.AlphabeticString
;
import
datastructures.HashTrieMap
;
import
datastructures.
dictionaries.
HashTrieMap
;
import
tests.TestsUtility
;
import
java.util.HashMap
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment