Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Santisteban Activity1 #11

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions _mac/laf.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<application>
<component name="LafManager">
<laf class-name="com.intellij.ide.ui.laf.darcula.DarculaLaf" />
</component>
</application>
6 changes: 6 additions & 0 deletions _mac/path.macros.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<application>
<component name="PathMacrosImpl">
<macro name="MAVEN_REPOSITORY" value="/Users/trinamarie/.m2/repository" />
<macro name="KOTLIN_BUNDLED" value="/Users/trinamarie/Library/Application Support/JetBrains/IntelliJIdea2020.2/plugins/Kotlin/kotlinc" />
</component>
</application>
24 changes: 18 additions & 6 deletions activities/activity1/main.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import 'dart:io';

void main() {
Person p1 = Person('Jane','Alba', 25);
print(p1.getFullName());
Expand All @@ -9,46 +8,59 @@ void main() {

print("Enter First Name: ");
String fn = stdin.readLineSync();
print("Enter Middle Name: ");
String mn = stdin.readLineSync();
print("Enter Last Name: ");
String ln = stdin.readLineSync();
print("Enter Age: ");
String strAge = stdin.readLineSync();
int age = int.parse(strAge);
Person p3 = Person(fn,ln,age);
print(p3.getFullName());
Student p = Student(fn, mn, ln, age);
print(p.getFullName());
}

class Person {
static String company = 'ABC Company';
String firstName, lastName;
class Student {
static String department = 'Computer Science';
String firstName, lastName, middleName;
int age = 18;
String _dept;

String get dept => _dept;

Person(this.firstName, this.lastName, this.age);
Student(this.firstName, this.middleName, this.lastName, this.age);

//named constructor
Person.withLNandAgeOnly(this.lastName, this.age);
Student.withLNandAgeOnly(this.lastName, this.age);

//Person p = Person();
//p.getFullName();
String getFullName() {
return ("$firstName $lastName age is $age");
return ("$firstName $lastName age is $age");
return ("Hello $firstName $middleName $lastName, $age, from $department department");
}

//Person.getInfo()
static String getInfo() {
return 'This is a Person class';
return 'This is a Person class';
}

//
@override
String toString() {
return lastName;
return lastName;
}

class Person {
void setLastName(String lastName) {
this.lastName = lastName;
this.lastName = lastName;
}
}
}
}
}
5 changes: 5 additions & 0 deletions androidStudioFirstRun.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<application>
<component name="AndroidFirstRunPersistentData">
<version>1</version>
</component>
</application>
1 change: 1 addition & 0 deletions codestyles/Default.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<code_scheme name="Default" version="173" />
5 changes: 5 additions & 0 deletions colors.scheme.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<application>
<component name="EditorColorsManagerImpl">
<global_color_scheme name="Darcula" />
</component>
</application>
98 changes: 98 additions & 0 deletions databaseDrivers.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
<application>
<component name="LocalDatabaseDriverManager" version="201">
<driver id="cassandra">
<option name="auto-sync" value="true" />
</driver>
<driver id="clickhouse">
<option name="auto-sync" value="true" />
</driver>
<driver id="db2.11">
<option name="auto-sync" value="false" />
</driver>
<driver id="db2">
<option name="auto-sync" value="false" />
</driver>
<driver id="db2.jtopen">
<option name="auto-sync" value="false" />
</driver>
<driver id="derby.embedded">
<option name="auto-sync" value="true" />
</driver>
<driver id="derby.remote">
<option name="auto-sync" value="true" />
</driver>
<driver id="exasol">
<option name="auto-sync" value="true" />
</driver>
<driver id="greenplum">
<option name="auto-sync" value="true" />
<option name="schema-control" value="MANUAL" />
<option name="send-app-info" value="false" />
</driver>
<driver id="h2.unified">
<option name="auto-sync" value="true" />
</driver>
<driver id="hive">
<option name="auto-sync" value="true" />
</driver>
<driver id="hsqldb.local">
<option name="auto-sync" value="true" />
</driver>
<driver id="hsqldb.remote">
<option name="auto-sync" value="true" />
</driver>
<driver id="mariadb">
<option name="auto-sync" value="true" />
</driver>
<driver id="mongo">
<option name="auto-sync" value="true" />
</driver>
<driver id="sqlserver.ms">
<option name="auto-sync" value="true" />
<option name="send-app-info" value="false" />
</driver>
<driver id="sqlserver.jtds">
<option name="auto-sync" value="true" />
</driver>
<driver id="azure.ms">
<option name="auto-sync" value="true" />
<option name="send-app-info" value="false" />
</driver>
<driver id="mysql.8">
<option name="auto-sync" value="true" />
</driver>
<driver id="mysql">
<option name="auto-sync" value="true" />
</driver>
<driver id="mysql_aurora">
<option name="auto-sync" value="true" />
</driver>
<driver id="oracle">
<option name="auto-sync" value="true" />
<option name="auto-commit" value="false" />
</driver>
<driver id="postgresql">
<option name="auto-sync" value="true" />
<option name="schema-control" value="MANUAL" />
</driver>
<driver id="redshift">
<option name="auto-sync" value="true" />
<option name="schema-control" value="MANUAL" />
</driver>
<driver id="snowflake">
<option name="auto-sync" value="true" />
</driver>
<driver id="sqlite.xerial">
<option name="auto-sync" value="true" />
</driver>
<driver id="sybase.jtds">
<option name="auto-sync" value="true" />
</driver>
<driver id="sybase.ase">
<option name="auto-sync" value="true" />
</driver>
<driver id="vertica">
<option name="auto-sync" value="true" />
</driver>
</component>
</application>
115 changes: 115 additions & 0 deletions debugger.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
<application>
<component name="DebuggerSettings">
<filter>
<option name="PATTERN" value="com.sun.*" />
<option name="ENABLED" value="true" />
<option name="INCLUDE" value="true" />
</filter>
<filter>
<option name="PATTERN" value="java.*" />
<option name="ENABLED" value="true" />
<option name="INCLUDE" value="true" />
</filter>
<filter>
<option name="PATTERN" value="javax.*" />
<option name="ENABLED" value="true" />
<option name="INCLUDE" value="true" />
</filter>
<filter>
<option name="PATTERN" value="org.omg.*" />
<option name="ENABLED" value="true" />
<option name="INCLUDE" value="true" />
</filter>
<filter>
<option name="PATTERN" value="sun.*" />
<option name="ENABLED" value="true" />
<option name="INCLUDE" value="true" />
</filter>
<filter>
<option name="PATTERN" value="jdk.internal.*" />
<option name="ENABLED" value="true" />
<option name="INCLUDE" value="true" />
</filter>
<filter>
<option name="PATTERN" value="junit.*" />
<option name="ENABLED" value="true" />
<option name="INCLUDE" value="true" />
</filter>
<filter>
<option name="PATTERN" value="org.junit.*" />
<option name="ENABLED" value="true" />
<option name="INCLUDE" value="true" />
</filter>
<filter>
<option name="PATTERN" value="com.intellij.rt.*" />
<option name="ENABLED" value="true" />
<option name="INCLUDE" value="true" />
</filter>
<filter>
<option name="PATTERN" value="com.yourkit.runtime.*" />
<option name="ENABLED" value="true" />
<option name="INCLUDE" value="true" />
</filter>
<filter>
<option name="PATTERN" value="com.springsource.loaded.*" />
<option name="ENABLED" value="true" />
<option name="INCLUDE" value="true" />
</filter>
<filter>
<option name="PATTERN" value="org.springsource.loaded.*" />
<option name="ENABLED" value="true" />
<option name="INCLUDE" value="true" />
</filter>
<filter>
<option name="PATTERN" value="javassist.*" />
<option name="ENABLED" value="true" />
<option name="INCLUDE" value="true" />
</filter>
<filter>
<option name="PATTERN" value="org.apache.webbeans.*" />
<option name="ENABLED" value="true" />
<option name="INCLUDE" value="true" />
</filter>
<filter>
<option name="PATTERN" value="com.ibm.ws.*" />
<option name="ENABLED" value="true" />
<option name="INCLUDE" value="true" />
</filter>
<filter>
<option name="PATTERN" value="kotlin.*" />
<option name="ENABLED" value="true" />
<option name="INCLUDE" value="true" />
</filter>
<filter>
<option name="PATTERN" value="kotlin.*" />
<option name="ENABLED" value="true" />
<option name="INCLUDE" value="true" />
</filter>
<filter>
<option name="PATTERN" value="kotlin.*" />
<option name="ENABLED" value="true" />
<option name="INCLUDE" value="true" />
</filter>
<filter>
<option name="PATTERN" value="kotlin.*" />
<option name="ENABLED" value="true" />
<option name="INCLUDE" value="true" />
</filter>
</component>
<component name="XDebuggerSettings">
<data-views />
<general />
<debuggers>
<debugger id="javascript">
<configuration>
<custom-object-presentation />
</configuration>
</debugger>
<debugger id="kotlin_debugger">
<configuration>
<option name="filterForStdlibAlreadyAdded" value="true" />
</configuration>
</debugger>
</debuggers>
</component>
</application>
5 changes: 5 additions & 0 deletions editor.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<application>
<component name="EditorSettings">
<option name="USE_SOFT_WRAPS" value="CONSOLE" />
</component>
</application>
8 changes: 8 additions & 0 deletions filetypes.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<application>
<component name="FileTypeManager" version="17">
<extensionMap>
<mapping ext="gradle.kts" type="Kotlin" />
<mapping ext="main.kts" type="Kotlin" />
</extensionMap>
</component>
</application>
7 changes: 7 additions & 0 deletions github.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<application>
<component name="GithubAccounts">
<account id="f7212a9d-17fc-4708-b2b9-02fca940cb9c" name="trinaamariee">
<server host="github.com" />
</account>
</component>
</application>
6 changes: 6 additions & 0 deletions ide.general.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<application>
<component name="GeneralSettings">
<option name="confirmOpenNewProject2" value="0" />
<option name="showTipsOnStartup" value="false" />
</component>
</application>
5 changes: 5 additions & 0 deletions kite.settings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<application>
<component name="kite">
<option name="showWelcomeNotification" value="false" />
</component>
</application>
17 changes: 17 additions & 0 deletions lightEdit.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<application>
<component name="LightEdit">
<option name="supportedFilePatterns">
<list>
<option value="*.conf" />
<option value="*.ini" />
<option value="*.json" />
<option value="*.log" />
<option value="*.md" />
<option value="*.sh" />
<option value="*.txt" />
<option value="*.xml" />
<option value="*.yml" />
</list>
</option>
</component>
</application>
5 changes: 5 additions & 0 deletions notifications.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<application>
<component name="NotificationConfiguration">
<notification groupId="Dart Analysis" displayType="NONE" shouldLog="false" />
</component>
</application>
Loading