Kotlin - Completed Sublist
This commit is contained in:
parent
bc6f33d6cb
commit
ca83d52ea2
24 changed files with 36 additions and 1698 deletions
754
kotlin/binary-search/.idea/workspace.xml
generated
754
kotlin/binary-search/.idea/workspace.xml
generated
|
@ -1,754 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="202e2260-efac-49f8-9bd7-33b821a31efd" name="Default" comment="" />
|
||||
<ignored path="$PROJECT_DIR$/.gradle/" />
|
||||
<ignored path="$PROJECT_DIR$/build/" />
|
||||
<ignored path="$PROJECT_DIR$/out/" />
|
||||
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
||||
<option name="TRACKING_ENABLED" value="true" />
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
||||
<option name="LAST_RESOLUTION" value="IGNORE" />
|
||||
</component>
|
||||
<component name="ExternalProjectsData">
|
||||
<projectState path="$PROJECT_DIR$">
|
||||
<ProjectState />
|
||||
</projectState>
|
||||
</component>
|
||||
<component name="FileEditorManager">
|
||||
<leaf>
|
||||
<file leaf-file-name="BinarySearchTest.kt" pinned="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/src/test/kotlin/BinarySearchTest.kt">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="1034">
|
||||
<caret line="49" column="6" lean-forward="false" selection-start-line="49" selection-start-column="6" selection-end-line="49" selection-end-column="6" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file leaf-file-name="BinarySearch.kt" pinned="false" current-in-tab="true">
|
||||
<entry file="file://$PROJECT_DIR$/src/main/kotlin/BinarySearch.kt">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="418">
|
||||
<caret line="19" column="1" lean-forward="true" selection-start-line="19" selection-start-column="1" selection-end-line="19" selection-end-column="1" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file leaf-file-name="README.md" pinned="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/README.md">
|
||||
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
|
||||
<state split_layout="SPLIT">
|
||||
<first_editor relative-caret-position="0">
|
||||
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
||||
<folding />
|
||||
</first_editor>
|
||||
<second_editor />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
</leaf>
|
||||
</component>
|
||||
<component name="FileTemplateManagerImpl">
|
||||
<option name="RECENT_TEMPLATES">
|
||||
<list>
|
||||
<option value="Kotlin Class" />
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
<component name="FindInProjectRecents">
|
||||
<findStrings>
|
||||
<find>@Ignore</find>
|
||||
</findStrings>
|
||||
</component>
|
||||
<component name="GradleLocalSettings">
|
||||
<option name="myGradleHomes">
|
||||
<map>
|
||||
<entry key="$PROJECT_DIR$" value="/usr/share/java/gradle" />
|
||||
</map>
|
||||
</option>
|
||||
<option name="myGradleVersions">
|
||||
<map>
|
||||
<entry key="$PROJECT_DIR$" value="4.0.1" />
|
||||
</map>
|
||||
</option>
|
||||
<option name="availableProjects">
|
||||
<map>
|
||||
<entry>
|
||||
<key>
|
||||
<ExternalProjectPojo>
|
||||
<option name="name" value="binary-search" />
|
||||
<option name="path" value="$PROJECT_DIR$" />
|
||||
</ExternalProjectPojo>
|
||||
</key>
|
||||
<value>
|
||||
<list>
|
||||
<ExternalProjectPojo>
|
||||
<option name="name" value="binary-search" />
|
||||
<option name="path" value="$PROJECT_DIR$" />
|
||||
</ExternalProjectPojo>
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
</map>
|
||||
</option>
|
||||
<option name="availableTasks">
|
||||
<map>
|
||||
<entry key="$PROJECT_DIR$">
|
||||
<value>
|
||||
<list>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Displays the components produced by root project 'binary-search'. [incubating]" />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="components" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Assembles and tests this project and all projects that depend on it." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="buildDependents" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Displays the sub-projects of root project 'binary-search'." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="projects" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Assembles main classes." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="classes" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Displays the dependent components of components in root project 'binary-search'. [incubating]" />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="dependentComponents" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Displays all buildscript dependencies declared in root project 'binary-search'." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="buildEnvironment" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Generates Gradle wrapper files." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="wrapper" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Assembles test classes." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="testClasses" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Generates Javadoc API documentation for the main source code." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="javadoc" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Assembles a jar archive containing the main classes." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="jar" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Displays the configuration model of root project 'binary-search'. [incubating]" />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="model" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="copyMainKotlinClasses" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Processes main resources." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="processResources" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Displays the tasks runnable from root project 'binary-search'." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="tasks" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Initializes a new Gradle build." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="init" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="copyTestKotlinClasses" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Runs the unit tests." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="test" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Compiles main Java source." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="compileJava" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Compiles the source set 'test'.kotlin." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="compileTestKotlin" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Displays the insight into a specific dependency in root project 'binary-search'." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="dependencyInsight" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Runs all checks." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="check" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Assembles the outputs of this project." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="assemble" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Deletes the build directory." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="clean" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Compiles test Java source." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="compileTestJava" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Displays all dependencies declared in root project 'binary-search'." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="dependencies" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Processes test resources." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="processTestResources" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Displays a help message." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="help" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Compiles the source set 'main'.kotlin." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="compileKotlin" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Assembles and tests this project." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="build" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Assembles and tests this project and all projects it depends on." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="buildNeeded" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Displays the properties of root project 'binary-search'." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="properties" />
|
||||
</ExternalTaskPojo>
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
</map>
|
||||
</option>
|
||||
<option name="modificationStamps">
|
||||
<map>
|
||||
<entry key="$PROJECT_DIR$" value="1501690066000" />
|
||||
</map>
|
||||
</option>
|
||||
<option name="projectBuildClasspath">
|
||||
<map>
|
||||
<entry key="$PROJECT_DIR$">
|
||||
<value>
|
||||
<ExternalProjectBuildClasspathPojo>
|
||||
<option name="modulesBuildClasspath">
|
||||
<map>
|
||||
<entry key="$PROJECT_DIR$">
|
||||
<value>
|
||||
<ExternalModuleBuildClasspathPojo>
|
||||
<option name="entries">
|
||||
<list>
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-gradle-plugin/1.1.1/e742de8adf25f631b39f74e2d6fd00cd9cdd609e/kotlin-gradle-plugin-1.1.1-sources.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-gradle-plugin/1.1.1/5e3d99580c70b67a07cd70481943362e4b29d8d3/kotlin-gradle-plugin-1.1.1.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/commons-io/commons-io/2.4/f2d8698c46d1167ff24b06a840a87d91a02db891/commons-io-2.4-sources.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/commons-io/commons-io/2.4/b1b6ea3b7e4aa4f492509a4952029cd8e48019ad/commons-io-2.4.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/commons-lang/commons-lang/2.6/67313d715fbf0ea4fd0bdb69217fb77f807a8ce5/commons-lang-2.6-sources.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/commons-lang/commons-lang/2.6/ce1edb914c94ebc388f086c6827e8bdeec71ac2/commons-lang-2.6.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.1.1/a287944d92875a1f3c2161e5cddaede7720913d1/kotlin-stdlib-1.1.1-sources.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.1.1/98e484e67f913e934559f7f55f0c94be5593f03c/kotlin-stdlib-1.1.1.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-android-extensions/1.1.1/2c0ad82587d187f78c4063fa7867ed3c4dfa54ca/kotlin-android-extensions-1.1.1-sources.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-android-extensions/1.1.1/56cfcc61bc91638ea52d13ce90b565f50be3d6f5/kotlin-android-extensions-1.1.1.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-gradle-plugin-api/1.1.1/e48aafb092d4c3ddd6927f38f9f17f7117e1ef47/kotlin-gradle-plugin-api-1.1.1-sources.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-gradle-plugin-api/1.1.1/9083de2c98801f1fe058b6280234265269c1cad0/kotlin-gradle-plugin-api-1.1.1.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-compiler-embeddable/1.1.1/b84662e33f8f44d33265e964f1329ce5644af35c/kotlin-compiler-embeddable-1.1.1-sources.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-compiler-embeddable/1.1.1/d975091bb224a04b3717505a55875608642cc8d3/kotlin-compiler-embeddable-1.1.1.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-compiler-runner/1.1.1/764b45d92a761810b29580aeae2fac3d614f9bf/kotlin-compiler-runner-1.1.1-sources.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-compiler-runner/1.1.1/cad5c437ac58f7245673a6c4fd73a656dd259b26/kotlin-compiler-runner-1.1.1.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-annotation-processing/1.1.1/2756d002e8d1d1aa0d5a49e7c895b87514083fab/kotlin-annotation-processing-1.1.1-sources.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-annotation-processing/1.1.1/9f7312cea58b39ce82368261cd227758df78eb32/kotlin-annotation-processing-1.1.1.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains/annotations/13.0/5991ca87ef1fb5544943d9abc5a9a37583fabe03/annotations-13.0-sources.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains/annotations/13.0/919f0dfe192fb4e063e7dacadee7f8bb9a2672a9/annotations-13.0.jar" />
|
||||
</list>
|
||||
</option>
|
||||
<option name="path" value="$PROJECT_DIR$" />
|
||||
</ExternalModuleBuildClasspathPojo>
|
||||
</value>
|
||||
</entry>
|
||||
</map>
|
||||
</option>
|
||||
<option name="name" value="binary-search" />
|
||||
<option name="projectBuildClasspath">
|
||||
<list>
|
||||
<option value="/usr/share/java/gradle/lib/ant-launcher-1.9.6.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/gradle-script-kotlin-tooling-builders-0.9.0.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/gradle-base-services-groovy-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/gradle-tooling-api-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/gradle-logging-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/gradle-native-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/gradle-script-kotlin-0.9.0.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/gradle-launcher-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/gradle-model-groovy-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/groovy-all-2.4.11.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/gradle-runtime-api-info-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/gradle-resources-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/gradle-core-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/gradle-process-services-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/gradle-cli-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/ant-1.9.6.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/gradle-model-core-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/gradle-docs-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/gradle-messaging-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/gradle-installation-beacon-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/gradle-jvm-services-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/gradle-wrapper-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/gradle-script-kotlin-compiler-plugin-0.9.0.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/gradle-base-services-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/gradle-script-kotlin-tooling-models-0.9.0.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-diagnostics-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-code-quality-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-language-scala-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-signing-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-plugins-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-publish-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-build-cache-http-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-platform-play-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-ivy-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-language-java-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-language-groovy-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-build-init-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/ivy-2.2.0.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-plugin-use-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-language-native-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-scala-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-reporting-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-tooling-api-builders-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-ide-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-test-kit-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-plugin-development-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-ide-play-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-platform-native-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-javascript-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-build-comparison-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-jacoco-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-antlr-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-ide-native-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-ear-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-resources-sftp-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-resources-http-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-osgi-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-announce-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-maven-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-language-jvm-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-testing-native-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-testing-base-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-platform-jvm-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-testing-jvm-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-platform-base-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-workers-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-resources-s3-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-composite-builds-4.0.1.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-dependency-management-4.0.1.jar" />
|
||||
<option value="$PROJECT_DIR$/buildSrc/src/main/java" />
|
||||
<option value="$PROJECT_DIR$/buildSrc/src/main/groovy" />
|
||||
</list>
|
||||
</option>
|
||||
</ExternalProjectBuildClasspathPojo>
|
||||
</value>
|
||||
</entry>
|
||||
</map>
|
||||
</option>
|
||||
<option name="externalProjectsViewState">
|
||||
<projects_view />
|
||||
</option>
|
||||
</component>
|
||||
<component name="IdeDocumentHistory">
|
||||
<option name="CHANGED_PATHS">
|
||||
<list>
|
||||
<option value="$PROJECT_DIR$/src/test/kotlin/BinarySearchTest.kt" />
|
||||
<option value="$PROJECT_DIR$/src/main/kotlin/BinarySearch.kt" />
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
<component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
|
||||
<component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
|
||||
<component name="JsGulpfileManager">
|
||||
<detection-done>true</detection-done>
|
||||
<sorting>DEFINITION_ORDER</sorting>
|
||||
</component>
|
||||
<component name="ProjectFrameBounds" extendedState="6">
|
||||
<option name="width" value="2496" />
|
||||
<option name="height" value="1390" />
|
||||
</component>
|
||||
<component name="ProjectView">
|
||||
<navigator currentView="ProjectPane" proportions="" version="1">
|
||||
<flattenPackages />
|
||||
<showMembers />
|
||||
<showModules />
|
||||
<showLibraryContents />
|
||||
<hideEmptyPackages />
|
||||
<abbreviatePackageNames />
|
||||
<autoscrollToSource />
|
||||
<autoscrollFromSource />
|
||||
<sortByType />
|
||||
<manualOrder />
|
||||
<foldersAlwaysOnTop value="true" />
|
||||
</navigator>
|
||||
<panes>
|
||||
<pane id="Scratches" />
|
||||
<pane id="PackagesPane" />
|
||||
<pane id="ProjectPane">
|
||||
<subPane>
|
||||
<expand>
|
||||
<path>
|
||||
<item name="binary-search" type="b2602c69:ProjectViewProjectNode" />
|
||||
<item name="binary-search" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
|
||||
</path>
|
||||
<path>
|
||||
<item name="binary-search" type="b2602c69:ProjectViewProjectNode" />
|
||||
<item name="binary-search" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
|
||||
<item name="src" type="462c0819:PsiDirectoryNode" />
|
||||
</path>
|
||||
<path>
|
||||
<item name="binary-search" type="b2602c69:ProjectViewProjectNode" />
|
||||
<item name="binary-search" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
|
||||
<item name="src" type="462c0819:PsiDirectoryNode" />
|
||||
<item name="main" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
|
||||
</path>
|
||||
<path>
|
||||
<item name="binary-search" type="b2602c69:ProjectViewProjectNode" />
|
||||
<item name="binary-search" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
|
||||
<item name="src" type="462c0819:PsiDirectoryNode" />
|
||||
<item name="main" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
|
||||
<item name="kotlin" type="462c0819:PsiDirectoryNode" />
|
||||
</path>
|
||||
<path>
|
||||
<item name="binary-search" type="b2602c69:ProjectViewProjectNode" />
|
||||
<item name="binary-search" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
|
||||
<item name="src" type="462c0819:PsiDirectoryNode" />
|
||||
<item name="test" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
|
||||
</path>
|
||||
<path>
|
||||
<item name="binary-search" type="b2602c69:ProjectViewProjectNode" />
|
||||
<item name="binary-search" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
|
||||
<item name="src" type="462c0819:PsiDirectoryNode" />
|
||||
<item name="test" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
|
||||
<item name="kotlin" type="462c0819:PsiDirectoryNode" />
|
||||
</path>
|
||||
</expand>
|
||||
<select />
|
||||
</subPane>
|
||||
</pane>
|
||||
<pane id="AndroidView" />
|
||||
<pane id="Scope" />
|
||||
</panes>
|
||||
</component>
|
||||
<component name="PropertiesComponent">
|
||||
<property name="WebServerToolWindowFactoryState" value="false" />
|
||||
<property name="aspect.path.notification.shown" value="true" />
|
||||
<property name="last_opened_file_path" value="$PROJECT_DIR$/../minesweeper" />
|
||||
</component>
|
||||
<component name="RunDashboard">
|
||||
<option name="ruleStates">
|
||||
<list>
|
||||
<RuleState>
|
||||
<option name="name" value="ConfigurationTypeDashboardGroupingRule" />
|
||||
</RuleState>
|
||||
<RuleState>
|
||||
<option name="name" value="StatusDashboardGroupingRule" />
|
||||
</RuleState>
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
<component name="RunManager" selected="JUnit.BinarySearchTest">
|
||||
<configuration name="BinarySearchTest" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
|
||||
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
|
||||
<module name="binary-search_test" />
|
||||
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
|
||||
<option name="ALTERNATIVE_JRE_PATH" />
|
||||
<option name="PACKAGE_NAME" value="" />
|
||||
<option name="MAIN_CLASS_NAME" value="BinarySearchTest" />
|
||||
<option name="METHOD_NAME" />
|
||||
<option name="TEST_OBJECT" value="class" />
|
||||
<option name="VM_PARAMETERS" value="-ea" />
|
||||
<option name="PARAMETERS" />
|
||||
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" />
|
||||
<option name="ENV_VARIABLES" />
|
||||
<option name="PASS_PARENT_ENVS" value="true" />
|
||||
<option name="TEST_SEARCH_SCOPE">
|
||||
<value defaultName="singleModule" />
|
||||
</option>
|
||||
<envs />
|
||||
<patterns />
|
||||
</configuration>
|
||||
<configuration name="BinarySearchTest.unsortedListCannotBeSearched" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
|
||||
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
|
||||
<module name="binary-search_test" />
|
||||
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
|
||||
<option name="ALTERNATIVE_JRE_PATH" />
|
||||
<option name="PACKAGE_NAME" value="" />
|
||||
<option name="MAIN_CLASS_NAME" value="BinarySearchTest" />
|
||||
<option name="METHOD_NAME" value="unsortedListCannotBeSearched" />
|
||||
<option name="TEST_OBJECT" value="method" />
|
||||
<option name="VM_PARAMETERS" value="-ea" />
|
||||
<option name="PARAMETERS" />
|
||||
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" />
|
||||
<option name="ENV_VARIABLES" />
|
||||
<option name="PASS_PARENT_ENVS" value="true" />
|
||||
<option name="TEST_SEARCH_SCOPE">
|
||||
<value defaultName="singleModule" />
|
||||
</option>
|
||||
<envs />
|
||||
<patterns />
|
||||
</configuration>
|
||||
<configuration default="true" type="Applet" factoryName="Applet">
|
||||
<option name="WIDTH" value="400" />
|
||||
<option name="HEIGHT" value="300" />
|
||||
<option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
|
||||
<module />
|
||||
</configuration>
|
||||
<configuration default="true" type="Application" factoryName="Application">
|
||||
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
|
||||
<option name="MAIN_CLASS_NAME" />
|
||||
<option name="VM_PARAMETERS" />
|
||||
<option name="PROGRAM_PARAMETERS" />
|
||||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
|
||||
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
|
||||
<option name="ALTERNATIVE_JRE_PATH" />
|
||||
<option name="ENABLE_SWING_INSPECTOR" value="false" />
|
||||
<option name="ENV_VARIABLES" />
|
||||
<option name="PASS_PARENT_ENVS" value="true" />
|
||||
<module name="" />
|
||||
<envs />
|
||||
</configuration>
|
||||
<configuration default="true" type="JUnit" factoryName="JUnit">
|
||||
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
|
||||
<module name="" />
|
||||
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
|
||||
<option name="ALTERNATIVE_JRE_PATH" />
|
||||
<option name="PACKAGE_NAME" />
|
||||
<option name="MAIN_CLASS_NAME" />
|
||||
<option name="METHOD_NAME" />
|
||||
<option name="TEST_OBJECT" value="class" />
|
||||
<option name="VM_PARAMETERS" value="-ea" />
|
||||
<option name="PARAMETERS" />
|
||||
<option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
|
||||
<option name="ENV_VARIABLES" />
|
||||
<option name="PASS_PARENT_ENVS" value="true" />
|
||||
<option name="TEST_SEARCH_SCOPE">
|
||||
<value defaultName="singleModule" />
|
||||
</option>
|
||||
<envs />
|
||||
<patterns />
|
||||
</configuration>
|
||||
<configuration default="true" type="#org.jetbrains.idea.devkit.run.PluginConfigurationType" factoryName="Plugin">
|
||||
<module name="" />
|
||||
<option name="VM_PARAMETERS" value="-Xmx512m -Xms256m -XX:MaxPermSize=250m -ea" />
|
||||
<option name="PROGRAM_PARAMETERS" />
|
||||
<predefined_log_file id="idea.log" enabled="true" />
|
||||
</configuration>
|
||||
<configuration default="true" type="Remote" factoryName="Remote">
|
||||
<option name="USE_SOCKET_TRANSPORT" value="true" />
|
||||
<option name="SERVER_MODE" value="false" />
|
||||
<option name="SHMEM_ADDRESS" value="javadebug" />
|
||||
<option name="HOST" value="localhost" />
|
||||
<option name="PORT" value="5005" />
|
||||
</configuration>
|
||||
<configuration default="true" type="TestNG" factoryName="TestNG">
|
||||
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
|
||||
<module name="" />
|
||||
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
|
||||
<option name="ALTERNATIVE_JRE_PATH" />
|
||||
<option name="SUITE_NAME" />
|
||||
<option name="PACKAGE_NAME" />
|
||||
<option name="MAIN_CLASS_NAME" />
|
||||
<option name="METHOD_NAME" />
|
||||
<option name="GROUP_NAME" />
|
||||
<option name="TEST_OBJECT" value="CLASS" />
|
||||
<option name="VM_PARAMETERS" value="-ea" />
|
||||
<option name="PARAMETERS" />
|
||||
<option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
|
||||
<option name="OUTPUT_DIRECTORY" />
|
||||
<option name="ANNOTATION_TYPE" />
|
||||
<option name="ENV_VARIABLES" />
|
||||
<option name="PASS_PARENT_ENVS" value="true" />
|
||||
<option name="TEST_SEARCH_SCOPE">
|
||||
<value defaultName="singleModule" />
|
||||
</option>
|
||||
<option name="USE_DEFAULT_REPORTERS" value="false" />
|
||||
<option name="PROPERTIES_FILE" />
|
||||
<envs />
|
||||
<properties />
|
||||
<listeners />
|
||||
</configuration>
|
||||
<list size="2">
|
||||
<item index="0" class="java.lang.String" itemvalue="JUnit.BinarySearchTest.unsortedListCannotBeSearched" />
|
||||
<item index="1" class="java.lang.String" itemvalue="JUnit.BinarySearchTest" />
|
||||
</list>
|
||||
<recent_temporary>
|
||||
<list size="2">
|
||||
<item index="0" class="java.lang.String" itemvalue="JUnit.BinarySearchTest" />
|
||||
<item index="1" class="java.lang.String" itemvalue="JUnit.BinarySearchTest.unsortedListCannotBeSearched" />
|
||||
</list>
|
||||
</recent_temporary>
|
||||
</component>
|
||||
<component name="SbtLocalSettings">
|
||||
<option name="lastUpdateTimestamp" value="1501690078896" />
|
||||
<option name="externalProjectsViewState">
|
||||
<projects_view />
|
||||
</option>
|
||||
</component>
|
||||
<component name="ShelveChangesManager" show_recycled="false">
|
||||
<option name="remove_strategy" value="false" />
|
||||
</component>
|
||||
<component name="SvnConfiguration">
|
||||
<configuration />
|
||||
</component>
|
||||
<component name="TaskManager">
|
||||
<task active="true" id="Default" summary="Default task">
|
||||
<changelist id="202e2260-efac-49f8-9bd7-33b821a31efd" name="Default" comment="" />
|
||||
<created>1501690075439</created>
|
||||
<option name="number" value="Default" />
|
||||
<option name="presentableId" value="Default" />
|
||||
<updated>1501690075439</updated>
|
||||
<workItem from="1501690079313" duration="1968000" />
|
||||
</task>
|
||||
<servers />
|
||||
</component>
|
||||
<component name="TestHistory">
|
||||
<history-entry file="BinarySearchTest - 2017.08.02 at 13h 20m 55s.xml">
|
||||
<configuration name="BinarySearchTest" configurationId="JUnit" />
|
||||
</history-entry>
|
||||
<history-entry file="BinarySearchTest - 2017.08.02 at 13h 23m 31s.xml">
|
||||
<configuration name="BinarySearchTest" configurationId="JUnit" />
|
||||
</history-entry>
|
||||
<history-entry file="BinarySearchTest_unsortedListCannotBeSearched - 2017.08.02 at 12h 12m 46s.xml">
|
||||
<configuration name="BinarySearchTest.unsortedListCannotBeSearched" configurationId="JUnit" />
|
||||
</history-entry>
|
||||
<history-entry file="BinarySearchTest_unsortedListCannotBeSearched - 2017.08.02 at 13h 20m 53s.xml">
|
||||
<configuration name="BinarySearchTest.unsortedListCannotBeSearched" configurationId="JUnit" />
|
||||
</history-entry>
|
||||
</component>
|
||||
<component name="TimeTrackingManager">
|
||||
<option name="totallyTimeSpent" value="1968000" />
|
||||
</component>
|
||||
<component name="ToolWindowManager">
|
||||
<frame x="-1" y="0" width="2562" height="1391" extended-state="6" />
|
||||
<editor active="true" />
|
||||
<layout>
|
||||
<window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32981315" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="SBT" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Palette	" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Image Layers" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Capture Analysis" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
|
||||
<window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32981315" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Capture Tool" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
|
||||
<window_info id="sbt-shell-toolwindow" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Gradle" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="UI Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Theme Preview" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
|
||||
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
|
||||
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
|
||||
</layout>
|
||||
</component>
|
||||
<component name="TypeScriptGeneratedFilesManager">
|
||||
<option name="version" value="1" />
|
||||
</component>
|
||||
<component name="VcsContentAnnotationSettings">
|
||||
<option name="myLimit" value="2678400000" />
|
||||
</component>
|
||||
<component name="XDebuggerManager">
|
||||
<breakpoint-manager />
|
||||
<watches-manager />
|
||||
</component>
|
||||
<component name="editorHistoryManager">
|
||||
<entry file="file://$PROJECT_DIR$/README.md">
|
||||
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
|
||||
<state split_layout="SPLIT">
|
||||
<first_editor relative-caret-position="0">
|
||||
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
||||
<folding />
|
||||
</first_editor>
|
||||
<second_editor />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/test/kotlin/BinarySearchTest.kt">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="1034">
|
||||
<caret line="49" column="6" lean-forward="false" selection-start-line="49" selection-start-column="6" selection-end-line="49" selection-end-column="6" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/main/kotlin/BinarySearch.kt">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="418">
|
||||
<caret line="19" column="1" lean-forward="true" selection-start-line="19" selection-start-column="1" selection-end-line="19" selection-end-column="1" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</component>
|
||||
<component name="masterDetails">
|
||||
<states>
|
||||
<state key="ProjectJDKs.UI">
|
||||
<settings>
|
||||
<last-edited>1.8</last-edited>
|
||||
<splitter-proportions>
|
||||
<option name="proportions">
|
||||
<list>
|
||||
<option value="0.2" />
|
||||
</list>
|
||||
</option>
|
||||
</splitter-proportions>
|
||||
</settings>
|
||||
</state>
|
||||
</states>
|
||||
</component>
|
||||
</project>
|
BIN
kotlin/sublist/.gradle/4.0.1/fileChanges/last-build.bin
Normal file
BIN
kotlin/sublist/.gradle/4.0.1/fileChanges/last-build.bin
Normal file
Binary file not shown.
BIN
kotlin/sublist/.gradle/4.0.1/fileHashes/fileHashes.bin
Normal file
BIN
kotlin/sublist/.gradle/4.0.1/fileHashes/fileHashes.bin
Normal file
Binary file not shown.
BIN
kotlin/sublist/.gradle/4.0.1/fileHashes/fileHashes.lock
Normal file
BIN
kotlin/sublist/.gradle/4.0.1/fileHashes/fileHashes.lock
Normal file
Binary file not shown.
|
@ -1,2 +1,2 @@
|
|||
#Thu Aug 03 21:26:49 EDT 2017
|
||||
gradle.version=4.0.2
|
||||
#Fri Aug 11 22:41:02 EDT 2017
|
||||
gradle.version=4.0.1
|
||||
|
|
6
kotlin/sublist/.idea/encodings.xml
generated
Normal file
6
kotlin/sublist/.idea/encodings.xml
generated
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Encoding">
|
||||
<file url="PROJECT" charset="UTF-8" />
|
||||
</component>
|
||||
</project>
|
19
kotlin/sublist/.idea/gradle.xml
generated
19
kotlin/sublist/.idea/gradle.xml
generated
|
@ -1,19 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="GradleSettings">
|
||||
<option name="linkedExternalProjectsSettings">
|
||||
<GradleProjectSettings>
|
||||
<option name="distributionType" value="LOCAL" />
|
||||
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="gradleHome" value="/usr/share/java/gradle" />
|
||||
<option name="gradleJvm" value="1.8" />
|
||||
<option name="modules">
|
||||
<set>
|
||||
<option value="$PROJECT_DIR$" />
|
||||
</set>
|
||||
</option>
|
||||
<option name="useAutoImport" value="true" />
|
||||
</GradleProjectSettings>
|
||||
</option>
|
||||
</component>
|
||||
</project>
|
|
@ -1,11 +0,0 @@
|
|||
<component name="libraryTable">
|
||||
<library name="Gradle: junit:junit:4.12">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/junit/junit/4.12/2973d150c0dc1fefe998f834810d68f278ea58ec/junit-4.12.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/junit/junit/4.12/a6c32b40bf3d76eca54e3c601e5d1470c86fcdfa/junit-4.12-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
|
@ -1,11 +0,0 @@
|
|||
<component name="libraryTable">
|
||||
<library name="Gradle: org.hamcrest:hamcrest-core:1.3">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.hamcrest/hamcrest-core/1.3/42a25dc3219429f0e5d060061f71acb49bf010a0/hamcrest-core-1.3.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.hamcrest/hamcrest-core/1.3/1dc37250fbc78e23a65a67fbbaf71d2e9cbc3c0b/hamcrest-core-1.3-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
|
@ -1,11 +0,0 @@
|
|||
<component name="libraryTable">
|
||||
<library name="Gradle: org.jetbrains:annotations:13.0">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains/annotations/13.0/919f0dfe192fb4e063e7dacadee7f8bb9a2672a9/annotations-13.0.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains/annotations/13.0/5991ca87ef1fb5544943d9abc5a9a37583fabe03/annotations-13.0-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
|
@ -1,11 +0,0 @@
|
|||
<component name="libraryTable">
|
||||
<library name="Gradle: org.jetbrains.kotlin:kotlin-stdlib:1.1.1">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.1.1/98e484e67f913e934559f7f55f0c94be5593f03c/kotlin-stdlib-1.1.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.1.1/a287944d92875a1f3c2161e5cddaede7720913d1/kotlin-stdlib-1.1.1-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
|
@ -1,11 +0,0 @@
|
|||
<component name="libraryTable">
|
||||
<library name="Gradle: org.jetbrains.kotlin:kotlin-test:1.1.1">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-test/1.1.1/5a852a554eb4f9fb93efdffa352b7983ed595e32/kotlin-test-1.1.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-test/1.1.1/4b9a869f86569edea4a07d19b9749ac835fb7207/kotlin-test-1.1.1-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
|
@ -1,11 +0,0 @@
|
|||
<component name="libraryTable">
|
||||
<library name="Gradle: org.jetbrains.kotlin:kotlin-test-junit:1.1.1">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-test-junit/1.1.1/a1865f59b6f72597452e5bdfefeb14d13bc31c7d/kotlin-test-junit-1.1.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-test-junit/1.1.1/ed59de63c4565c708124caaa4e86562a780f9ba0/kotlin-test-junit-1.1.1-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
6
kotlin/sublist/.idea/misc.xml
generated
6
kotlin/sublist/.idea/misc.xml
generated
|
@ -1,6 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/classes" />
|
||||
</component>
|
||||
</project>
|
773
kotlin/sublist/.idea/workspace.xml
generated
773
kotlin/sublist/.idea/workspace.xml
generated
|
@ -1,773 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="475e2d2d-591f-4d23-b8f9-688a05978397" name="Default" comment="" />
|
||||
<ignored path="$PROJECT_DIR$/.gradle/" />
|
||||
<ignored path="$PROJECT_DIR$/build/" />
|
||||
<ignored path="$PROJECT_DIR$/out/" />
|
||||
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
||||
<option name="TRACKING_ENABLED" value="true" />
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
||||
<option name="LAST_RESOLUTION" value="IGNORE" />
|
||||
</component>
|
||||
<component name="ExternalProjectsData">
|
||||
<projectState path="$PROJECT_DIR$">
|
||||
<ProjectState />
|
||||
</projectState>
|
||||
</component>
|
||||
<component name="FileEditorManager">
|
||||
<leaf>
|
||||
<file leaf-file-name="Relationship.kt" pinned="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/src/main/kotlin/Relationship.kt">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="0">
|
||||
<caret line="0" column="11" lean-forward="false" selection-start-line="0" selection-start-column="11" selection-end-line="0" selection-end-column="11" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file leaf-file-name="SublistTest.kt" pinned="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/src/test/kotlin/SublistTest.kt">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="488">
|
||||
<caret line="138" column="0" lean-forward="false" selection-start-line="138" selection-start-column="0" selection-end-line="138" selection-end-column="0" />
|
||||
<folding>
|
||||
<element signature="e#0#77#0" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file leaf-file-name="ListExt.kt" pinned="false" current-in-tab="true">
|
||||
<entry file="file://$PROJECT_DIR$/src/main/kotlin/ListExt.kt">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="572">
|
||||
<caret line="37" column="48" lean-forward="false" selection-start-line="37" selection-start-column="48" selection-end-line="37" selection-end-column="48" />
|
||||
<folding>
|
||||
<marker date="1501812126975" expanded="false" signature="64:271" ph="..." />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file leaf-file-name="README.md" pinned="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/README.md">
|
||||
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
|
||||
<state split_layout="SPLIT">
|
||||
<first_editor relative-caret-position="0">
|
||||
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
||||
<folding />
|
||||
</first_editor>
|
||||
<second_editor />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
</leaf>
|
||||
</component>
|
||||
<component name="FileTemplateManagerImpl">
|
||||
<option name="RECENT_TEMPLATES">
|
||||
<list>
|
||||
<option value="Kotlin File" />
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
<component name="FindInProjectRecents">
|
||||
<findStrings>
|
||||
<find>@Ignore</find>
|
||||
</findStrings>
|
||||
</component>
|
||||
<component name="GradleLocalSettings">
|
||||
<option name="myGradleHomes">
|
||||
<map>
|
||||
<entry key="$PROJECT_DIR$" value="/usr/share/java/gradle" />
|
||||
</map>
|
||||
</option>
|
||||
<option name="myGradleVersions">
|
||||
<map>
|
||||
<entry key="$PROJECT_DIR$" value="4.0.2" />
|
||||
</map>
|
||||
</option>
|
||||
<option name="availableProjects">
|
||||
<map>
|
||||
<entry>
|
||||
<key>
|
||||
<ExternalProjectPojo>
|
||||
<option name="name" value="sublist" />
|
||||
<option name="path" value="$PROJECT_DIR$" />
|
||||
</ExternalProjectPojo>
|
||||
</key>
|
||||
<value>
|
||||
<list>
|
||||
<ExternalProjectPojo>
|
||||
<option name="name" value="sublist" />
|
||||
<option name="path" value="$PROJECT_DIR$" />
|
||||
</ExternalProjectPojo>
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
</map>
|
||||
</option>
|
||||
<option name="availableTasks">
|
||||
<map>
|
||||
<entry key="$PROJECT_DIR$">
|
||||
<value>
|
||||
<list>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Displays the components produced by root project 'sublist'. [incubating]" />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="components" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Assembles and tests this project and all projects that depend on it." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="buildDependents" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Displays the sub-projects of root project 'sublist'." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="projects" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Assembles main classes." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="classes" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Displays the dependent components of components in root project 'sublist'. [incubating]" />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="dependentComponents" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Displays all buildscript dependencies declared in root project 'sublist'." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="buildEnvironment" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Generates Gradle wrapper files." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="wrapper" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Assembles test classes." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="testClasses" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Generates Javadoc API documentation for the main source code." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="javadoc" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Assembles a jar archive containing the main classes." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="jar" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Displays the configuration model of root project 'sublist'. [incubating]" />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="model" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="copyMainKotlinClasses" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Processes main resources." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="processResources" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Displays the tasks runnable from root project 'sublist'." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="tasks" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Initializes a new Gradle build." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="init" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="copyTestKotlinClasses" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Runs the unit tests." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="test" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Compiles main Java source." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="compileJava" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Compiles the source set 'test'.kotlin." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="compileTestKotlin" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Displays the insight into a specific dependency in root project 'sublist'." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="dependencyInsight" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Runs all checks." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="check" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Assembles the outputs of this project." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="assemble" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Deletes the build directory." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="clean" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Compiles test Java source." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="compileTestJava" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Displays all dependencies declared in root project 'sublist'." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="dependencies" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Processes test resources." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="processTestResources" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Displays a help message." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="help" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Compiles the source set 'main'.kotlin." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="compileKotlin" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Assembles and tests this project." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="build" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Assembles and tests this project and all projects it depends on." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="buildNeeded" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Displays the properties of root project 'sublist'." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="properties" />
|
||||
</ExternalTaskPojo>
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
</map>
|
||||
</option>
|
||||
<option name="modificationStamps">
|
||||
<map>
|
||||
<entry key="$PROJECT_DIR$" value="1501809994000" />
|
||||
</map>
|
||||
</option>
|
||||
<option name="projectBuildClasspath">
|
||||
<map>
|
||||
<entry key="$PROJECT_DIR$">
|
||||
<value>
|
||||
<ExternalProjectBuildClasspathPojo>
|
||||
<option name="modulesBuildClasspath">
|
||||
<map>
|
||||
<entry key="$PROJECT_DIR$">
|
||||
<value>
|
||||
<ExternalModuleBuildClasspathPojo>
|
||||
<option name="entries">
|
||||
<list>
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-gradle-plugin/1.1.1/e742de8adf25f631b39f74e2d6fd00cd9cdd609e/kotlin-gradle-plugin-1.1.1-sources.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-gradle-plugin/1.1.1/5e3d99580c70b67a07cd70481943362e4b29d8d3/kotlin-gradle-plugin-1.1.1.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/commons-io/commons-io/2.4/f2d8698c46d1167ff24b06a840a87d91a02db891/commons-io-2.4-sources.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/commons-io/commons-io/2.4/b1b6ea3b7e4aa4f492509a4952029cd8e48019ad/commons-io-2.4.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/commons-lang/commons-lang/2.6/67313d715fbf0ea4fd0bdb69217fb77f807a8ce5/commons-lang-2.6-sources.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/commons-lang/commons-lang/2.6/ce1edb914c94ebc388f086c6827e8bdeec71ac2/commons-lang-2.6.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.1.1/a287944d92875a1f3c2161e5cddaede7720913d1/kotlin-stdlib-1.1.1-sources.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.1.1/98e484e67f913e934559f7f55f0c94be5593f03c/kotlin-stdlib-1.1.1.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-android-extensions/1.1.1/2c0ad82587d187f78c4063fa7867ed3c4dfa54ca/kotlin-android-extensions-1.1.1-sources.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-android-extensions/1.1.1/56cfcc61bc91638ea52d13ce90b565f50be3d6f5/kotlin-android-extensions-1.1.1.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-gradle-plugin-api/1.1.1/e48aafb092d4c3ddd6927f38f9f17f7117e1ef47/kotlin-gradle-plugin-api-1.1.1-sources.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-gradle-plugin-api/1.1.1/9083de2c98801f1fe058b6280234265269c1cad0/kotlin-gradle-plugin-api-1.1.1.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-compiler-embeddable/1.1.1/b84662e33f8f44d33265e964f1329ce5644af35c/kotlin-compiler-embeddable-1.1.1-sources.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-compiler-embeddable/1.1.1/d975091bb224a04b3717505a55875608642cc8d3/kotlin-compiler-embeddable-1.1.1.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-compiler-runner/1.1.1/764b45d92a761810b29580aeae2fac3d614f9bf/kotlin-compiler-runner-1.1.1-sources.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-compiler-runner/1.1.1/cad5c437ac58f7245673a6c4fd73a656dd259b26/kotlin-compiler-runner-1.1.1.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-annotation-processing/1.1.1/2756d002e8d1d1aa0d5a49e7c895b87514083fab/kotlin-annotation-processing-1.1.1-sources.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-annotation-processing/1.1.1/9f7312cea58b39ce82368261cd227758df78eb32/kotlin-annotation-processing-1.1.1.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains/annotations/13.0/5991ca87ef1fb5544943d9abc5a9a37583fabe03/annotations-13.0-sources.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains/annotations/13.0/919f0dfe192fb4e063e7dacadee7f8bb9a2672a9/annotations-13.0.jar" />
|
||||
</list>
|
||||
</option>
|
||||
<option name="path" value="$PROJECT_DIR$" />
|
||||
</ExternalModuleBuildClasspathPojo>
|
||||
</value>
|
||||
</entry>
|
||||
</map>
|
||||
</option>
|
||||
<option name="name" value="sublist" />
|
||||
<option name="projectBuildClasspath">
|
||||
<list>
|
||||
<option value="/usr/share/java/gradle/lib/gradle-runtime-api-info-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/ant-launcher-1.9.6.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/gradle-launcher-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/gradle-script-kotlin-tooling-builders-0.9.0.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/gradle-installation-beacon-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/gradle-model-core-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/gradle-base-services-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/gradle-script-kotlin-0.9.0.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/gradle-logging-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/groovy-all-2.4.11.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/gradle-tooling-api-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/gradle-model-groovy-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/gradle-jvm-services-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/gradle-core-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/gradle-wrapper-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/gradle-cli-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/ant-1.9.6.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/gradle-messaging-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/gradle-base-services-groovy-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/gradle-native-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/gradle-script-kotlin-compiler-plugin-0.9.0.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/gradle-script-kotlin-tooling-models-0.9.0.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/gradle-process-services-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/gradle-resources-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/gradle-docs-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-language-jvm-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-plugin-development-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-dependency-management-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-test-kit-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-maven-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-platform-native-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-language-scala-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-reporting-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-announce-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-scala-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/ivy-2.2.0.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-code-quality-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-ide-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-platform-play-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-testing-base-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-workers-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-build-comparison-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-language-groovy-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-build-init-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-plugin-use-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-platform-base-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-build-cache-http-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-composite-builds-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-language-native-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-ear-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-signing-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-testing-jvm-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-ide-native-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-osgi-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-diagnostics-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-jacoco-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-resources-s3-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-antlr-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-resources-sftp-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-ivy-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-testing-native-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-plugins-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-language-java-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-javascript-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-tooling-api-builders-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-platform-jvm-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-resources-http-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-ide-play-4.0.2.jar" />
|
||||
<option value="/usr/share/java/gradle/lib/plugins/gradle-publish-4.0.2.jar" />
|
||||
<option value="$PROJECT_DIR$/buildSrc/src/main/java" />
|
||||
<option value="$PROJECT_DIR$/buildSrc/src/main/groovy" />
|
||||
</list>
|
||||
</option>
|
||||
</ExternalProjectBuildClasspathPojo>
|
||||
</value>
|
||||
</entry>
|
||||
</map>
|
||||
</option>
|
||||
<option name="externalProjectsViewState">
|
||||
<projects_view />
|
||||
</option>
|
||||
</component>
|
||||
<component name="IdeDocumentHistory">
|
||||
<option name="CHANGED_PATHS">
|
||||
<list>
|
||||
<option value="$PROJECT_DIR$/src/test/kotlin/SublistTest.kt" />
|
||||
<option value="$PROJECT_DIR$/src/main/kotlin/ListExt.kt" />
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
<component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
|
||||
<component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
|
||||
<component name="JsGulpfileManager">
|
||||
<detection-done>true</detection-done>
|
||||
<sorting>DEFINITION_ORDER</sorting>
|
||||
</component>
|
||||
<component name="ProjectFrameBounds" extendedState="6">
|
||||
<option name="width" value="2562" />
|
||||
<option name="height" value="1391" />
|
||||
</component>
|
||||
<component name="ProjectView">
|
||||
<navigator currentView="ProjectPane" proportions="" version="1">
|
||||
<flattenPackages />
|
||||
<showMembers />
|
||||
<showModules />
|
||||
<showLibraryContents />
|
||||
<hideEmptyPackages />
|
||||
<abbreviatePackageNames />
|
||||
<autoscrollToSource />
|
||||
<autoscrollFromSource />
|
||||
<sortByType />
|
||||
<manualOrder />
|
||||
<foldersAlwaysOnTop value="true" />
|
||||
</navigator>
|
||||
<panes>
|
||||
<pane id="ProjectPane">
|
||||
<subPane>
|
||||
<expand>
|
||||
<path>
|
||||
<item name="sublist" type="b2602c69:ProjectViewProjectNode" />
|
||||
<item name="sublist" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
|
||||
</path>
|
||||
<path>
|
||||
<item name="sublist" type="b2602c69:ProjectViewProjectNode" />
|
||||
<item name="sublist" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
|
||||
<item name="src" type="462c0819:PsiDirectoryNode" />
|
||||
</path>
|
||||
<path>
|
||||
<item name="sublist" type="b2602c69:ProjectViewProjectNode" />
|
||||
<item name="sublist" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
|
||||
<item name="src" type="462c0819:PsiDirectoryNode" />
|
||||
<item name="main" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
|
||||
</path>
|
||||
<path>
|
||||
<item name="sublist" type="b2602c69:ProjectViewProjectNode" />
|
||||
<item name="sublist" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
|
||||
<item name="src" type="462c0819:PsiDirectoryNode" />
|
||||
<item name="main" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
|
||||
<item name="kotlin" type="462c0819:PsiDirectoryNode" />
|
||||
</path>
|
||||
<path>
|
||||
<item name="sublist" type="b2602c69:ProjectViewProjectNode" />
|
||||
<item name="sublist" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
|
||||
<item name="src" type="462c0819:PsiDirectoryNode" />
|
||||
<item name="test" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
|
||||
</path>
|
||||
<path>
|
||||
<item name="sublist" type="b2602c69:ProjectViewProjectNode" />
|
||||
<item name="sublist" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
|
||||
<item name="src" type="462c0819:PsiDirectoryNode" />
|
||||
<item name="test" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
|
||||
<item name="kotlin" type="462c0819:PsiDirectoryNode" />
|
||||
</path>
|
||||
</expand>
|
||||
<select />
|
||||
</subPane>
|
||||
</pane>
|
||||
<pane id="Scope" />
|
||||
<pane id="Scratches" />
|
||||
<pane id="PackagesPane" />
|
||||
<pane id="AndroidView" />
|
||||
</panes>
|
||||
</component>
|
||||
<component name="PropertiesComponent">
|
||||
<property name="WebServerToolWindowFactoryState" value="false" />
|
||||
<property name="aspect.path.notification.shown" value="true" />
|
||||
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
|
||||
</component>
|
||||
<component name="RunDashboard">
|
||||
<option name="ruleStates">
|
||||
<list>
|
||||
<RuleState>
|
||||
<option name="name" value="ConfigurationTypeDashboardGroupingRule" />
|
||||
</RuleState>
|
||||
<RuleState>
|
||||
<option name="name" value="StatusDashboardGroupingRule" />
|
||||
</RuleState>
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
<component name="RunManager" selected="JUnit.SublistTest">
|
||||
<configuration name="SublistTest" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
|
||||
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
|
||||
<module name="sublist_test" />
|
||||
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
|
||||
<option name="ALTERNATIVE_JRE_PATH" />
|
||||
<option name="PACKAGE_NAME" value="" />
|
||||
<option name="MAIN_CLASS_NAME" value="SublistTest" />
|
||||
<option name="METHOD_NAME" />
|
||||
<option name="TEST_OBJECT" value="class" />
|
||||
<option name="VM_PARAMETERS" value="-ea" />
|
||||
<option name="PARAMETERS" />
|
||||
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" />
|
||||
<option name="ENV_VARIABLES" />
|
||||
<option name="PASS_PARENT_ENVS" value="true" />
|
||||
<option name="TEST_SEARCH_SCOPE">
|
||||
<value defaultName="singleModule" />
|
||||
</option>
|
||||
<envs />
|
||||
<patterns />
|
||||
</configuration>
|
||||
<configuration default="true" type="Applet" factoryName="Applet">
|
||||
<option name="WIDTH" value="400" />
|
||||
<option name="HEIGHT" value="300" />
|
||||
<option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
|
||||
<module />
|
||||
</configuration>
|
||||
<configuration default="true" type="Application" factoryName="Application">
|
||||
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
|
||||
<option name="MAIN_CLASS_NAME" />
|
||||
<option name="VM_PARAMETERS" />
|
||||
<option name="PROGRAM_PARAMETERS" />
|
||||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
|
||||
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
|
||||
<option name="ALTERNATIVE_JRE_PATH" />
|
||||
<option name="ENABLE_SWING_INSPECTOR" value="false" />
|
||||
<option name="ENV_VARIABLES" />
|
||||
<option name="PASS_PARENT_ENVS" value="true" />
|
||||
<module name="" />
|
||||
<envs />
|
||||
</configuration>
|
||||
<configuration default="true" type="JUnit" factoryName="JUnit">
|
||||
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
|
||||
<module name="" />
|
||||
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
|
||||
<option name="ALTERNATIVE_JRE_PATH" />
|
||||
<option name="PACKAGE_NAME" />
|
||||
<option name="MAIN_CLASS_NAME" />
|
||||
<option name="METHOD_NAME" />
|
||||
<option name="TEST_OBJECT" value="class" />
|
||||
<option name="VM_PARAMETERS" value="-ea" />
|
||||
<option name="PARAMETERS" />
|
||||
<option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
|
||||
<option name="ENV_VARIABLES" />
|
||||
<option name="PASS_PARENT_ENVS" value="true" />
|
||||
<option name="TEST_SEARCH_SCOPE">
|
||||
<value defaultName="singleModule" />
|
||||
</option>
|
||||
<envs />
|
||||
<patterns />
|
||||
</configuration>
|
||||
<configuration default="true" type="#org.jetbrains.idea.devkit.run.PluginConfigurationType" factoryName="Plugin">
|
||||
<module name="" />
|
||||
<option name="VM_PARAMETERS" value="-Xmx512m -Xms256m -XX:MaxPermSize=250m -ea" />
|
||||
<option name="PROGRAM_PARAMETERS" />
|
||||
<predefined_log_file id="idea.log" enabled="true" />
|
||||
</configuration>
|
||||
<configuration default="true" type="Remote" factoryName="Remote">
|
||||
<option name="USE_SOCKET_TRANSPORT" value="true" />
|
||||
<option name="SERVER_MODE" value="false" />
|
||||
<option name="SHMEM_ADDRESS" value="javadebug" />
|
||||
<option name="HOST" value="localhost" />
|
||||
<option name="PORT" value="5005" />
|
||||
</configuration>
|
||||
<configuration default="true" type="TestNG" factoryName="TestNG">
|
||||
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
|
||||
<module name="" />
|
||||
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
|
||||
<option name="ALTERNATIVE_JRE_PATH" />
|
||||
<option name="SUITE_NAME" />
|
||||
<option name="PACKAGE_NAME" />
|
||||
<option name="MAIN_CLASS_NAME" />
|
||||
<option name="METHOD_NAME" />
|
||||
<option name="GROUP_NAME" />
|
||||
<option name="TEST_OBJECT" value="CLASS" />
|
||||
<option name="VM_PARAMETERS" value="-ea" />
|
||||
<option name="PARAMETERS" />
|
||||
<option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
|
||||
<option name="OUTPUT_DIRECTORY" />
|
||||
<option name="ANNOTATION_TYPE" />
|
||||
<option name="ENV_VARIABLES" />
|
||||
<option name="PASS_PARENT_ENVS" value="true" />
|
||||
<option name="TEST_SEARCH_SCOPE">
|
||||
<value defaultName="singleModule" />
|
||||
</option>
|
||||
<option name="USE_DEFAULT_REPORTERS" value="false" />
|
||||
<option name="PROPERTIES_FILE" />
|
||||
<envs />
|
||||
<properties />
|
||||
<listeners />
|
||||
</configuration>
|
||||
<recent_temporary>
|
||||
<list size="1">
|
||||
<item index="0" class="java.lang.String" itemvalue="JUnit.SublistTest" />
|
||||
</list>
|
||||
</recent_temporary>
|
||||
</component>
|
||||
<component name="SbtLocalSettings">
|
||||
<option name="lastUpdateTimestamp" value="1501810009309" />
|
||||
<option name="externalProjectsViewState">
|
||||
<projects_view />
|
||||
</option>
|
||||
</component>
|
||||
<component name="ShelveChangesManager" show_recycled="false">
|
||||
<option name="remove_strategy" value="false" />
|
||||
</component>
|
||||
<component name="SvnConfiguration">
|
||||
<configuration />
|
||||
</component>
|
||||
<component name="TaskManager">
|
||||
<task active="true" id="Default" summary="Default task">
|
||||
<changelist id="475e2d2d-591f-4d23-b8f9-688a05978397" name="Default" comment="" />
|
||||
<created>1501810006237</created>
|
||||
<option name="number" value="Default" />
|
||||
<option name="presentableId" value="Default" />
|
||||
<updated>1501810006237</updated>
|
||||
<workItem from="1501810009751" duration="2269000" />
|
||||
</task>
|
||||
<servers />
|
||||
</component>
|
||||
<component name="TestHistory">
|
||||
<history-entry file="SublistTest - 2017.08.03 at 21h 47m 48s.xml">
|
||||
<configuration name="SublistTest" configurationId="JUnit" />
|
||||
</history-entry>
|
||||
<history-entry file="SublistTest - 2017.08.03 at 21h 49m 05s.xml">
|
||||
<configuration name="SublistTest" configurationId="JUnit" />
|
||||
</history-entry>
|
||||
<history-entry file="SublistTest - 2017.08.03 at 21h 55m 17s.xml">
|
||||
<configuration name="SublistTest" configurationId="JUnit" />
|
||||
</history-entry>
|
||||
<history-entry file="SublistTest - 2017.08.03 at 21h 55m 52s.xml">
|
||||
<configuration name="SublistTest" configurationId="JUnit" />
|
||||
</history-entry>
|
||||
<history-entry file="SublistTest - 2017.08.03 at 21h 57m 05s.xml">
|
||||
<configuration name="SublistTest" configurationId="JUnit" />
|
||||
</history-entry>
|
||||
<history-entry file="SublistTest - 2017.08.03 at 21h 57m 16s.xml">
|
||||
<configuration name="SublistTest" configurationId="JUnit" />
|
||||
</history-entry>
|
||||
<history-entry file="SublistTest - 2017.08.03 at 22h 00m 52s.xml">
|
||||
<configuration name="SublistTest" configurationId="JUnit" />
|
||||
</history-entry>
|
||||
<history-entry file="SublistTest - 2017.08.03 at 22h 01m 06s.xml">
|
||||
<configuration name="SublistTest" configurationId="JUnit" />
|
||||
</history-entry>
|
||||
<history-entry file="SublistTest - 2017.08.03 at 22h 01m 45s.xml">
|
||||
<configuration name="SublistTest" configurationId="JUnit" />
|
||||
</history-entry>
|
||||
<history-entry file="SublistTest - 2017.08.03 at 22h 02m 09s.xml">
|
||||
<configuration name="SublistTest" configurationId="JUnit" />
|
||||
</history-entry>
|
||||
</component>
|
||||
<component name="TimeTrackingManager">
|
||||
<option name="totallyTimeSpent" value="2269000" />
|
||||
</component>
|
||||
<component name="ToolWindowManager">
|
||||
<frame x="0" y="0" width="2562" height="1391" extended-state="6" />
|
||||
<editor active="true" />
|
||||
<layout>
|
||||
<window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32981315" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="SBT" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Palette	" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Image Layers" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Capture Analysis" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
|
||||
<window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.32981315" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Capture Tool" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
|
||||
<window_info id="sbt-shell-toolwindow" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Gradle" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="UI Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Theme Preview" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
|
||||
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
|
||||
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
|
||||
</layout>
|
||||
</component>
|
||||
<component name="TypeScriptGeneratedFilesManager">
|
||||
<option name="version" value="1" />
|
||||
</component>
|
||||
<component name="VcsContentAnnotationSettings">
|
||||
<option name="myLimit" value="2678400000" />
|
||||
</component>
|
||||
<component name="XDebuggerManager">
|
||||
<breakpoint-manager />
|
||||
<watches-manager />
|
||||
</component>
|
||||
<component name="editorHistoryManager">
|
||||
<entry file="file://$PROJECT_DIR$/src/main/kotlin/Relationship.kt">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="0">
|
||||
<caret line="0" column="11" lean-forward="false" selection-start-line="0" selection-start-column="11" selection-end-line="0" selection-end-column="11" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/README.md">
|
||||
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
|
||||
<state split_layout="SPLIT">
|
||||
<first_editor relative-caret-position="0">
|
||||
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
||||
<folding />
|
||||
</first_editor>
|
||||
<second_editor />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/test/kotlin/SublistTest.kt">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="488">
|
||||
<caret line="138" column="0" lean-forward="false" selection-start-line="138" selection-start-column="0" selection-end-line="138" selection-end-column="0" />
|
||||
<folding>
|
||||
<element signature="e#0#77#0" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/main/kotlin/ListExt.kt">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="572">
|
||||
<caret line="37" column="48" lean-forward="false" selection-start-line="37" selection-start-column="48" selection-end-line="37" selection-end-column="48" />
|
||||
<folding>
|
||||
<marker date="1501812126975" expanded="false" signature="64:271" ph="..." />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</component>
|
||||
<component name="masterDetails">
|
||||
<states>
|
||||
<state key="ProjectJDKs.UI">
|
||||
<settings>
|
||||
<last-edited>1.8</last-edited>
|
||||
<splitter-proportions>
|
||||
<option name="proportions">
|
||||
<list>
|
||||
<option value="0.2" />
|
||||
</list>
|
||||
</option>
|
||||
</splitter-proportions>
|
||||
</settings>
|
||||
</state>
|
||||
</states>
|
||||
</component>
|
||||
</project>
|
|
@ -1,24 +0,0 @@
|
|||
# Sublist
|
||||
|
||||
Given two lists determine if the first list is contained within the second
|
||||
list, if the second list is contained within the first list, if both lists are
|
||||
contained within each other or if none of these are true.
|
||||
|
||||
Specifically, a list A is a sublist of list B if by dropping 0 or more elements
|
||||
from the front of B and 0 or more elements from the back of B you get a list
|
||||
that's completely equal to A.
|
||||
|
||||
Examples:
|
||||
|
||||
* A = [1, 2, 3], B = [1, 2, 3, 4, 5], A is a sublist of B
|
||||
* A = [3, 4, 5], B = [1, 2, 3, 4, 5], A is a sublist of B
|
||||
* A = [3, 4], B = [1, 2, 3, 4, 5], A is a sublist of B
|
||||
* A = [1, 2, 3], B = [1, 2, 3], A is equal to B
|
||||
* A = [1, 2, 3, 4, 5], B = [2, 3, 4], A is a superlist of B
|
||||
* A = [1, 2, 4], B = [1, 2, 3, 4, 5], A is not a superlist of, sublist of or equal to B
|
||||
|
||||
|
||||
|
||||
|
||||
## Submitting Incomplete Solutions
|
||||
It's possible to submit an incomplete solution so you can see how others have completed the exercise.
|
|
@ -1,28 +0,0 @@
|
|||
buildscript {
|
||||
ext.kotlin_version = '1.1.1'
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||
}
|
||||
}
|
||||
|
||||
apply plugin: 'kotlin'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
||||
|
||||
testCompile 'junit:junit:4.12'
|
||||
testCompile "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version"
|
||||
}
|
||||
test {
|
||||
testLogging {
|
||||
exceptionFormat = 'full'
|
||||
events = ["passed", "failed", "skipped"]
|
||||
}
|
||||
}
|
1
kotlin/sublist/build/kotlin-build/caches/version.txt
Normal file
1
kotlin/sublist/build/kotlin-build/caches/version.txt
Normal file
|
@ -0,0 +1 @@
|
|||
11001
|
BIN
kotlin/sublist/out/production/classes/ListExtKt.class
Normal file
BIN
kotlin/sublist/out/production/classes/ListExtKt.class
Normal file
Binary file not shown.
BIN
kotlin/sublist/out/production/classes/Relationship.class
Normal file
BIN
kotlin/sublist/out/production/classes/Relationship.class
Normal file
Binary file not shown.
BIN
kotlin/sublist/out/test/classes/SublistTest.class
Normal file
BIN
kotlin/sublist/out/test/classes/SublistTest.class
Normal file
Binary file not shown.
|
@ -1,43 +1,41 @@
|
|||
fun <T> List<T>.relationshipTo(inpList: List<T>): Relationship{
|
||||
|
||||
if (this == inpList){
|
||||
fun <T> List<T>.relationshipTo(testList: List<T>): Relationship {
|
||||
if (testList == this) {
|
||||
return Relationship.EQUAL
|
||||
}
|
||||
|
||||
if (this.isEmpty()){
|
||||
return Relationship.SUBLIST
|
||||
}
|
||||
|
||||
if (inpList.isEmpty()){
|
||||
if (this.isSuperlist(testList)){
|
||||
return Relationship.SUPERLIST
|
||||
}
|
||||
|
||||
if (this.subtract(inpList).isNotEmpty()){
|
||||
return Relationship.SUPERLIST
|
||||
}
|
||||
|
||||
if (inpList.subtract(this).isNotEmpty()) {
|
||||
if (testList.isSuperlist(this)){
|
||||
return Relationship.SUBLIST
|
||||
}
|
||||
|
||||
return Relationship.UNEQUAL
|
||||
}
|
||||
|
||||
fun <T> List<T>.isUnequal(inpList: List<T>): Boolean {
|
||||
for (i in 0..this.size - 1){
|
||||
val droppedList = this.drop(i)
|
||||
val droppedBackList = this.dropLast(i)
|
||||
if (droppedList == inpList || droppedBackList == inpList){
|
||||
return false
|
||||
fun <T> List<T>.isSuperlist(testList: List<T>): Boolean{
|
||||
if (testList.isEmpty()){
|
||||
return true
|
||||
}
|
||||
|
||||
if (this.size < testList.size){
|
||||
return false
|
||||
}
|
||||
|
||||
if (testList.size >= this.size) {
|
||||
if ((this == testList.subList(0, this.size)) or
|
||||
(this == testList.subList(testList.size - this.size, testList.size))) {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
for (i in 0..inpList.size - 1){
|
||||
val droppedList = inpList.drop(i)
|
||||
val droppedBackList = this.dropLast(i)
|
||||
if (droppedList == inpList || droppedBackList == inpList){
|
||||
return false
|
||||
val sizeDelta = this.size - testList.size
|
||||
for (i in 0..sizeDelta){
|
||||
if (this.subList(i, i + testList.size) == testList){
|
||||
return true
|
||||
}
|
||||
}
|
||||
return true
|
||||
|
||||
return false
|
||||
}
|
|
@ -14,6 +14,7 @@ class SublistTest {
|
|||
emptyList<String>().relationshipTo(emptyList<String>()))
|
||||
}
|
||||
|
||||
|
||||
@Test
|
||||
fun testEmptyListIsSublistOfNonEmptyList() {
|
||||
assertEquals(
|
||||
|
@ -21,6 +22,7 @@ class SublistTest {
|
|||
emptyList<Int>().relationshipTo(listOf(1, 2, 3)))
|
||||
}
|
||||
|
||||
|
||||
@Test
|
||||
fun testNonEmptyListIsSuperlistOfEmptyList() {
|
||||
assertEquals(
|
||||
|
@ -28,6 +30,7 @@ class SublistTest {
|
|||
listOf('1', '2', '3').relationshipTo(emptyList()))
|
||||
}
|
||||
|
||||
|
||||
@Test
|
||||
fun testListIsEqualToItself() {
|
||||
val anyList = listOf("1", "2", "3")
|
||||
|
|
Loading…
Add table
Reference in a new issue