eu.clarin.weblicht.wlfxb.lx.xb
Class FrequenciesLayerStored

java.lang.Object
  extended by eu.clarin.weblicht.wlfxb.lx.xb.LexiconLayerStoredAbstract
      extended by eu.clarin.weblicht.wlfxb.lx.xb.FrequenciesLayerStored
All Implemented Interfaces:
FrequenciesLayer, LexiconLayer

public class FrequenciesLayerStored
extends LexiconLayerStoredAbstract
implements FrequenciesLayer

Author:
Yana Panchenko

Field Summary
static String XML_NAME
           
 
Constructor Summary
protected FrequenciesLayerStored()
           
protected FrequenciesLayerStored(FrequencyType freqType)
           
protected FrequenciesLayerStored(LexiconLayersConnector connector)
           
 
Method Summary
 Frequency addFrequency(Entry entry, double frequency)
           
 Entry getEntry(Frequency freq)
           
 Frequency getFrequency(Entry entry)
           
 Frequency getFrequency(int index)
           
 FrequencyType getType()
           
 boolean isEmpty()
           
protected  void setLayersConnector(LexiconLayersConnector connector)
          Should not be used directly by users.
 int size()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

XML_NAME

public static final String XML_NAME
See Also:
Constant Field Values
Constructor Detail

FrequenciesLayerStored

protected FrequenciesLayerStored()

FrequenciesLayerStored

protected FrequenciesLayerStored(FrequencyType freqType)

FrequenciesLayerStored

protected FrequenciesLayerStored(LexiconLayersConnector connector)
Method Detail

setLayersConnector

protected void setLayersConnector(LexiconLayersConnector connector)
Description copied from class: LexiconLayerStoredAbstract
Should not be used directly by users. Should be extended by all implementations of TextCorpusLayers, as they might depend on other layers and therefore be able to get referenced/referencing information.

Specified by:
setLayersConnector in class LexiconLayerStoredAbstract

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface LexiconLayer

size

public int size()
Specified by:
size in interface LexiconLayer

getType

public FrequencyType getType()
Specified by:
getType in interface FrequenciesLayer

getFrequency

public Frequency getFrequency(int index)
Specified by:
getFrequency in interface FrequenciesLayer

getFrequency

public Frequency getFrequency(Entry entry)
Specified by:
getFrequency in interface FrequenciesLayer

getEntry

public Entry getEntry(Frequency freq)
Specified by:
getEntry in interface FrequenciesLayer

addFrequency

public Frequency addFrequency(Entry entry,
                              double frequency)
Specified by:
addFrequency in interface FrequenciesLayer

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013-2014 Department of Linguistics, Tübingen University. All Rights Reserved.