Press Ctrl+V RIGHT NOW

Are you going to Scarborough Fair?
Parsley, sage, rosemary & thyme
Remember me to one who lives there
She once was a true love of mine

Tell her to make me a cambric shirt
(On the side of a hill in the deep forest green)
Parsely, sage, rosemary & thyme
(Tracing a sparrow on snow-crested ground)
Without no seams nor needlework
(Blankets and bedclothes a child of the mountains)
Then she'll be a true love of mine
(Sleeps unaware of the clarion call)

Tell her to find me an acre of land
(On the side of a hill, a sprinkling of leaves)
Parsely, sage, rosemary, & thyme
(Washed is the ground with so many tears)
Between the salt water and the sea strand
(A soldier cleans and polishes a gun)
Then she'll be a true love of mine

Tell her to reap it in a sickle of leather
(War bellows, blazing in scarlet battalions)
Parsely, sage, rosemary & thyme
(Generals order their soldiers to kill)
And to gather it all in a bunch of heather
(And to fight for a cause they've long ago forgotten)
Then she'll be a true love of mine

Are you going to Scarborough Fair?
Parsley, sage, rosemary & thyme
Remember me to one who lives there
She once was a true love of mine
 
http://www.marketwatch.com/news/story/omaha-gunman-counted-media/story.aspx?guid={86202F73-DD21-4E84-8C30-F7A880A2AD47}
 
Kitty Washcloth

Cast on 36 stitches
1-4: knit across
5: k3, p30, k3
6 knit across
7: k3, p8, k14, p8, k3
8: knit across
9: k3, p7, k16, p7, k3
10: knit across
11: k3, p7, k13, p1, k2, p7, k3
12: knit across
13: k3, p7, k12, p2, k2, p7, k3
14: knit across
15: k3, p7, k12, p2, k2, p7, k3
16: knit across
17: k3, p7, k12, p2, k2, p7, k3
18: knit across
19: k3, p7, k12, p2, k2, p7, k3
20: knit across
21: k3, p7, k12, p2, k2, p7, k3
22: knit across
23: k3, p7, k12, p2, k2, p7, k3
24: knit across
25: k3, p7, k12, p2, k2, p7, k3
26: knit across
27: k3, p7, k11, p3, k2, p7, k3
28: knit across
29: k3, p7, k10, p4, k2, p7, k3
30: knit across
31: k3, p7, k9, p5, k2, p7, k3
32: knit across
33: k3, p8, k7, p5, k3, p7, k3
34: knit across
35: k3, p9, k5, p6, k2, p8, k3
36: knit across
37: k3, p8, k7, p15, k3
38: knit across
39: k3, p7, k9, p14, k3
41: k3, p7, k9, p14, k3
43: k3, p7, k9, p14, k3
45: k3, p7, k9, p14, k3
47: k3, p7, k9, p14, k3
48: knit across
49: k3, p7, k3, p3, k3, p14, k3
50: knit across
51: k3, p7, k2, p5, k2, p14, k3
52: knit across
53: k3, p7, k1, p7, k1, p14, k3
54: knit across
55: k3, p30, k3
56: knit across
57: knit across
58: knit across
59: knit across
Bind off
 
Code:
public class DataStructure {
    //create an array
    private final static int SIZE = 15;
    private int[] arrayOfInts = new int[SIZE];
    
    public DataStructure() {
        //fill the array with ascending integer values
        for (int i = 0; i < SIZE; i++) {
            arrayOfInts[i] = i;
        }
    }
    
    public void printEven() {
        //print out even values of the array
        InnerEvenIterator iterator = this.new InnerEvenIterator();
        while (iterator.hasNext()) {
            System.out.println(iterator.getNext() + " ");
        }
    }
    
//inner class implements the Iterator pattern
    private class InnerEvenIterator {
        //start stepping through the array from the beginning
        private int next = 0;
        
        public boolean hasNext() {
            //check if a current element is the last in the array
            return (next <= SIZE);
        }
        
        public int getNext() {
            //record an even element of the array
            int retValue = arrayOfInts[next];
            //get the next even element
            next += 2;
            return retValue;
        }
    }
    
    public static void main(String s[]) {
        //fill the array with integer values and print out only even numbers
        DataStructure ds = new DataStructure();
        ds.printEven();
    }
}
 
Back
Top