Lines Matching defs:Program
38 * Program program = new Program.Builder()
40 * .setTitle("Program Title")
41 * .setDescription("Program Description")
50 * Program program;
54 * program = Program.fromCursor(cursor);
61 * Program updatedProgram = new Program.Builder(program)
74 public final class Program extends BaseProgram implements Comparable<Program> {
84 private Program(Builder builder) {
134 if (!(other instanceof Program)) {
137 return mValues.equals(((Program) other).mValues);
145 public int compareTo(@NonNull Program other) {
152 return "Program{" + mValues.toString() + "}";
156 * @return The fields of the Program in the ContentValues format to be easily inserted into the
169 * Creates a Program object from a cursor including the fields defined in {@link Programs}.
172 * @return A Program with the values taken from the cursor.
174 public static Program fromCursor(Cursor cursor) {
223 * This Builder class simplifies the creation of a {@link Program} object.
234 * Creates a new Builder object with values copied from another Program.
235 * @param other The Program you're copying from.
237 public Builder(Program other) {
303 * @return A new Program with values supplied by the Builder.
305 public Program build() {
306 return new Program(this);