Package ca.phon.ipa.tree
Class IpaTernaryTree<V>
java.lang.Object
ca.phon.ipa.tree.IpaTernaryTree<V>
- All Implemented Interfaces:
Map<IPATranscript,
V>
Ternary tree implementation for IPA transcripts
based on features
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
boolean
containsKey
(Object key) boolean
containsValue
(Object value) entriesWithPrefix
(IPATranscript prefix) entrySet()
getRoot()
boolean
isEmpty()
keySet()
keysWithPrefix
(IPATranscript prefix) put
(IPATranscript key, V value) void
putAll
(Map<? extends IPATranscript, ? extends V> m) int
size()
values()
valuesWithPrefix
(IPATranscript prefix) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
IpaTernaryTree
public IpaTernaryTree() -
IpaTernaryTree
-
-
Method Details
-
getRoot
-
size
public int size()- Specified by:
size
in interfaceMap<IPATranscript,
V>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceMap<IPATranscript,
V>
-
containsKey
- Specified by:
containsKey
in interfaceMap<IPATranscript,
V>
-
containsValue
- Specified by:
containsValue
in interfaceMap<IPATranscript,
V>
-
get
- Specified by:
get
in interfaceMap<IPATranscript,
V>
-
put
- Specified by:
put
in interfaceMap<IPATranscript,
V>
-
remove
- Specified by:
remove
in interfaceMap<IPATranscript,
V>
-
putAll
- Specified by:
putAll
in interfaceMap<IPATranscript,
V>
-
clear
public void clear()- Specified by:
clear
in interfaceMap<IPATranscript,
V>
-
keySet
- Specified by:
keySet
in interfaceMap<IPATranscript,
V>
-
values
- Specified by:
values
in interfaceMap<IPATranscript,
V>
-
entrySet
- Specified by:
entrySet
in interfaceMap<IPATranscript,
V>
-
keysWithPrefix
-
valuesWithPrefix
-
entriesWithPrefix
-