Commit 21bb2eca authored by Swathi Karre's avatar Swathi Karre

initial Commit

parents
#Thu Mar 26 12:11:08 IST 2020
gradle.version=4.10.3
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GradleSettings">
<option name="linkedExternalProjectsSettings">
<GradleProjectSettings>
<option name="distributionType" value="DEFAULT_WRAPPED" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="modules">
<set>
<option value="$PROJECT_DIR$" />
</set>
</option>
<option name="useAutoImport" value="true" />
<option name="useQualifiedModuleNames" value="true" />
</GradleProjectSettings>
</option>
</component>
</project>
\ No newline at end of file
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="ClassOnlyUsedInOnePackage" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="ClassUnconnectedToPackage" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="DisjointPackage" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="EmptyDirectory" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="ExceptionPackage" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="PackageInMultipleModules" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="PackageWithTooFewClasses" enabled="true" level="WARNING" enabled_by_default="true">
<option name="limit" value="3" />
</inspection_tool>
<inspection_tool class="PackageWithTooManyClasses" enabled="true" level="WARNING" enabled_by_default="true">
<option name="limit" value="10" />
</inspection_tool>
</profile>
</component>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ExternalStorageConfigurationManager" enabled="true" />
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_9" default="false" project-jdk-name="11" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Palette2">
<group name="Swing">
<item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
</item>
<item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
</item>
<item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
</item>
<item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true">
<default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
</item>
<item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
<initial-values>
<property name="text" value="Button" />
</initial-values>
</item>
<item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
<initial-values>
<property name="text" value="RadioButton" />
</initial-values>
</item>
<item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
<initial-values>
<property name="text" value="CheckBox" />
</initial-values>
</item>
<item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
<initial-values>
<property name="text" value="Label" />
</initial-values>
</item>
<item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
</item>
<item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
<preferred-size width="200" height="200" />
</default-constraints>
</item>
<item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
<preferred-size width="200" height="200" />
</default-constraints>
</item>
<item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
</item>
<item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
</item>
<item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
</item>
<item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
</item>
<item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
<preferred-size width="-1" height="20" />
</default-constraints>
</item>
<item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
</item>
<item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
</item>
</group>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/../" vcs="Git" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="dd36efdf-5e36-4796-8a91-0f39bc1c0197" name="Default Changelist" comment="" />
<ignored path="$PROJECT_DIR$/out/" />
<ignored path="$PROJECT_DIR$/.gradle/" />
<ignored path="$PROJECT_DIR$/build/" />
<option name="EXCLUDED_CONVERTED_TO_IGNORED" 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="DefaultGradleProjectSettings">
<option name="testRunner" value="GRADLE" />
<option name="delegatedBuild" value="true" />
<option name="isMigrated" value="true" />
</component>
<component name="ExternalProjectsData">
<projectState path="$PROJECT_DIR$">
<ProjectState />
</projectState>
</component>
<component name="FileEditorManager">
<leaf>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/main/java/com/nisum/java9Features/ProcessAPI/ProcessBasedOnID.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="153">
<caret line="9" column="36" selection-start-line="9" selection-start-column="36" selection-end-line="9" selection-end-column="36" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/main/java/com/nisum/java9Features/ProcessAPI/NotepadFromProcessBuilder.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="136">
<caret line="8" selection-start-line="8" selection-end-line="8" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/main/java/com/nisum/java9Features/ProcessAPI/DestroyProcessFromProcessBuilder.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="221">
<caret line="13" selection-start-line="13" selection-end-line="13" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/main/resources/module-info.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="51">
<caret line="3" column="1" selection-start-line="3" selection-start-column="1" selection-end-line="3" selection-end-column="1" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/main/java/com/nisum/java9Features/http2/TestSync.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="274">
<caret line="21" selection-start-line="21" selection-end-line="21" />
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/main/java/com/nisum/java9Features/http2/TestAsync.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="257">
<caret line="21" column="38" lean-forward="true" selection-start-line="21" selection-start-column="38" selection-end-line="21" selection-end-column="38" />
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/main/java/com/nisum/java9Features/ReactiveStreams/Employee.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="325">
<caret line="37" column="1" lean-forward="true" selection-start-line="37" selection-start-column="1" selection-end-line="37" selection-end-column="1" />
<folding>
<element signature="e#143#144#0" expanded="true" />
<element signature="e#168#169#0" expanded="true" />
<element signature="e#201#202#0" expanded="true" />
<element signature="e#229#230#0" expanded="true" />
<element signature="e#260#261#0" expanded="true" />
<element signature="e#287#288#0" expanded="true" />
<element signature="e#327#328#0" expanded="true" />
<element signature="e#359#360#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/main/java/com/nisum/java9Features/ReactiveStreams/EmpHelper.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="323">
<caret line="21" column="5" selection-start-line="21" selection-start-column="5" selection-end-line="21" selection-end-column="5" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/src/main/java/com/nisum/java9Features/ReactiveStreams/MySubscriber.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="253">
<caret line="21" column="37" lean-forward="true" selection-start-line="21" selection-start-column="37" selection-end-line="21" selection-end-column="37" />
<folding>
<element signature="imports" expanded="true" />
<element signature="e#959#960#0" expanded="true" />
<element signature="e#1016#1017#0" expanded="true" />
<element signature="e#1047#1048#0" expanded="true" />
<element signature="e#1077#1078#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/main/java/com/nisum/java9Features/ReactiveStreams/MyReactiveApp.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="343">
<caret line="29" selection-start-line="29" selection-end-line="29" />
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
</leaf>
</component>
<component name="FileTemplateManagerImpl">
<option name="RECENT_TEMPLATES">
<list>
<option value="Interface" />
<option value="Singleton" />
<option value="Class" />
</list>
</option>
</component>
<component name="Git.Settings">
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/../" />
</component>
<component name="IdeDocumentHistory">
<option name="CHANGED_PATHS">
<list>
<option value="$PROJECT_DIR$/src/main/java/com/nisum/java9Features/PrivateMethods/Java9Interf.java" />
<option value="$PROJECT_DIR$/build.gradle" />
<option value="$PROJECT_DIR$/src/main/java/com/nisum/java9Features/PrivateMethods/PrivateInstanceMethods.java" />
<option value="$PROJECT_DIR$/src/main/java/com/nisum/java9Features/PrivateMethods/Java9InterfStatic.java" />
<option value="$PROJECT_DIR$/src/main/java/com/nisum/java9Features/PrivateMethods/PrivateStaticMethod.java" />
<option value="$PROJECT_DIR$/src/main/java/com/nisum/java9Features/TryWithResourcesEnhancements/MyResources.java" />
<option value="$PROJECT_DIR$/src/main/java/com/nisum/java9Features/TryWithResourcesEnhancements/TryWithResourceApp.java" />
<option value="$PROJECT_DIR$/src/main/java/com/nisum/java9Features/DiamondOperator/MyGenClass.java" />
<option value="$PROJECT_DIR$/src/main/java/com/nisum/java9Features/DiamondOperator/Test.java" />
<option value="$PROJECT_DIR$/src/main/java/com/nisum/java9Features/FactoryMethodsForUnmodifiableCollections/Employee.java" />
<option value="$PROJECT_DIR$/src/main/java/com/nisum/java9Features/FactoryMethodsForUnmodifiableCollections/UnmodifiableList.java" />
<option value="$PROJECT_DIR$/src/main/java/com/nisum/java9Features/FactoryMethodsForUnmodifiableCollections/UnmodifiableSet.java" />
<option value="$PROJECT_DIR$/src/main/java/com/nisum/java9Features/FactoryMethodsForUnmodifiableCollections/UnmodifiableMap.java" />
<option value="$PROJECT_DIR$/src/main/java/com/nisum/java9Features/StreamApi/TestTakeWhile.java" />
<option value="$PROJECT_DIR$/src/main/java/com/nisum/java9Features/StreamApi/TestDropWhile.java" />
<option value="$PROJECT_DIR$/src/main/java/com/nisum/java9Features/StreamApi/TestIterate.java" />
<option value="$PROJECT_DIR$/src/main/java/com/nisum/java9Features/StreamApi/TestOfNullable.java" />
<option value="$PROJECT_DIR$/src/main/java/com/nisum/java9Features/ProcessAPI/ProcessID.java" />
<option value="$PROJECT_DIR$/src/main/java/com/nisum/java9Features/ProcessAPI/CurrentProcessInfo.java" />
<option value="$PROJECT_DIR$/src/main/java/com/nisum/java9Features/ProcessAPI/ProcessBasedOnID.java" />
<option value="$PROJECT_DIR$/src/main/java/com/nisum/java9Features/ProcessAPI/NotepadFromProcessBuilder.java" />
<option value="$PROJECT_DIR$/src/main/java/com/nisum/java9Features/ProcessAPI/DestroyProcessFromProcessBuilder.java" />
<option value="$PROJECT_DIR$/src/main/java/com/nisum/java9Features/http2/moduleinfo.java" />
<option value="$PROJECT_DIR$/src/main/resources/moduleinfo.java" />
<option value="$PROJECT_DIR$/src/main/resources/module-info.java" />
<option value="$PROJECT_DIR$/src/main/java/com/nisum/java9Features/http2/Test.java" />
<option value="$PROJECT_DIR$/src/main/java/com/nisum/java9Features/http2/TestSync.java" />
<option value="$PROJECT_DIR$/src/main/java/com/nisum/java9Features/http2/TestAsync.java" />
<option value="$PROJECT_DIR$/src/main/java/com/nisum/java9Features/ReactiveStreams/Employee.java" />
<option value="$PROJECT_DIR$/src/main/java/com/nisum/java9Features/ReactiveStreams/EmpHelper.java" />
<option value="$PROJECT_DIR$/src/main/java/com/nisum/java9Features/ReactiveStreams/MySubscriber.java" />
<option value="$PROJECT_DIR$/src/main/java/com/nisum/java9Features/ReactiveStreams/MyReactiveApp.java" />
</list>
</option>
</component>
<component name="ProjectFrameBounds" extendedState="6">
<option name="x" value="405" />
<option name="width" value="1070" />
<option name="height" value="980" />
</component>
<component name="ProjectLevelVcsManager" settingsEditedManually="true" />
<component name="ProjectView">
<navigator proportions="" version="1">
<foldersAlwaysOnTop value="true" />
</navigator>
<panes>
<pane id="Scope" />
<pane id="PackagesPane" />
<pane id="ProjectPane">
<subPane>
<expand>
<path>
<item name="java9Features" type="b2602c69:ProjectViewProjectNode" />
<item name="java9Features" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
</path>
<path>
<item name="java9Features" type="b2602c69:ProjectViewProjectNode" />
<item name="java9Features" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="java9Features" type="b2602c69:ProjectViewProjectNode" />
<item name="java9Features" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
<item name="main" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
</path>
<path>
<item name="java9Features" type="b2602c69:ProjectViewProjectNode" />
<item name="java9Features" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
<item name="main" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
<item name="java" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="java9Features" type="b2602c69:ProjectViewProjectNode" />
<item name="java9Features" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
<item name="main" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
<item name="java" type="462c0819:PsiDirectoryNode" />
<item name="java9Features" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="java9Features" type="b2602c69:ProjectViewProjectNode" />
<item name="java9Features" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
<item name="main" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
<item name="java" type="462c0819:PsiDirectoryNode" />
<item name="java9Features" type="462c0819:PsiDirectoryNode" />
<item name="ReactiveStreams" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="java9Features" type="b2602c69:ProjectViewProjectNode" />
<item name="java9Features" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
<item name="main" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
<item name="resources" type="462c0819:PsiDirectoryNode" />
</path>
</expand>
<select />
</subPane>
</pane>
</panes>
</component>
<component name="PropertiesComponent">
<property name="ASKED_SHARE_PROJECT_CONFIGURATION_FILES" value="true" />
<property name="SHARE_PROJECT_CONFIGURATION_FILES" value="true" />
<property name="project.structure.last.edited" value="Modules" />
<property name="project.structure.proportion" value="0.15" />
<property name="project.structure.side.proportion" value="0.0" />
<property name="settings.editor.selected.configurable" value="project.propCompiler" />
</component>
<component name="RecentsManager">
<key name="MoveClassesOrPackagesDialog.RECENTS_KEY">
<recent name="com.nisum.java9Features" />
</key>
<key name="MoveFile.RECENT_KEYS">
<recent name="C:\java9Features\src\main\resources" />
<recent name="C:\java9Features\src\main\java\com\nisum\java9Features\http2" />
</key>
</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="Application.MyReactiveApp">
<configuration name="DestroyProcessFromProcessBuilder" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
<option name="MAIN_CLASS_NAME" value="com.nisum.java9Features.ProcessAPI.DestroyProcessFromProcessBuilder" />
<module name="java9Features.main" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="com.nisum.java9Features.ProcessAPI.*" />
<option name="ENABLED" value="true" />
</pattern>
</extension>
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
<configuration name="MyReactiveApp" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
<option name="MAIN_CLASS_NAME" value="com.nisum.java9Features.ReactiveStreams.MyReactiveApp" />
<module name="java9Features.main" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="com.nisum.java9Features.ReactiveStreams.*" />
<option name="ENABLED" value="true" />
</pattern>
</extension>
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
<configuration name="NotepadFromProcessBuilder" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
<option name="MAIN_CLASS_NAME" value="com.nisum.java9Features.ProcessAPI.NotepadFromProcessBuilder" />
<module name="java9Features.main" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="com.nisum.java9Features.ProcessAPI.*" />
<option name="ENABLED" value="true" />
</pattern>
</extension>
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
<configuration name="TestAsync" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
<option name="MAIN_CLASS_NAME" value="com.nisum.java9Features.http2.TestAsync" />
<module name="java9Features.main" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="com.nisum.java9Features.http2.*" />
<option name="ENABLED" value="true" />
</pattern>
</extension>
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
<configuration name="TestSync" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
<option name="MAIN_CLASS_NAME" value="com.nisum.java9Features.http2.TestSync" />
<module name="java9Features.main" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="com.nisum.java9Features.http2.*" />
<option name="ENABLED" value="true" />
</pattern>
</extension>
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
<recent_temporary>
<list>
<item itemvalue="Application.MyReactiveApp" />
<item itemvalue="Application.TestAsync" />
<item itemvalue="Application.TestSync" />
<item itemvalue="Application.DestroyProcessFromProcessBuilder" />
<item itemvalue="Application.NotepadFromProcessBuilder" />
</list>
</recent_temporary>
</component>
<component name="SvnConfiguration">
<configuration />
</component>
<component name="TaskManager">
<task active="true" id="Default" summary="Default task">
<changelist id="dd36efdf-5e36-4796-8a91-0f39bc1c0197" name="Default Changelist" comment="" />
<created>1585204852696</created>
<option name="number" value="Default" />
<option name="presentableId" value="Default" />
<updated>1585204852696</updated>
</task>
<servers />
</component>
<component name="ToolWindowManager">
<frame x="-7" y="-7" width="1550" height="838" extended-state="6" />
<editor active="true" />
<layout>
<window_info id="Designer" order="0" />
<window_info id="Capture Tool" order="1" />
<window_info id="UI Designer" order="2" />
<window_info id="Favorites" order="3" side_tool="true" />
<window_info id="Image Layers" order="4" />
<window_info content_ui="combo" id="Project" order="5" visible="true" weight="0.25" />
<window_info id="Structure" order="6" side_tool="true" weight="0.25" />
<window_info anchor="bottom" id="Terminal" order="0" />
<window_info anchor="bottom" id="Event Log" order="1" side_tool="true" />
<window_info anchor="bottom" id="Build" order="2" weight="0.32911393" />
<window_info anchor="bottom" id="Version Control" order="3" />
<window_info anchor="bottom" id="Message" order="4" />
<window_info anchor="bottom" id="Find" order="5" />
<window_info anchor="bottom" id="Run" order="6" weight="0.32911393" />
<window_info active="true" anchor="bottom" id="Debug" order="7" visible="true" weight="0.3994374" />
<window_info anchor="bottom" id="Cvs" order="8" weight="0.25" />
<window_info anchor="bottom" id="Inspection" order="9" weight="0.4" />
<window_info anchor="bottom" id="TODO" order="10" />
<window_info anchor="right" id="Gradle" order="0" />
<window_info anchor="right" id="Capture Analysis" order="1" />
<window_info anchor="right" id="Theme Preview" order="2" />
<window_info anchor="right" id="Palette&#9;" order="3" />
<window_info anchor="right" id="Maven" order="4" />
<window_info anchor="right" id="Palette" order="5" />
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="6" type="SLIDING" weight="0.4" />
<window_info anchor="right" id="Ant Build" order="7" weight="0.25" />
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="8" weight="0.25" />
</layout>
</component>
<component name="XDebuggerManager">
<breakpoint-manager>
<breakpoints>
<line-breakpoint enabled="true" type="java-line">
<url>file://$PROJECT_DIR$/src/main/java/com/nisum/java9Features/ReactiveStreams/MyReactiveApp.java</url>
<line>8</line>
<properties />
<option name="timeStamp" value="5" />
</line-breakpoint>
<line-breakpoint enabled="true" type="java-line">
<url>file://$PROJECT_DIR$/src/main/java/com/nisum/java9Features/ReactiveStreams/MySubscriber.java</url>
<line>11</line>
<properties />
<option name="timeStamp" value="6" />
</line-breakpoint>
</breakpoints>
</breakpoint-manager>
</component>
<component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/build.gradle">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="153">
<caret line="9" column="14" selection-start-line="9" selection-start-column="14" selection-end-line="9" selection-end-column="14" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/nisum/java9Features/PrivateMethods/Java9Interf.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="204">
<caret line="12" column="19" selection-start-line="12" selection-start-column="17" selection-end-line="12" selection-end-column="19" />
<folding>
<element signature="e#108#109#0" expanded="true" />
<element signature="e#129#130#0" expanded="true" />
<element signature="e#157#158#0" expanded="true" />
<element signature="e#178#179#0" expanded="true" />
<element signature="e#206#207#0" expanded="true" />
<element signature="e#283#284#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/nisum/java9Features/PrivateMethods/PrivateInstanceMethods.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="136">
<caret line="8" column="10" selection-start-line="8" selection-start-column="10" selection-end-line="8" selection-end-column="10" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/nisum/java9Features/PrivateMethods/Java9InterfStatic.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="238">
<caret line="14" column="4" selection-start-line="14" selection-start-column="4" selection-end-line="14" selection-end-column="4" />
<folding>
<element signature="e#118#119#0" expanded="true" />
<element signature="e#141#142#0" expanded="true" />
<element signature="e#174#175#0" expanded="true" />
<element signature="e#201#202#0" expanded="true" />
<element signature="e#231#232#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/nisum/java9Features/PrivateMethods/PrivateStaticMethod.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="153">
<caret line="9" selection-start-line="9" selection-end-line="9" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/nisum/java9Features/TryWithResourcesEnhancements/MyResources.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="153">
<caret line="9" column="9" selection-start-line="9" selection-start-column="9" selection-end-line="9" selection-end-column="9" />
<folding>
<element signature="e#137#138#0" expanded="true" />
<element signature="e#200#201#0" expanded="true" />
<element signature="e#233#234#0" expanded="true" />
<element signature="e#298#299#0" expanded="true" />
<element signature="e#330#331#0" expanded="true" />
<element signature="e#394#395#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/nisum/java9Features/TryWithResourcesEnhancements/TryWithResourceApp.java">
<provider selected="true" editor-type-id="text-editor">
<state>
<caret line="66" column="26" lean-forward="true" selection-start-line="66" selection-start-column="26" selection-end-line="66" selection-end-column="26" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/nisum/java9Features/DiamondOperator/MyGenClass.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="85">
<caret line="5" column="5" lean-forward="true" selection-start-line="5" selection-start-column="5" selection-end-line="5" selection-end-column="5" />
<folding>
<element signature="e#155#156#0" expanded="true" />
<element signature="e#179#180#0" expanded="true" />
<element signature="e#204#205#0" expanded="true" />
<element signature="e#234#235#0" expanded="true" />
<element signature="e#286#287#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/nisum/java9Features/DiamondOperator/Test.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="323">
<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>
<element signature="e#169#177#0" expanded="true" />
<element signature="e#234#235#0" expanded="true" />
<element signature="e#319#320#0" expanded="true" />
<element signature="e#487#488#0" expanded="true" />
<element signature="e#572#573#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/nisum/java9Features/FactoryMethodsForUnmodifiableCollections/Employee.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="238">
<caret line="14" selection-start-line="14" selection-end-line="14" />
<folding>
<element signature="e#294#295#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/nisum/java9Features/FactoryMethodsForUnmodifiableCollections/UnmodifiableList.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="272">
<caret line="16" column="5" lean-forward="true" selection-start-line="5" selection-start-column="3" selection-end-line="16" selection-end-column="5" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/nisum/java9Features/FactoryMethodsForUnmodifiableCollections/UnmodifiableSet.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="153">
<caret line="9" column="7" selection-start-line="9" selection-start-column="7" selection-end-line="9" selection-end-column="7" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/nisum/java9Features/FactoryMethodsForUnmodifiableCollections/UnmodifiableMap.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="240">
<caret line="29" column="58" selection-start-line="27" selection-start-column="7" selection-end-line="29" selection-end-column="58" />
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/nisum/java9Features/StreamApi/TestTakeWhile.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="340">
<caret line="22" selection-start-line="22" selection-end-line="22" />
<folding>
<element signature="imports" expanded="true" />
<element signature="e#169#178#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/nisum/java9Features/StreamApi/TestDropWhile.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="325">
<caret line="21" selection-start-line="21" selection-end-line="21" />
<folding>
<element signature="imports" expanded="true" />
<element signature="e#169#178#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/nisum/java9Features/StreamApi/TestIterate.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="153">
<caret line="9" column="30" selection-start-line="9" selection-start-column="30" selection-end-line="9" selection-end-column="30" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/nisum/java9Features/StreamApi/TestOfNullable.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="323">
<caret line="31" column="29" selection-start-line="31" selection-start-column="29" selection-end-line="31" selection-end-column="29" />
<folding>
<element signature="imports" expanded="true" />
<element signature="e#209#217#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/nisum/java9Features/ProcessAPI/ProcessID.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="170">
<caret line="10" selection-start-line="10" selection-end-line="10" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/nisum/java9Features/ProcessAPI/CurrentProcessInfo.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="221">
<caret line="13" selection-start-line="13" selection-end-line="13" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/nisum/java9Features/ProcessAPI/ProcessBasedOnID.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="153">
<caret line="9" column="36" selection-start-line="9" selection-start-column="36" selection-end-line="9" selection-end-column="36" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/nisum/java9Features/ProcessAPI/NotepadFromProcessBuilder.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="136">
<caret line="8" selection-start-line="8" selection-end-line="8" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/nisum/java9Features/ProcessAPI/DestroyProcessFromProcessBuilder.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="221">
<caret line="13" selection-start-line="13" selection-end-line="13" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/resources/module-info.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="51">
<caret line="3" column="1" selection-start-line="3" selection-start-column="1" selection-end-line="3" selection-end-column="1" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/nisum/java9Features/http2/TestSync.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="274">
<caret line="21" selection-start-line="21" selection-end-line="21" />
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/nisum/java9Features/http2/TestAsync.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="257">
<caret line="21" column="38" lean-forward="true" selection-start-line="21" selection-start-column="38" selection-end-line="21" selection-end-column="38" />
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/nisum/java9Features/ReactiveStreams/Employee.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="325">
<caret line="37" column="1" lean-forward="true" selection-start-line="37" selection-start-column="1" selection-end-line="37" selection-end-column="1" />
<folding>
<element signature="e#143#144#0" expanded="true" />
<element signature="e#168#169#0" expanded="true" />
<element signature="e#201#202#0" expanded="true" />
<element signature="e#229#230#0" expanded="true" />
<element signature="e#260#261#0" expanded="true" />
<element signature="e#287#288#0" expanded="true" />
<element signature="e#327#328#0" expanded="true" />
<element signature="e#359#360#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/nisum/java9Features/ReactiveStreams/EmpHelper.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="323">
<caret line="21" column="5" selection-start-line="21" selection-start-column="5" selection-end-line="21" selection-end-column="5" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/nisum/java9Features/ReactiveStreams/MyReactiveApp.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="343">
<caret line="29" selection-start-line="29" selection-end-line="29" />
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/nisum/java9Features/ReactiveStreams/MySubscriber.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="253">
<caret line="21" column="37" lean-forward="true" selection-start-line="21" selection-start-column="37" selection-end-line="21" selection-end-column="37" />
<folding>
<element signature="imports" expanded="true" />
<element signature="e#959#960#0" expanded="true" />
<element signature="e#1016#1017#0" expanded="true" />
<element signature="e#1047#1048#0" expanded="true" />
<element signature="e#1077#1078#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</component>
<component name="masterDetails">
<states>
<state key="ArtifactsStructureConfigurable.UI">
<settings>
<artifact-editor />
<splitter-proportions>
<option name="proportions">
<list>
<option value="0.2" />
</list>
</option>
</splitter-proportions>
</settings>
</state>
<state key="FacetStructureConfigurable.UI">
<settings>
<splitter-proportions>
<option name="proportions">
<list>
<option value="0.2" />
</list>
</option>
</splitter-proportions>
</settings>
</state>
<state key="GlobalLibrariesConfigurable.UI">
<settings>
<splitter-proportions>
<option name="proportions">
<list>
<option value="0.2" />
</list>
</option>
</splitter-proportions>
</settings>
</state>
<state key="JdkListConfigurable.UI">
<settings>
<splitter-proportions>
<option name="proportions">
<list>
<option value="0.2" />
</list>
</option>
</splitter-proportions>
</settings>
</state>
<state key="ModuleStructureConfigurable.UI">
<settings>
<last-edited>main|java9Features</last-edited>
<splitter-proportions>
<option name="proportions">
<list>
<option value="0.2" />
<option value="0.6" />
</list>
</option>
</splitter-proportions>
</settings>
</state>
<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>
<state key="ProjectLibrariesConfigurable.UI">
<settings>
<splitter-proportions>
<option name="proportions">
<list>
<option value="0.2" />
</list>
</option>
</splitter-proportions>
</settings>
</state>
</states>
</component>
</project>
\ No newline at end of file
<!DOCTYPE html>
<html>
<!--<![endif]-->
<head id="Head1">
<script async='async' src='https://www.googletagservices.com/tag/js/gpt.js?v1'></script>
<script>
var googletag = googletag || {};
googletag.cmd = googletag.cmd || [];
</script>
<!-- <link rel="search" type="application/opensearchdescription+xml" title="redBus" href="opensearch.xml" /> -->
<!--[if IE]> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <![endif]-->
<!--[if lt IE 10]>
<div class="MB"><p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p></div>
<![endif]-->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- DNS prefetch -->
<link rel="dns-prefetch" href="//s1.rdbuz.com" />
<link rel="dns-prefetch" href="//s2.rdbuz.com" />
<link rel="dns-prefetch" href="//s3.rdbuz.com" />
<link href="../../../favicon.ico?root=rbus" rel="shortcut icon" />
<!--[if lt IE 9]>
<script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<meta name="Keywords" content="online bus ticket booking, bus booking, volvo ac bus booking, bus ticket booking, bus tickets" />
<meta id="page_name" content="AboutUs" />
<meta property="og:title" content="India&#x27;s No #1 Bus Ticket Booking Company, Volvo, AC and RTC Buses - redBus.in" />
<meta property="og:type" content="company" />
<meta property="og:url" content="www.redbus.in" />
<meta property="og:image" href="http://s3.rdbuz.com/assets/images/logo/b_logo.png" />
<meta property="og:site_name" content="redBus" />
<meta property="og:description" content="Compare and Book online bus tickets in India. Find best prices and discounts on all Volvo, AC and sleeper buses in India." />
<link href="/stylesheets/aboutUs.dcd291189ec2156743b427f87bfa33b9.bundle.css" rel="stylesheet" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>About Us -redBus.in</title>
<!-- DNS prefetch -->
<link rel="dns-prefetch" href="//s1.rdbuz.com" />
<link rel="dns-prefetch" href="//s2.rdbuz.com" />
<link rel="dns-prefetch" href="//s3.rdbuz.com" />
<link href="../../../favicon.ico" rel="shortcut icon" />
<!--[if lt IE 9]>
<script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<meta name="Keywords" content="" />
<meta name="description" content="redBus largest bus ticketing platform is committed to provide the best bus ticket service to the customers. redBus has a big inventory with different operators to provide the best service to the customers" />
<link rel="canonical" href="https://www.redbus.in/info/aboutus">
<script>
var page = 'AboutUs';
</script>
<!--session stack code snippet.to be put in head always-->
</head>
<body>
<section id="rh_main">
<div id="sticky_phantom" class="hide">
</div>
<header id="rh_header" class="home-only-header fixer1">
<div class="main-header-row">
<div class="main-header clearfix">
<a href="javascript:void(0)" class="redbus-logo home-redirect">redbus</a>
<div class="fl clearfix" id="page_main_header">
<nav class="product-nav fl">
<ul>
<li><a href="https://www.redbus.in/bus-tickets/" title="redBus" class="selectedBus site-links" id="redBus"><style>.rest .promotions-wrap{margin-left:44px;margin-top:-96px;}.cntEnd,.timName{color:#fff}.countInfo .position {height: 1.23em;}.bpdpcoach-block.coach-remove{pointer-events: none;}</style>BUS TICKETS </a></li>
<li><a href=" /rPool/" title="cars" class="site-links rpool_title" id="cars">rPool <sup style='font-weight: bold;'>New</sup> </a></li>
<li><a href="https://www.redbus.in/bushire/?utm_source=website&amp;utm_medium=referral&amp;utm_campaign=Homepage_bushire_banner" title="redBus Bus Hire" class="site-links gtm-busHire" id="redBus Bus Hire">BUS HIRE </a></li>
<li><a href="https://www.redbus.in/pilgrimages/" title="pilgrimages" class="site-links" id="pilgrimages">PILGRIMAGES </a></li>
</ul>
</nav>
</div>
<div class="corner-wrapper fr">
<div class="fr config-div" tabindex="0" id="select_box_sign">
<div id="signin_dd">
<div class="fr signin-block" id="signin-block">
<i id="i-icon-profile" class="icon-profile-new-unsigned "></i>
<div id="walletbalance" class="walletBalanceHeader hide">
<div id="BalanceText"> </div>
<div id="Balance"> </div>
</div>
<div id="sign-in-icon-down" class="icon-down icon ich dib icon-down_WO_BAL">
<div class="hid-config-sign hide" id="hc">
<div class='toparrowhead-sign'></div>
<ul class="config-list">
<li id="signInLink" class="config-options">Sign In/Sign Up</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="fr config-div manageBookHeader" tabindex="0" id="select_box_managebooking">
<div id="manageHeaderdd">
<div class="manageHeaderLbl">
Manage Booking
</div>
<div class="icon-down icon ich dib mbh">
<div class="hid-config-managaeBooking hide" id="hmb">
<div class="toparrowhead-managebooking"></div>
<div>
<ul class="config-list">
<li class="MBListHeader">Bus Tickets</li>
<li data-busMB="/Cancellation" data-label="Cancel" class="config-option-mb mblist">
<span class="cli">
<span class="w-65">
Cancel
</span>
</span>
</li>
<li data-busMB="/Reschedule" data-label="Reschedule" class="config-option-mb mblist">
<span class="cli">
<span class="w-65">
Reschedule
</span>
</span>
</li>
<li data-busMB="/Home/PrintTicket" data-label="Show My Ticket" class="config-option-mb mblist">
<span class="cli">
<span class="w-65">
Show My Ticket
</span>
</span>
</li>
<li data-busMB="/Home/SmsAndEmailTicket" data-label="Email/SMS" class="config-option-mb mblist">
<span class="cli">
<span class="w-65">
Email/SMS
</span>
</span>
</li>
</ul>
<ul class="config-list">
<li class="MBListHeader">Hotels Tickets</li>
<li data-busMB="/hotels/cancellation" data-label="Cancel/Refund" class="config-option-mb mblist">
<span class="cli">
<span class="w-65">
Cancel/Refund
</span>
</span>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="config-wrapper fr">
<div class="fr hr-shelp config-div"><a href='/info/redcare' target="_blank">Help</a></div>
</div>
</div>
</div>
</div>
</header>
<div id="mBWrapper">
<h3 class='Red XCN'>About us</h3><p class='western'> redBus is India’s largest online bus ticketing platform that has transformed bus travel in the country by bringing ease and convenience to millions of Indians who travel using buses. Founded in 2006, redBus is part of India’s leading online travel company MakeMyTrip Limited (NASDAQ: MMYT). By providing widest choice, superior customer service, lowest prices and unmatched benefits, redBus has served over 8 million customers. redBus has a global presence with operations across Indonesia, Singapore, Malaysia, Colombia and Peru apart from India. </p><h3 id='BirdsEye' class='Red XCN'>Management Team</h3><div class='clearfix'><div class='fl w-20'><div ' style'text-align: left;margin-right: 50px;'><img src='https://s3.rdbuz.com/Images/profile/Prakash.png' style='width:138px;height:138px' /></div></div><div class='fl w-80 '><h6 id='Ourstory' class='Red TextBold XCN' style='margin:0;padding:0;font-size:16px;'>Prakash Sangam, CEO</h6><p class='western'> Prakash Sangam has been Chief Executive Officer of redBus since June 2014. Prior to redBus. He served as an Executive Vice President of Info Edge India (Naukri group), heading two group businesses namely Shiksha.com and Jeevansathi.com. He’s also worked as General Manager of Marketing and Innovation at Airtel and has also had multiple roles across Marketing, Brand Management and Sales at Hindustan Unilever. Prakash has completed his MBA from IIM Calcutta and also holds an Honours degree in Production Engineering from Mumbai University.</p></div></div><div class='clearfix' style='margin:30px 0'><div class='fl w-20'><div ' style='text-align: left;margin-right: 50px;'><img src='https://s3.rdbuz.com/Images/profile/Anoop.png' style='width:138px;height:138px'/></div></div><div class='fl w-80'><h6 id='OurChannel' class='Red TextBold XCN' style='margin:0;padding:0;font-size:16px;'>Anoop Menon, CTO</h6><p class='western'> Anoop Menon serves as Chief Technology Officer at redBus. Anoop plays an integral role in setting the company’s strategic direction, development and future growth. At redBus, he leads effective delivery of scalable systems to the customers, agents and bus operators by incorporating the latest technology. A tech enthusiast, Anoop comes with over 18 years of extensive experience in building scalable and high-performing products across telecom, internet and mobile ecommerce domains. Anoop strongly believes that hard work and commitment can overcome the barriers to success. He completed BE in Mechanical Engineering from Madras University and loves sports, movies, TV and music. </P></div></div>
</div>
<div class="exit-reshedule-confirm hide">
<p>Do you want to exit reschedule flow?</p>
<div class="exit-btns-grp">
<button type="button" class="exit-reschedule-btns" id="exit-reschedule">Yes</button>
<button type="button" class="exit-reschedule-btns" id="">No</button>
</div>
</div>
<footer id="rh_footer">
<div class="footer-row">
<div class="clearfix promotion main-body rest1">
<div class="w-100 pR fl footer-links">
<div class="fr rights-cont">
<div class="img-cont">
<img src="https://s3.rdbuz.com/web/images/home/sgp/r_logo.png" />
</div>
<div>
redBus is the world&#x27;s largest online bus ticket booking service trusted by over 17 million happy customers globally. redBus offers bus ticket booking through its website,iOS and Android mobile apps for all major routes.
</div>
<div id="social-media">
<a target="_blank" href="https://www.facebook.com/redbus.in/"><span class="fbicon icon-Facebook"></span></a>
<a target="_blank" href="https://twitter.com/redBus_in"><span class="twittericon icon-Twitter"></span></a>
</div>
<div style="float: left">
<span>&#9400;</span>
<span> 2020 ibibogroup All rights reserved</span>
</div>
</div>
</div>
</div>
</div>
</footer>
</section>
<div class="msg-header">
<div class="msg-success">
<div>
<em></em>
<span id="nf_success"></span>
</div>
<a href="javascript:void(0);" class="nf-close"></a>
</div>
<div class="msg-error">
<div>
<em></em>
<span id="nf_error"></span>
</div>
<a href="javascript:void(0);" class="nf-close"></a>
</div>
<div class="msg-info">
<div>
<em>¡</em>
<span id="nf_info"></span>
</div>
<a href="javascript:void(0);" class="nf-close"></a>
</div>
<div class="msg-notice">
<div>
<em></em>
<span id="nf_notice"></span>
</div>
<a href="javascript:void(0);" class="nf-close"></a>
</div>
</div>
<!-- Google Tag Manager -->
<noscript>
<iframe src="//www.googletagmanager.com/ns.html?id=GTM-TCFTX7"
height="0" width="0" style="display:none;visibility:hidden"></iframe>
</noscript>
<script>
(function (w, d, s, l, i) {
w[l] = w[l] || []; w[l].push({
'gtm.start':
new Date().getTime(), event: 'gtm.js'
}); var f = d.getElementsByTagName(s)[0],
j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src =
'//www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f);
})(window, document, 'script', 'dataLayer', 'GTM-TCFTX7');</script>
<!-- End Google Tag Manager -->
<script>
var IS_NEW_CONTEXTUAL_LOGIN_ENABLED = true;
var walletBalConfig = null;
var isRewardsEnabled = true;
var calendarObj = null;
var countryspecificdate = '2020/03/26';
var jsloggerURL='//logs.redbus.com/logger/postErr';
var callTripsApi ='True';
var tripsRequestCount ='10';
if(jsloggerURL && jsloggerURL!=="")
{
// console.log(navigator.userAgent);
window.onerror = function (msg, url, lineNo, columnNo, error) {
var message ='';
var string = msg.toLowerCase();
var substring = "script error";
if (string.indexOf(substring) > -1){
console.log('Script Error: See Browser Console for Detail');
} else {
message = {
'Agent':'WEB_DIRECT',
'Message':msg,
'URL': url,
'Line': lineNo,
'Column': columnNo,
'Error object': JSON.stringify(error),
'User Agent':navigator.userAgent,
'URL':location.href
};
}
/*var http = new XMLHttpRequest();
var url = jsloggerURL;
var params = JSON.stringify(message);
http.open("POST", url, true);
http.setRequestHeader("Content-type", "application/json");
http.send(params);*/
var http = new XMLHttpRequest();
var o = "";
for (var n in message){
o += encodeURIComponent(n) + "=" + encodeURIComponent(message[n]) + "&";
}
var url = jsloggerURL+'?'+o;
http.open("GET", url, true);
http.setRequestHeader("Content-type", "application/json");
http.send();
return false;
};
}
</script>
<script src="/javascripts/vendor.5dceaaf2134e8cc80adf.bundle.js?root=rbus" type="text/javascript"></script>
<script src="/javascripts/layout.352ec074d7bf3d4bf440.bundle.js?root=rbus" type="text/javascript"></script>
</body>
</html>
plugins {
id 'java'
}
group 'com.nisum'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.9
repositories {
mavenCentral()
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
}
module demoModule
{
requires jdk.incubator.httpclient;
}
\ No newline at end of file
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
#!/usr/bin/env sh
##############################################################################
##
## Gradle start up script for UN*X
##
##############################################################################
# Attempt to set APP_HOME
# Resolve links: $0 may be a link
PRG="$0"
# Need this for relative symlinks.
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`"/$link"
fi
done
SAVED="`pwd`"
cd "`dirname \"$PRG\"`/" >/dev/null
APP_HOME="`pwd -P`"
cd "$SAVED" >/dev/null
APP_NAME="Gradle"
APP_BASE_NAME=`basename "$0"`
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS=""
# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD="maximum"
warn () {
echo "$*"
}
die () {
echo
echo "$*"
echo
exit 1
}
# OS specific support (must be 'true' or 'false').
cygwin=false
msys=false
darwin=false
nonstop=false
case "`uname`" in
CYGWIN* )
cygwin=true
;;
Darwin* )
darwin=true
;;
MINGW* )
msys=true
;;
NONSTOP* )
nonstop=true
;;
esac
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
# Determine the Java command to use to start the JVM.
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
# IBM's JDK on AIX uses strange locations for the executables
JAVACMD="$JAVA_HOME/jre/sh/java"
else
JAVACMD="$JAVA_HOME/bin/java"
fi
if [ ! -x "$JAVACMD" ] ; then
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
else
JAVACMD="java"
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
# Increase the maximum file descriptors if we can.
if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
MAX_FD_LIMIT=`ulimit -H -n`
if [ $? -eq 0 ] ; then
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
MAX_FD="$MAX_FD_LIMIT"
fi
ulimit -n $MAX_FD
if [ $? -ne 0 ] ; then
warn "Could not set maximum file descriptor limit: $MAX_FD"
fi
else
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
fi
fi
# For Darwin, add options to specify how the application appears in the dock
if $darwin; then
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
fi
# For Cygwin, switch paths to Windows format before running java
if $cygwin ; then
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
JAVACMD=`cygpath --unix "$JAVACMD"`
# We build the pattern for arguments to be converted via cygpath
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
SEP=""
for dir in $ROOTDIRSRAW ; do
ROOTDIRS="$ROOTDIRS$SEP$dir"
SEP="|"
done
OURCYGPATTERN="(^($ROOTDIRS))"
# Add a user-defined pattern to the cygpath arguments
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
fi
# Now convert the arguments - kludge to limit ourselves to /bin/sh
i=0
for arg in "$@" ; do
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
else
eval `echo args$i`="\"$arg\""
fi
i=$((i+1))
done
case $i in
(0) set -- ;;
(1) set -- "$args0" ;;
(2) set -- "$args0" "$args1" ;;
(3) set -- "$args0" "$args1" "$args2" ;;
(4) set -- "$args0" "$args1" "$args2" "$args3" ;;
(5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
(6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
(7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
(8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
(9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
esac
fi
# Escape application args
save () {
for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
echo " "
}
APP_ARGS=$(save "$@")
# Collect all arguments for the java command, following the shell quoting and substitution rules
eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
cd "$(dirname "$0")"
fi
exec "$JAVACMD" "$@"
@if "%DEBUG%" == "" @echo off
@rem ##########################################################################
@rem
@rem Gradle startup script for Windows
@rem
@rem ##########################################################################
@rem Set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" setlocal
set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=.
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS=
@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome
set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if "%ERRORLEVEL%" == "0" goto init
echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
goto fail
:findJavaFromJavaHome
set JAVA_HOME=%JAVA_HOME:"=%
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
if exist "%JAVA_EXE%" goto init
echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
goto fail
:init
@rem Get command-line arguments, handling Windows variants
if not "%OS%" == "Windows_NT" goto win9xME_args
:win9xME_args
@rem Slurp the command line arguments.
set CMD_LINE_ARGS=
set _SKIP=2
:win9xME_args_slurp
if "x%~1" == "x" goto execute
set CMD_LINE_ARGS=%*
:execute
@rem Setup the command line
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
:end
@rem End local scope for the variables with windows NT shell
if "%ERRORLEVEL%"=="0" goto mainEnd
:fail
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
rem the _cmd.exe /c_ return code!
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
exit /b 1
:mainEnd
if "%OS%"=="Windows_NT" endlocal
:omega
rootProject.name = 'java9Features'
package com.nisum.java9Features.DiamondOperator;
public class MyGenClass<T> {
T obj;
public MyGenClass(T obj)
{
this.obj = obj;
}
public T getObj()
{
return obj;
}
public void process()
{
System.out.println("Processing obj...");
}
}
package com.nisum.java9Features.DiamondOperator;
public class Test {
public static void main(String[] args) {
MyGenClass<String> c1 = new MyGenClass<String>("Durga") {
public void process() {
System.out.println("Processing... " + getObj());
}
};
c1.process();
MyGenClass<String> c2 = new MyGenClass<>("Pavan") {
public void process() {
System.out.println("Processing... " + getObj());
}
};
c2.process();
}
}
package com.nisum.java9Features.FactoryMethodsForUnmodifiableCollections;
public class Employee {
private int eno;
private String ename;
public Employee(int eno, String ename) {
this.eno = eno;
this.ename = ename;
}
@Override
public String toString() {
return String.format("%d=%s",eno,ename);
}
}
package com.nisum.java9Features.FactoryMethodsForUnmodifiableCollections;
import java.util.*;
public class UnmodifiableList {
public static void main(String[] args) {
Employee e1=new Employee(100,"sunny");
Employee e2=new Employee(101, "Bunny");
Employee e3=new Employee(102,"Chinny");
// Employee e4=null;
//List<Employee> emplist=List.of(e1,e2,e3,e4);
List<Employee> emplist=List.of(e1,e2,e3);
System.out.println(emplist);
Employee e5=new Employee(103,"Laddu");
//emplist.add(e5); // Unsupported Exception
}
}
package com.nisum.java9Features.FactoryMethodsForUnmodifiableCollections;
import java.sql.*;
import java.util.*;
import static java.util.Map.entry;
public class UnmodifiableMap {
public static void main(String[] args) {
Map<String,String> map=Map.of("A","Apple","B","Banana","C","Cat","D","Dog");
System.out.println(map);
/* Map<String,String> map1=Map.of("A","Apple","A","Banana","C","Cat","D","Dog");
System.out.println(map1); // IllegalArgumentException*/
/*Map<String,String> map2=Map.of("A",null,"B","Banana"); // NullPointerException
System.out.println(map2);*/
Map.Entry<String,String> e1= entry("A","Apple");
Map.Entry<String,String> e2= entry("B","Banana");
Map.Entry<String,String> e3= entry("C","Cat");
Map<String,String> m=Map.ofEntries(e1,e2,e3);
System.out.println(m);
/* Map<String,String> map3=Map.ofEntries(entry(null,"Apple"),entry("B","Banana")); // NullPointerException
System.out.println(map3);*/
/* Map<String,String> map4=Map.ofEntries(entry("A","Apple"),entry("B","Banana"));
map4.put("C","Cat"); // UnsupportedOperationException
map4.remove("A");//UnsupportedOperationException*/
}
}
package com.nisum.java9Features.FactoryMethodsForUnmodifiableCollections;
import java.util.*;
public class UnmodifiableSet {
public static void main(String[] args) {
Employee e1=new Employee(100,"sunny");
Employee e2=new Employee(101, "Bunny");
Employee e3=new Employee(102,"Chinny");
// Employee e4=null;
//List<Employee> emplist=List.of(e1,e2,e3,e4);
Set<Employee> emplist=Set.of(e1,e2,e3,e3);
System.out.println(emplist);
Employee e5=new Employee(103,"Laddu");
//emplist.add(e5); // Unsupported Exception
}
}
package com.nisum.java9Features.PrivateMethods;
public interface Java9Interf
{
default void m1()
{
m3();
}
default void m2()
{
m3();
}
private void m3()
{
System.out.println("common functionality of methods m1 & m2");
}
}
package com.nisum.java9Features.PrivateMethods;
public interface Java9InterfStatic {
public static void m1()
{
m3();
}
public static void m2()
{
m3();
}
private static void m3()
{
System.out.println("common functionality of methods m1 & m2");
}
}
package com.nisum.java9Features.PrivateMethods;
public class PrivateInstanceMethods implements Java9Interf
{
public static void main(String[] args) {
PrivateInstanceMethods t = new PrivateInstanceMethods();
t.m1();
t.m2();
//t.m3(); //CE
}
}
package com.nisum.java9Features.PrivateMethods;
public class PrivateStaticMethod implements Java9InterfStatic {
public static void main(String[] args)
{
Java9InterfStatic.m1();
Java9InterfStatic.m2();
}
}
package com.nisum.java9Features.ProcessAPI;
public class CurrentProcessInfo {
public static void main(String[] args) throws Exception {
ProcessHandle p = ProcessHandle.current();
ProcessHandle.Info info = p.info();
System.out.println("Complete Process Inforamtion:\n" + info);
System.out.println("User: " + info.user().get());
System.out.println("Command: " + info.command().get());
System.out.println("Start Time: " + info.startInstant().get());
System.out.println("Total CPU Time Acquired: " + info.totalCpuDuration().get());
}
}
package com.nisum.java9Features.ProcessAPI;
public class DestroyProcessFromProcessBuilder {
public static void main(String[] args) throws Exception {
ProcessBuilder pb = new ProcessBuilder("java", "sample");
Process p = pb.start();
System.out.println("Process Started with id:" + p.pid());
Thread.sleep(10000);
System.out.println("Destroying the process with id:" + p.pid());
p.destroy();
}
}
package com.nisum.java9Features.ProcessAPI;
public class NotepadFromProcessBuilder {
public static void main(String[] args) throws Exception {
new ProcessBuilder("notepad.exe", "sample.java").start();
}
}
package com.nisum.java9Features.ProcessAPI;
import java.util.*;
public class ProcessBasedOnID {
public static void main(String[] args) throws Exception {
//need to get the pid from task manager
Optional<ProcessHandle> opt = ProcessHandle.of(8408);
ProcessHandle p = opt.get();
ProcessHandle.Info info = p.info();
System.out.println("Complete Process Inforamtion:\n" + info);
System.out.println("User: " + info.user().get());
System.out.println("Command: " + info.command().get());
System.out.println("Start Time: " + info.startInstant().get());
System.out.println("Total CPU Time Acquired: " + info.totalCpuDuration().get());
}
}
package com.nisum.java9Features.ProcessAPI;
public class ProcessID {
public static void main(String[] args) throws Exception {
ProcessHandle p = ProcessHandle.current();
long pid = p.pid();
System.out.println("The PID of current running JVM instance :" + pid);
Thread.sleep(100000);
}
}
package com.nisum.java9Features.ReactiveStreams;
import java.util.*;
public class EmpHelper {
public static List<Employee> getEmps() {
Employee e1 = new Employee(1, "Pankaj");
Employee e2 = new Employee(2, "David");
Employee e3 = new Employee(3, "Lisa");
Employee e4 = new Employee(4, "Ram");
Employee e5 = new Employee(5, "Anupam");
List<Employee> emps = new ArrayList<>();
emps.add(e1);
emps.add(e2);
emps.add(e3);
emps.add(e4);
emps.add(e5);
return emps;
}
}
package com.nisum.java9Features.ReactiveStreams;
public class Employee {
private int id;
private String name;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Employee(int id, String name) {
this.id = id;
this.name = name;
}
public Employee() {
}
@Override
public String toString() {
return "Employee{" +
"id=" + id +
", name='" + name + '\'' +
'}';
}
}
package com.nisum.java9Features.ReactiveStreams;
import java.util.*;
import java.util.concurrent.*;
public class MyReactiveApp {
public static void main(String args[]) throws InterruptedException {
// Create Publisher
SubmissionPublisher<Employee> publisher = new SubmissionPublisher<>();
// Register Subscriber
MySubscriber subs = new MySubscriber();
publisher.subscribe(subs);
List<Employee> emps = EmpHelper.getEmps();
// Publish items
System.out.println("Publishing Items to Subscriber");
emps.stream().forEach(i -> publisher.submit(i));
// logic to wait till processing of all messages are over
while (emps.size() != subs.getCounter()) {
Thread.sleep(10);
}
// close the Publisher
publisher.close();
System.out.println("Exiting the app");
}
}
package com.nisum.java9Features.ReactiveStreams;
import java.util.concurrent.*;
import java.util.concurrent.Flow.Subscriber;
import java.util.concurrent.Flow.Subscription;
public class MySubscriber implements Subscriber<Employee> {
private Subscription subscription;
private int counter = 0;
@Override
public void onSubscribe(Subscription subscription) {
System.out.println("Subscribed");
this.subscription = subscription;
this.subscription.request(1); //requesting data from publisher
System.out.println("onSubscribe requested 1 item");
}
@Override
public void onNext(Employee item) {
System.out.println("Processing Employee " + item);
counter++;
this.subscription.request(1);
}
@Override
public void onError(Throwable e) {
System.out.println("Some error happened");
e.printStackTrace();
}
@Override
public void onComplete() {
System.out.println("All Processing Done");
}
public int getCounter() {
return counter;
}
}
package com.nisum.java9Features.StreamApi;
import java.util.*;
import java.util.stream.*;
public class TestDropWhile {
public static void main(String[] args) {
ArrayList<Integer> l1 = new ArrayList<Integer>();
l1.add(2);
l1.add(4);
l1.add(1);
l1.add(3);
l1.add(6);
l1.add(5);
l1.add(8);
System.out.println("Initial List:" + l1);
List<Integer> l2 = l1.stream().dropWhile(i -> i % 2 == 0).collect(Collectors.toList());
System.out.println("After dropWhile:" + l2);
}
}
package com.nisum.java9Features.StreamApi;
import java.util.stream.*;
public class TestIterate {
public static void main(String[] args) {
//Stream.iterate(1, x->x+1).forEach(System.out::println); // return infinite elements
Stream.iterate(1, x->x+1).limit(5).forEach(System.out::println);
System.out.println("3argument iterate");
Stream.iterate(1,x->x<10, x->x+1).forEach(System.out::println);
}
}
package com.nisum.java9Features.StreamApi;
import java.util.*;
import java.util.stream.*;
public class TestOfNullable {
public static void main(String[] args) {
List<String> l = new ArrayList<String>();
l.add("A");
l.add("B");
l.add(null);
l.add("C");
l.add("D");
l.add(null);
System.out.println(l);
List<String> l2 = l.stream().filter(o -> o != null).collect(Collectors.toList());
System.out.println(l2);
List<String> l3 = l.stream().flatMap(o -> Stream.ofNullable(o)).collect(Collectors.toList());
System.out.println(l3);
Map<String, String> m = new HashMap<>();
m.put("A", "Apple");
m.put("B", "Banana");
m.put("C", null);
m.put("D", "Dog");
m.put("E", null);
List<String> l4 = m.entrySet().stream().map(e -> e.getKey()).collect(Collectors.toList());
System.out.println(l4);
List<String> l5 = m.entrySet().stream().flatMap(e -> Stream.ofNullable(e.getValue())).collect(Collectors.toList());
System.out.println(l5);
}
}
package com.nisum.java9Features.StreamApi;
import java.util.*;
import java.util.stream.*;
public class TestTakeWhile {
public static void main(String[] args) {
ArrayList<Integer> l1 = new ArrayList<Integer>();
l1.add(2);
l1.add(4);
l1.add(1);
l1.add(3);
l1.add(6);
l1.add(5);
l1.add(8);
System.out.println("Initial List:" + l1);
List<Integer> l2 = l1.stream().filter(i -> i % 2 == 0).collect(Collectors.toList());
System.out.println("After Filtering:" + l2);
List<Integer> l3 = l1.stream().takeWhile(i -> i % 2 == 0).collect(Collectors.toList());
System.out.println("After takeWhile:" + l3);
}
}
package com.nisum.java9Features.TryWithResourcesEnhancements;
public class MyResources implements AutoCloseable {
MyResources()
{
System.out.println("Resource Creation...");
}
public void doProcess()
{
System.out.println("Resource Processing...");
}
public void close()
{
System.out.println("Resource Closing...");
}
}
package com.nisum.java9Features.TryWithResourcesEnhancements;
public class TryWithResourceApp {
public static void preJDK7()
{
MyResources r=null;
try
{
r=new MyResources();
r.doProcess();
}
catch (Exception e)
{
System.out.println("Handling:"+e);
}
finally
{
try
{
if (r!=null)
{
r.close();
}
}
catch (Exception e)
{
System.out.println("Handling:"+e);
}
}
}
public static void JDK7()
{
try(MyResources r=new MyResources())
{
r.doProcess();
}
catch(Exception e)
{
System.out.println("Handling:"+e);
}
}
public static void JDK9()
{
MyResources r= new MyResources();
try(r)
{
r.doProcess();
}
catch(Exception e)
{
System.out.println("Handling:"+e);
}
}
public static void multipleJDK9()
{
MyResources r1= new MyResources();
MyResources r2= new MyResources();
MyResources r3= new MyResources();
MyResources r4= new MyResources();
try(r1;r2;r3;r4)
{
r1.doProcess();
r2.doProcess();
r3.doProcess();
r4.doProcess();
}
catch(Exception e)
{
System.out.println("Handling:"+e);
}
}
public static void main(String[] args)
{
System.out.println("Program Execution With PreJDK7");
preJDK7();
System.out.println("Program Execution With JDK7");
JDK7();
System.out.println("Program Execution With JDK9");
JDK9();
System.out.println("Program Execution Multiple Resources With JDK9");
multipleJDK9();
}
}
package com.nisum.java9Features.http2;
import com.nisum.java9Features.DiamondOperator.*;
import java.net.*;
import java.net.http.*;
import java.util.*;
import java.util.concurrent.*;
public class TestAsync {
public static void main(String[] args) throws Exception {
String url = "https://www.redbus.in/info/aboutus";
sendGetAsyncRequest(url);
}
public static void sendGetAsyncRequest(String url) throws Exception {
HttpClient client = HttpClient.newHttpClient();
HttpRequest req = HttpRequest.newBuilder(new URI(url)).GET().build();
System.out.println("Sending Asynchronous Request...");
CompletableFuture<HttpResponse<String>> cf = client.sendAsync(req, HttpResponse.BodyHandlers.ofString());
int count = 0;
while (!cf.isDone()) {
System.out.println("Processing not done and doing other activity:" + ++count);
}
processResponse(cf.get());
}
public static void processResponse(HttpResponse resp) {
System.out.println("Status Code:" + resp.statusCode());
//System.out.println("Response Body:"+resp.body());
HttpHeaders header = resp.headers();
Map<String, List<String>> map = header.map();
System.out.println("Response Headers");
map.forEach((k, v) -> System.out.println("\t" + k + ":" + v));
}
}
package com.nisum.java9Features.http2;
import java.net.*;
import java.net.http.*;
import java.nio.file.*;
import java.util.*;
public class TestSync {
public static void main(String[] args) throws Exception {
String url = "https://www.redbus.in/info/aboutus";
sendGetSyncRequest(url);
}
public static void sendGetSyncRequest(String url) throws Exception {
HttpClient client = HttpClient.newHttpClient();
HttpRequest req = HttpRequest.newBuilder(new URI(url)).GET().build();
HttpResponse resp = client.send(req, HttpResponse.BodyHandlers.ofString());
// HttpResponse resp1=client.send(req,HttpResponse.BodyHandlers.ofFile(Paths.get("abc.html")) );
processResponse(resp);
}
public static void processResponse(HttpResponse resp) {
System.out.println("Status Code:" + resp.statusCode());
//System.out.println("Response Body:" + resp.body());
HttpHeaders header = resp.headers();
Map<String, List<String>> map = header.map();
System.out.println("Response Headers");
map.forEach((k, v) -> System.out.println("\t" + k + ":" + v));
}
}
\ No newline at end of file
module demoModule
{
requires jdk.incubator.httpclient;
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment