Package pl.net.bluesoft.rnd.processtool.dict.xml

Examples of pl.net.bluesoft.rnd.processtool.dict.xml.DictionaryEntry


  public void addItem(XmlDictionaryItemWrapper item) {
    dictionary.getEntries().add(item.getWrappedObject());
  }

  public XmlDictionaryItemWrapper lookup(final String key) {
    DictionaryEntry dictionaryEntry = from(dictionary.getEntries()).firstOrDefault(new P<DictionaryEntry>() {
      @Override
      public boolean invoke(DictionaryEntry dictionaryEntry) {
        return dictionaryEntry.getKey().equals(key);
      }
    });
    return dictionaryEntry != null ? new XmlDictionaryItemWrapper(dictionaryEntry) : null;
  }
View Full Code Here


*/
public class XmlDictionaryItemWrapper implements DictionaryItemWrapper<DictionaryEntry, XmlDictionaryItemValueWrapper> {
  private final DictionaryEntry entry;

  public XmlDictionaryItemWrapper() {
    this(new DictionaryEntry());
  }
View Full Code Here

TOP

Related Classes of pl.net.bluesoft.rnd.processtool.dict.xml.DictionaryEntry

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.