Skip to content

Instantly share code, notes, and snippets.

View priyankahdp's full-sized avatar
💭
Everything changes, nothing remains without change

Priyanka Kulathilaka priyankahdp

💭
Everything changes, nothing remains without change
View GitHub Profile
@priyankahdp
priyankahdp / LinkedListDemo
Created January 23, 2013 17:12
LinkedListDemo for find the all prime numbers within the 0 and entered maximum number
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Scanner;
public class LinkedListDemo {
public static void main(String[] args) {
System.out.println("Primes : ");
@priyankahdp
priyankahdp / LinkedListDemo
Created January 23, 2013 17:12
LinkedListDemo for find the all prime numbers within the 0 and entered maximum number
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Scanner;
public class LinkedListDemo {
public static void main(String[] args) {
System.out.println("Primes : ");
@priyankahdp
priyankahdp / ContactController.java
Created October 24, 2012 02:20
JqPlot charts with Spring MVC on Maven
//Method Only
@SuppressWarnings("rawtypes")
@RequestMapping(value = "/cityGridView", method = RequestMethod.GET)
public @ResponseBody
Object[] showLineChart(Map<String, Object> map, HttpServletRequest request,
HttpServletResponse response) {
List<MapTable> list = contactService.fin();
Object[] rows = new Object[list.size()];
int i = 0;