diff --git a/DEFAULT/.classpath b/DEFAULT/.classpath new file mode 100644 index 0000000..cb2aa0c --- /dev/null +++ b/DEFAULT/.classpath @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/DEFAULT/.project b/DEFAULT/.project new file mode 100644 index 0000000..1fea88b --- /dev/null +++ b/DEFAULT/.project @@ -0,0 +1,17 @@ + + + DEFAULT + + + + + + org.eclipse.jdt.core.javabuilder + + + + + + org.eclipse.jdt.core.javanature + + diff --git a/DEFAULT/.settings/org.eclipse.core.resources.prefs b/DEFAULT/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..4824b80 --- /dev/null +++ b/DEFAULT/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/DEFAULT/.settings/org.eclipse.jdt.core.prefs b/DEFAULT/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..d6b935f --- /dev/null +++ b/DEFAULT/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,14 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=18 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=18 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning +org.eclipse.jdt.core.compiler.release=enabled +org.eclipse.jdt.core.compiler.source=18 diff --git a/DEFAULT/bin/MAIN.class b/DEFAULT/bin/MAIN.class new file mode 100644 index 0000000..5e637ff Binary files /dev/null and b/DEFAULT/bin/MAIN.class differ diff --git a/DEFAULT/src/MAIN.java b/DEFAULT/src/MAIN.java new file mode 100644 index 0000000..3e2cbb6 --- /dev/null +++ b/DEFAULT/src/MAIN.java @@ -0,0 +1,28 @@ +import java.util.*; + +public class MAIN { + + public static void main(String[] args) { + // TODO Auto-generated method stub + + System.out.println("Hello Sandy"); + + String rev = "", str = "Sandy"; + + Scanner sr = new Scanner(System.in); + + char ch[] = str.toCharArray(); + + int x = ch.length; + + for(int i = x-1;i>=0;i--) { + rev = rev + ch[i]; + } + + System.out.println(rev); + + System.out.println("........."); + + } + +} diff --git a/README.md b/README.md deleted file mode 100644 index c8d1d96..0000000 --- a/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# Java-Stream - -this is such a great code please continue this thing - - -This is the code for the day................ - - -For now \ No newline at end of file diff --git a/fmd_wikpedia b/fmd_wikpedia deleted file mode 100644 index 84b3331..0000000 --- a/fmd_wikpedia +++ /dev/null @@ -1,11 +0,0 @@ - private boolean hasWikipediaEntry() - { - final String wikipediaLink = mMapObject.getMetadata(Metadata.MetadataType.FMD_WIKIPEDIA); - final String description = mMapObject.getDescription(); - return !TextUtils.isEmpty(wikipediaLink) || !TextUtils.isEmpty(description); - } - - private void updateWikipediaView() - { - updateViewFragment(PlacePageWikipediaFragment.class, WIKIPEDIA_FRAGMENT_TAG, R.id.place_page_wikipedia_fragment, hasWikipediaEntry()); - } diff --git a/javaNew b/javaNew deleted file mode 160000 index c8646d7..0000000 --- a/javaNew +++ /dev/null @@ -1 +0,0 @@ -Subproject commit c8646d7f6e4fd15de7cb89e135dd87da42850e47 diff --git a/organicmaps b/organicmaps deleted file mode 100644 index 5e1319d..0000000 --- a/organicmaps +++ /dev/null @@ -1,71 +0,0 @@ -public class Metadata implements Parcelable -{ - // Values must correspond to the Metadata definition from indexer/feature_meta.hpp. - public enum MetadataType - { - // Defined by classifier types now. - FMD_CUISINE(1), - FMD_OPEN_HOURS(2), - FMD_PHONE_NUMBER(3), - FMD_FAX_NUMBER(4), - FMD_STARS(5), - FMD_OPERATOR(6), - FMD_URL(7), - FMD_WEBSITE(8), - FMD_INTERNET(9), - FMD_ELE(10), - FMD_TURN_LANES(11), - FMD_TURN_LANES_FORWARD(12), - FMD_TURN_LANES_BACKWARD(13), - FMD_EMAIL(14), - FMD_POSTCODE(15), - // TODO: It is hacked in jni and returns full Wikipedia url. Should use separate getter instead. - FMD_WIKIPEDIA(16), - // TODO: Skipped now. - FMD_DESCRIPTION(17), - FMD_FLATS(18), - FMD_HEIGHT(19), - FMD_MIN_HEIGHT(20), - FMD_DENOMINATION(21), - FMD_BUILDING_LEVELS(22), - FWD_TEST_ID(23), - FMD_CUSTOM_IDS(24), - FMD_PRICE_RATES(25), - FMD_RATINGS(26), - FMD_EXTERNAL_URI(27), - FMD_LEVEL(28), - FMD_AIRPORT_IATA(29), - FMD_BRAND(30), - FMD_DURATION(31), - FMD_CONTACT_FACEBOOK(32), - FMD_CONTACT_INSTAGRAM(33), - FMD_CONTACT_TWITTER(34), - FMD_CONTACT_VK(35), - FMD_CONTACT_LINE(36), - FMD_DESTINATION(37), - FMD_DESTINATION_REF(38), - FMD_JUNCTION_REF(39), - FMD_BUILDING_MIN_LEVEL(40), - FMD_WIKIMEDIA_COMMONS(41); - private final int mMetaType; - - MetadataType(int metadataType) - { - mMetaType = metadataType; - } - - @NonNull - public static MetadataType fromInt(@IntRange(from = 1, to = 41) int metaType) - { - for (MetadataType type : values()) - if (type.mMetaType == metaType) - return type; - - throw new IllegalArgumentException("Illegal metaType: " + metaType); - } - - public int toInt() - { - return mMetaType; - } - }