/** * Returns the proofs * @return the proofs */ public ImmutableList<InstanceAndProof<I, P>> getProofs() { return new ImmutableListWrapper<>(proofs); }
@Override public boolean contains(Object o) { return realSet.contains(o); }
@Override public int size() { return realSet.size(); }
@Override public T next() { return realIterator.next(); }
public SemanticRoleLabelSet( ImmutableSet<SemanticRoleLabelByString> srlByString, Set<SemanticRoleLabelById> srlByNode) { this(srlByString,new ImmutableSetWrapper<SemanticRoleLabelById>(srlByNode)); }
@Override public boolean hasNext() { return realIterator.hasNext(); }
@Override public ImmutableMap<String, Integer> getDynamicGlobalFeatures() throws TeEngineMlException { synchronized(this){ if (null == dynamicGlobalFeatures){dynamicGlobalFeatures = new ImmutableMapWrapper<String, Integer>(dynamicGlobalFeatures_);}} return dynamicGlobalFeatures; }
@Override public boolean isEmpty() { return realSet.isEmpty(); }
@Override public boolean containsAll(Collection<?> c) { return realSet.containsAll(c); }
/** * @return the posTaggedTokens */ public ImmutableListWrapper<PosTaggedToken> getPosTaggedTokens() { return new ImmutableListWrapper<PosTaggedToken>(posTaggedTokens); }
public static boolean notEmpty(ImmutableSet<?> set) { boolean ret = false; if (set!=null) if (set.size()>0) ret = true; return ret; }
@Override public boolean hasNext() { return iterator.hasNext(); }
@Override public ImmutableMap<String, Integer> getRuleBasesFeatures() throws TeEngineMlException { synchronized(this){ if (null==ruleBasesFeatures){ruleBasesFeatures = new ImmutableMapWrapper<String, Integer>(ruleBasesFeatures_);}} return ruleBasesFeatures; }
@Override public boolean containsAll(ImmutableCollection<?> c) { return realSet.containsAll(c); }
public ImmutableList<TreeHistoryComponent> getComponents() { return new ImmutableListWrapper<TreeHistoryComponent>(components); }
@Override public boolean hasNext() { return iterator.hasNext(); }
@Override public ImmutableMap<String, Integer> getPluginFeatures() throws TeEngineMlException { synchronized(this){ if (null==pluginFeatures){pluginFeatures = new ImmutableMapWrapper<String, Integer>(pluginFeatures_);}} return pluginFeatures; }
@Override public boolean hasNext() { return iterator.hasNext(); }