This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.algorithm.sorthing; | |
import java.util.HashMap; | |
import java.util.Scanner; | |
//read file https://www.hackerrank.com/challenges/countingsort1 | |
public class CountingSort { | |
public static void main(String[] args) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.content.Context; | |
import android.database.Cursor; | |
import android.net.Uri; | |
import android.provider.MediaStore; | |
import android.support.v4.view.PagerAdapter; | |
import android.support.v4.view.ViewPager; | |
import android.view.View; | |
import android.view.ViewGroup; | |
import android.widget.ImageView; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--layout --> | |
<com.google.android.gms.ads.AdView | |
xmlns:ads="http://schemas.android.com/apk/res-auto" | |
android:id="@+id/adView" | |
android:visibility="gone" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_alignParentBottom="true" | |
ads:adSize="BANNER" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.DataInputStream; | |
import java.io.File; | |
import java.io.FileOutputStream; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.io.OutputStream; | |
import java.net.HttpURLConnection; | |
import java.net.URL; | |
public class Main { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class LimitedConsecutiveCharacter { | |
// http://java.dzone.com/articles/my-favorite-coding-interview | |
public static void main(String[] args) { | |
System.out.println(removeExtraCharacters("aaab", 2)); | |
System.out.println(removeExtraCharacters("aabb", 1)); | |
System.out.println(removeExtraCharacters("aabbaa", 1)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package examples; | |
/** | |
* Created by Gökhan on 11/14/2014. | |
*/ | |
public class ShiftCipher { | |
private int key; | |
public static final int ALPHABET_LEN = 26; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.zsoop; | |
import java.io.IOException; | |
import org.ksoap2.SoapEnvelope; | |
import org.ksoap2.SoapFault; | |
import org.ksoap2.serialization.SoapObject; | |
import org.ksoap2.serialization.SoapPrimitive; | |
import org.ksoap2.serialization.SoapSerializationEnvelope; | |
import org.ksoap2.transport.AndroidHttpTransport; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package enums; | |
public enum Font { | |
ALLER_BOLD(0), | |
ALLER_BOLD_ITALIC (1), | |
ALLER_ITALIC (2), | |
ALLER_LIGHT (3), | |
ALLER_NORMAL ( 4), | |
SEGOE_BOLD (5), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package view; | |
import utility.FontHelper; | |
import android.content.Context; | |
import android.content.res.TypedArray; | |
import android.graphics.Typeface; | |
import android.util.AttributeSet; | |
import android.widget.TextView; | |
import com.menulux.pos.R; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<resources> | |
<declare-styleable name="CustomFontTextView"> | |
<attr name="font" format="enum"> | |
<enum name="ALLER_BOLD" value="0" /> | |
<enum name="ALLER_BOLD_ITALIC" value="1" /> | |
<enum name="ALLER_ITALIC" value="2" /> | |
<enum name="ALLER_LIGHT" value="3" /> | |
<enum name="ALLER_NORMAL" value="4" /> |
OlderNewer