Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.virtuosotechnologies.asaph.model
Interface SongIDResultSet  view SongIDResultSet download SongIDResultSet.java

All Superinterfaces:
java.util.Collection, java.lang.Iterable, java.util.Set

public interface SongIDResultSet
extends java.util.Set

A result set of SongIDs


Nested Class Summary
static interface SongIDResultSet.Entry
          Interface representing an entry in the set.
 
Method Summary
 void clearSongCache()
          Clear the song caches for all entries in the set
 SongIDResultSet createLinkedCopy()
          Create a copy of this result set that is linked to this one.
 SongDatabase getDatabase()
          Get the SongDatabase that created this result set.
 java.util.Collection getEntryCollection()
          Get an immutable collection view of the entries in the set.
 SongIDResultSet.Entry getEntryFor(SongID songID)
          Get the data associated with the given SongID.
 
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Method Detail

createLinkedCopy

public SongIDResultSet createLinkedCopy()
Create a copy of this result set that is linked to this one. A linked copy shares the song cache of the original. In addition, its initial data values are the same as the data for the original; however, the data can later be changed independent of the original.


getDatabase

public SongDatabase getDatabase()
Get the SongDatabase that created this result set.


getEntryFor

public SongIDResultSet.Entry getEntryFor(SongID songID)
Get the data associated with the given SongID.


getEntryCollection

public java.util.Collection getEntryCollection()
Get an immutable collection view of the entries in the set. Each item in the collection is an Entry object.


clearSongCache

public void clearSongCache()
Clear the song caches for all entries in the set