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 retrofit2.Call; | |
import retrofit2.Callback; | |
import retrofit2.Response; | |
import retrofit2.Retrofit; | |
import retrofit2.converter.gson.GsonConverterFactory; | |
import retrofit2.http.GET; | |
import retrofit2.http.Query; | |
import java.util.List; |
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.company; | |
import java.util.regex.Matcher; | |
import java.util.regex.Pattern; | |
public class Main { | |
public static void main(String[] args) { | |
Main main = new 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
Animal = { name="undefined",sound="no sound" } | |
function Animal:new (newname, newsound) | |
local o = {name=newname,sound=newsound} | |
setmetatable(o, self) | |
self.__index = self | |
return o | |
end | |
function Animal:toString() |
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 br.com.rmxs.intercom.entity; | |
/** | |
* Created by rmxsantiago on 7/29/15. | |
*/ | |
public class Customer { | |
private long user_id; | |
private String name; | |
private double latitude; | |
private double longitude; |
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 br.com.rmxs.intercom; | |
import java.util.ArrayList; | |
import java.util.List; | |
public class FlattenArray { | |
public static void main(String[] args) { | |
/** Array to be flattened **/ | |
/*Object[] inputArray = new Object[]{ |
NewerOlder