deeplearning4j-scaleout/deeplearning4j-nlp/src/main/java/org/deeplearning4j/models/embeddings/inmemory/JointStorage.java
/**
     * Returns all SequenceElements in this JointStorage instance.
     * Please note, if used in distributed environment this can cause OOM exceptions. Use with caution, or use iterator instead
     *
     * @return Collection of all VocabWords in this JointStorage
     */
Returns all SequenceElements in this JointStorage instance.
Please note, if used in distributed environment this can cause OOM exceptions. Use with caution, or use iterator instead

@return Collection of all VocabWords in this JointStorage
Returns all SequenceElements in this JointStorage instance . Please note if used in distributed environment this can cause OOM exceptions . Use with caution or use iterator instead @return Collection of all VocabWords in this JointStorage
@Override
    public Collection<T> vocabWords() {
        ArrayList<T> words = new ArrayList<>();
        for (VocabCache cache: mapVocabs.values()) {
            words.addAll(cache.vocabWords());
        }
        return Collections.unmodifiableCollection(words);
    }
@ Override public Collection < T > vocabWords ( ) { ArrayList < T > words = new ArrayList < > ( ) ; for ( VocabCache cache : mapVocabs . values ( ) ) { words . addAll ( cache . vocabWords ( ) ) ; } return Collections . unmodifiableCollection ( words ) ; }
Returns all SequenceElements in this JointStorage instance.
Returns all SequenceElements in this JointStorage instance .