text:
package com.hp.autonomy.aci.content.fieldtext;

import org.junit.Test;

import java.math.BigDecimal;
import java.util.Arrays;
import java.util.Collections;

import static com.hp.autonomy.aci.content.fieldtext.BIASVAL.BIASVAL;
import static org.junit.Assert.assertEquals;

/**
 * Tests for the <TT>BIASVAL</tt> class.
 *
 * @author darrelln
 * @version $Revision$ $Date$
 */
public class BIASVALTest {

    @Test
    public void testStringStringNumber() {
        BIASVAL biasVal = new BIASVAL("ns:field", "VALUE", (byte)11);
        assertEquals("String, String, byte constructor", "BIASVAL{VALUE,11}:ns%3Afield", biasVal.toString());
        assertEquals("String, String, byte - getBias", 11.0, biasVal.getBias(), 0);
        assertEquals("String, String, byte - getMatchValue", "VALUE", biasVal.getMatchValue());
        assertEquals("String, String, byte - getFields", Collections.singletonList("ns:field"), biasVal.getFields());

        biasVal = new BIASVAL("ns:field", "VALUE", (short)11);
        assertEquals("String, String, short constructor", "BIASVAL{VALUE,11}:ns%3Afield", biasVal.toString());
        assertEquals("String, String, short - getBias", 11.0, biasVal.getBias(), 0);
        assertEquals("String, String, short - getMatchValue", "VALUE", biasVal.getMatchValue());
        assertEquals("String, String, short - getFields", Collections.singletonList("ns:field"), biasVal.getFields());

        biasVal = new BIASVAL("ns:field", "VALUE", 11);
        assertEquals("String, String, int constructor", "BIASVAL{VALUE,11}:ns%3Afield", biasVal.toString());
        assertEquals("String, String, int - getBias", 11.0, biasVal.getBias(), 0);
        assertEquals("String, String, int - getMatchValue", "VALUE", biasVal.getMatchValue());
        assertEquals("String, String, int - getFields", Collections.singletonList("ns:field"), biasVal.getFields());

        biasVal = new BIASVAL("ns:field", "VALUE", 11L);
        assertEquals("String, String, long constructor", "BIASVAL{VALUE,11}:ns%3Afield", biasVal.toString());
        assertEquals("String, String, long - getBias", 11.0, biasVal.getBias(), 0);
        assertEquals("String, String, long - getMatchValue", "VALUE", biasVal.getMatchValue());
        assertEquals("String, String, long - getFields", Collections.singletonList("ns:field"), biasVal.getFields());

        biasVal = new BIASVAL("ns:field", "VALUE", -12.1f);
        assertEquals("String, String, float constructor", "BIASVAL{VALUE,-12.1}:ns%3Afield", biasVal.toString());
        assertEquals("String, String, float - getBias", -12.1, biasVal.getBias(), 0);
        assertEquals("String, String, float - getMatchValue", "VALUE", biasVal.getMatchValue());
        assertEquals("String, String, float - getFields", Collections.singletonList("ns:field"), biasVal.getFields());

        biasVal = new BIASVAL("ns:field", "VALUE", -12.1);
        assertEquals("String, String, double constructor", "BIASVAL{VALUE,-12.1}:ns%3Afield", biasVal.toString());
        assertEquals("String, String, double - getBias", -12.1, biasVal.getBias(), 0);
        assertEquals("String, String, double - getMatchValue", "VALUE", biasVal.getMatchValue());
        assertEquals("String, String, double - getFields", Collections.singletonList("ns:field"), biasVal.getFields());

        biasVal = new BIASVAL("ns:field", "VALUE", new Byte((byte)11));
        assertEquals("String, String, Byte constructor", "BIASVAL{VALUE,11}:ns%3Afield", biasVal.toString());
        assertEquals("String, String, Byte - getBias", 11.0, biasVal.getBias(), 0);
        assertEquals("String, String, Byte - getMatchValue", "VALUE", biasVal.getMatchValue());
        assertEquals("String, String, Byte - getFields", Collections.singletonList("ns:field"), biasVal.getFields());

        biasVal = new BIASVAL("ns:field", "VALUE", new Short((short)11));
        assertEquals("String, String, Short constructor", "BIASVAL{VALUE,11}:ns%3Afield", biasVal.toString());
        assertEquals("String, String, Short - getBias", 11.0, biasVal.getBias(), 0);
        assertEquals("String, String, Short - getMatchValue", "VALUE", biasVal.getMatchValue());
        assertEquals("String, String, Short - getFields", Collections.singletonList("ns:field"), biasVal.getFields());

        biasVal = new BIASVAL("ns:field", "VALUE", new Integer(11));
        assertEquals("String, String, Integer constructor", "BIASVAL{VALUE,11}:ns%3Afield", biasVal.toString());
        assertEquals("String, String, Integer - getBias", 11.0, biasVal.getBias(), 0);
        assertEquals("String, String, Integer - getMatchValue", "VALUE", biasVal.getMatchValue());
        assertEquals("String, String, Integer - getFields", Collections.singletonList("ns:field"), biasVal.getFields());

        biasVal = new BIASVAL("ns:field", "VALUE", new Long(11L));
        assertEquals("String, String, Long constructor", "BIASVAL{VALUE,11}:ns%3Afield", biasVal.toString());
        assertEquals("String, String, Long - getBias", 11.0, biasVal.getBias(), 0);
        assertEquals("String, String, Long - getMatchValue", "VALUE", biasVal.getMatchValue());
        assertEquals("String, String, Long - getFields", Collections.singletonList("ns:field"), biasVal.getFields());

        biasVal = new BIASVAL("ns:field", "VALUE", new Float(-12.1f));
        assertEquals("String, String, Float constructor", "BIASVAL{VALUE,-12.1}:ns%3Afield", biasVal.toString());
        assertEquals("String, String, Float - getBias", -12.1, biasVal.getBias(), 0);
        assertEquals("String, String, Float - getMatchValue", "VALUE", biasVal.getMatchValue());
        assertEquals("String, String, Float - getFields", Collections.singletonList("ns:field"), biasVal.getFields());

        biasVal = new BIASVAL("ns:field", "VALUE", new Double(-12.1));
        assertEquals("String, String, Double constructor", "BIASVAL{VALUE,-12.1}:ns%3Afield", biasVal.toString());
        assertEquals("String, String, Double - getBias", -12.1, biasVal.getBias(), 0);
        assertEquals("String, String, Double - getMatchValue", "VALUE", biasVal.getMatchValue());
        assertEquals("String, String, Double - getFields", Collections.singletonList("ns:field"), biasVal.getFields());

        biasVal = new BIASVAL("ns:field", "VALUE", new BigDecimal("-12.1"));
        assertEquals("String, String, BigDecimal constructor", "BIASVAL{VALUE,-12.1}:ns%3Afield", biasVal.toString());
        assertEquals("String, String, BigDecimal - getBias", -12.1, biasVal.getBias(), 0);
        assertEquals("String, String, BigDecimal - getMatchValue", "VALUE", biasVal.getMatchValue());
        assertEquals("String, String, BigDecimal - getFields", Collections.singletonList("ns:field"), biasVal.getFields());
    }

    @Test(expected = IllegalArgumentException.class)
    public void testStringStringNumberNullFieldsException() {
        new BIASVAL((String)null, "VALUE", 11);
    }

    @Test(expected = IllegalArgumentException.class)
    public void testStringStringNumberNullValueException() {
        new BIASVAL("ns:field", null, (byte)11);
    }

    @Test(expected = IllegalArgumentException.class)
    public void testStringStringNumberNullBiasException() {
        new BIASVAL("ns:field", "VALUE", null);
    }

    @Test
    public void testArrayStringNumber() {
        BIASVAL biasVal = new BIASVAL(new String[]{"FIELD1", "FIELD2", "ns:field"}, "VALUE", (byte)11);
        assertEquals("String[], String, byte constructor", "BIASVAL{VALUE,11}:FIELD1:FIELD2:ns%3Afield", biasVal.toString());
        assertEquals("String[], String, byte - getBias", 11.0, biasVal.getBias(), 0);
        assertEquals("String[], String, byte - getMatchValue", "VALUE", biasVal.getMatchValue());
        assertEquals("String[], String, byte - getFields", Arrays.asList("FIELD1", "FIELD2", "ns:field"), biasVal.getFields());

        biasVal = new BIASVAL(new String[]{"FIELD1", "FIELD2", "ns:field"}, "VALUE", (short)11);
        assertEquals("String[], String, short constructor", "BIASVAL{VALUE,11}:FIELD1:FIELD2:ns%3Afield", biasVal.toString());
        assertEquals("String[], String, short - getBias", 11.0, biasVal.getBias(), 0);
        assertEquals("String[], String, short - getMatchValue", "VALUE", biasVal.getMatchValue());
        assertEquals("String[], String, short - getFields", Arrays.asList("FIELD1", "FIELD2", "ns:field"), biasVal.getFields());

        biasVal = new BIASVAL(new String[]{"FIELD1", "FIELD2", "ns:field"}, "VALUE", 11);
        assertEquals("String[], String, int constructor", "BIASVAL{VALUE,11}:FIELD1:FIELD2:ns%3Afield", biasVal.toString());
        assertEquals("String[], String, int - getBias", 11.0, biasVal.getBias(), 0);
        assertEquals("String[], String, int - getMatchValue", "VALUE", biasVal.getMatchValue());
        assertEquals("String[], String, int - getFields", Arrays.asList("FIELD1", "FIELD2", "ns:field"), biasVal.getFields());

        biasVal = new BIASVAL(new String[]{"FIELD1", "FIELD2", "ns:field"}, "VALUE", 11L);
        assertEquals("String[], String, long constructor", "BIASVAL{VALUE,11}:FIELD1:FIELD2:ns%3Afield", biasVal.toString());
        assertEquals("String[], String, long - getBias", 11.0, biasVal.getBias(), 0);
        assertEquals("String[], String, long - getMatchValue", "VALUE", biasVal.getMatchValue());
        assertEquals("String[], String, long - getFields", Arrays.asList("FIELD1", "FIELD2", "ns:field"), biasVal.getFields());

        biasVal = new BIASVAL(new String[]{"FIELD1", "FIELD2", "ns:field"}, "VALUE", -12.1f);
        assertEquals("String[], String, float constructor", "BIASVAL{VALUE,-12.1}:FIELD1:FIELD2:ns%3Afield", biasVal.toString());
        assertEquals("String[], String, float - getBias", -12.1, biasVal.getBias(), 0);
        assertEquals("String[], String, float - getMatchValue", "VALUE", biasVal.getMatchValue());
        assertEquals("String[], String, float - getFields", Arrays.asList("FIELD1", "FIELD2", "ns:field"), biasVal.getFields());

        biasVal = new BIASVAL(new String[]{"FIELD1", "FIELD2", "ns:field"}, "VALUE", -12.1);
        assertEquals("String[], String, double constructor", "BIASVAL{VALUE,-12.1}:FIELD1:FIELD2:ns%3Afield", biasVal.toString());
        assertEquals("String[], String, double - getBias", -12.1, biasVal.getBias(), 0);
        assertEquals("String[], String, double - getMatchValue", "VALUE", biasVal.getMatchValue());
        assertEquals("String[], String, double - getFields", Arrays.asList("FIELD1", "FIELD2", "ns:field"), biasVal.getFields());

        biasVal = new BIASVAL(new String[]{"FIELD1", "FIELD2", "ns:field"}, "VALUE", new Byte((byte)11));
        assertEquals("String[], String, Byte constructor", "BIASVAL{VALUE,11}:FIELD1:FIELD2:ns%3Afield", biasVal.toString());
        assertEquals("String[], String, Byte - getBias", 11.0, biasVal.getBias(), 0);
        assertEquals("String[], String, Byte - getMatchValue", "VALUE", biasVal.getMatchValue());
        assertEquals("String[], String, Byte - getFields", Arrays.asList("FIELD1", "FIELD2", "ns:field"), biasVal.getFields());

        biasVal = new BIASVAL(new String[]{"FIELD1", "FIELD2", "ns:field"}, "VALUE", new Short((short)11));
        assertEquals("String[], String, Short constructor", "BIASVAL{VALUE,11}:FIELD1:FIELD2:ns%3Afield", biasVal.toString());
        assertEquals("String[], String, Short - getBias", 11.0, biasVal.getBias(), 0);
        assertEquals("String[], String, Short - getMatchValue", "VALUE", biasVal.getMatchValue());
        assertEquals("String[], String, Short - getFields", Arrays.asList("FIELD1", "FIELD2", "ns:field"), biasVal.getFields());

        biasVal = new BIASVAL(new String[]{"FIELD1", "FIELD2", "ns:field"}, "VALUE", new Integer(11));
        assertEquals("String[], String, Integer constructor", "BIASVAL{VALUE,11}:FIELD1:FIELD2:ns%3Afield", biasVal.toString());
        assertEquals("String[], String, Integer - getBias", 11.0, biasVal.getBias(), 0);
        assertEquals("String[], String, Integer - getMatchValue", "VALUE", biasVal.getMatchValue());
        assertEquals("String[], String, Integer - getFields", Arrays.asList("FIELD1", "FIELD2", "ns:field"), biasVal.getFields());

        biasVal = new BIASVAL(new String[]{"FIELD1", "FIELD2", "ns:field"}, "VALUE", new Long(11L));
        assertEquals("String[], String, Long constructor", "BIASVAL{VALUE,11}:FIELD1:FIELD2:ns%3Afield", biasVal.toString());
        assertEquals("String[], String, Long - getBias", 11.0, biasVal.getBias(), 0);
        assertEquals("String[], String, Long - getMatchValue", "VALUE", biasVal.getMatchValue());
        assertEquals("String[], String, Long - getFields", Arrays.asList("FIELD1", "FIELD2", "ns:field"), biasVal.getFields());

        biasVal = new BIASVAL(new String[]{"FIELD1", "FIELD2", "ns:field"}, "VALUE", new Float(-12.1f));
        assertEquals("String[], String, Float constructor", "BIASVAL{VALUE,-12.1}:FIELD1:FIELD2:ns%3Afield", biasVal.toString());
        assertEquals("String[], String, Float - getBias", -12.1, biasVal.getBias(), 0);
        assertEquals("String[], String, Float - getMatchValue", "VALUE", biasVal.getMatchValue());
        assertEquals("String[], String, Float - getFields", Arrays.asList("FIELD1", "FIELD2", "ns:field"), biasVal.getFields());

        biasVal = new BIASVAL(new String[]{"FIELD1", "FIELD2", "ns:field"}, "VALUE", new Double(-12.1));
        assertEquals("String[], String, Double constructor", "BIASVAL{VALUE,-12.1}:FIELD1:FIELD2:ns%3Afield", biasVal.toString());
        assertEquals("String[], String, Double - getBias", -12.1, biasVal.getBias(), 0);
        assertEquals("String[], String, Double - getMatchValue", "VALUE", biasVal.getMatchValue());
        assertEquals("String[], String, Double - getFields", Arrays.asList("FIELD1", "FIELD2", "ns:field"), biasVal.getFields());

        biasVal = new BIASVAL(new String[]{"FIELD1", "FIELD2", "ns:field"}, "VALUE", new BigDecimal("-12.1"));
        assertEquals("String[], String, BigDecimal constructor", "BIASVAL{VALUE,-12.1}:FIELD1:FIELD2:ns%3Afield", biasVal.toString());
        assertEquals("String[], String, BigDecimal - getBias", -12.1, biasVal.getBias(), 0);
        assertEquals("String[], String, BigDecimal - getMatchValue", "VALUE", biasVal.getMatchValue());
        assertEquals("String[], String, BigDecimal - getFields", Arrays.asList("FIELD1", "FIELD2", "ns:field"), biasVal.getFields());
    }

    @Test(expected = RuntimeException.class)
    public void testArrayStringNumberNullFieldsException() {
        new BIASVAL((String[])null, "VALUE", 11);
    }

    @Test(expected = IllegalArgumentException.class)
    public void testArrayStringNumberNullValueException() {
        new BIASVAL(new String[]{"FIELD1", "FIELD2", "ns:field"}, null, (byte)11);
    }

    @Test(expected = IllegalArgumentException.class)
    public void testArrayStringNumberNullBiasExceptionException() {
        new BIASVAL(new String[]{"FIELD1", "FIELD2", "ns:field"}, "VALUE", null);
    }

    @Test
    public void testIterableStringNumber() {
        BIASVAL biasVal = new BIASVAL(Arrays.asList("FIELD1", "FIELD2", "ns:field"), "VALUE", (byte)11);
        assertEquals("Iterable<String>, String, byte constructor", "BIASVAL{VALUE,11}:FIELD1:FIELD2:ns%3Afield", biasVal.toString());
        assertEquals("Iterable<String>, String, byte - getBias", 11.0, biasVal.getBias(), 0);
        assertEquals("Iterable<String>, String, byte - getMatchValue", "VALUE", biasVal.getMatchValue());
        assertEquals("Iterable<String>, String, byte - getFields", Arrays.asList("FIELD1", "FIELD2", "ns:field"), biasVal.getFields());

        biasVal = new BIASVAL(Arrays.asList("FIELD1", "FIELD2", "ns:field"), "VALUE", (short)11);
        assertEquals("Iterable<String>, String, short constructor", "BIASVAL{VALUE,11}:FIELD1:FIELD2:ns%3Afield", biasVal.toString());
        assertEquals("Iterable<String>, String, short - getBias", 11.0, biasVal.getBias(), 0);
        assertEquals("Iterable<String>, String, short - getMatchValue", "VALUE", biasVal.getMatchValue());
        assertEquals("Iterable<String>, String, short - getFields", Arrays.asList("FIELD1", "FIELD2", "ns:field"), biasVal.getFields());

        biasVal = new BIASVAL(Arrays.asList("FIELD1", "FIELD2", "ns:field"), "VALUE", 11);
        assertEquals("Iterable<String>, String, int constructor", "BIASVAL{VALUE,11}:FIELD1:FIELD2:ns%3Afield", biasVal.toString());
        assertEquals("Iterable<String>, String, int - getBias", 11.0, biasVal.getBias(), 0);
        assertEquals("Iterable<String>, String, int - getMatchValue", "VALUE", biasVal.getMatchValue());
        assertEquals("Iterable<String>, String, int - getFields", Arrays.asList("FIELD1", "FIELD2", "ns:field"), biasVal.getFields());

        biasVal = new BIASVAL(Arrays.asList("FIELD1", "FIELD2", "ns:field"), "VALUE", 11L);
        assertEquals("Iterable<String>, String, long constructor", "BIASVAL{VALUE,11}:FIELD1:FIELD2:ns%3Afield", biasVal.toString());
        assertEquals("Iterable<String>, String, long - getBias", 11.0, biasVal.getBias(), 0);
        assertEquals("Iterable<String>, String, long - getMatchValue", "VALUE", biasVal.getMatchValue());
        assertEquals("Iterable<String>, String, long - getFields", Arrays.asList("FIELD1", "FIELD2", "ns:field"), biasVal.getFields());

        biasVal = new BIASVAL(Arrays.asList("FIELD1", "FIELD2", "ns:field"), "VALUE", -12.1f);
        assertEquals("Iterable<String>, String, float constructor", "BIASVAL{VALUE,-12.1}:FIELD1:FIELD2:ns%3Afield", biasVal.toString());
        assertEquals("Iterable<String>, String, float - getBias", -12.1, biasVal.getBias(), 0);
        assertEquals("Iterable<String>, String, float - getMatchValue", "VALUE", biasVal.getMatchValue());
        assertEquals("Iterable<String>, String, float - getFields", Arrays.asList("FIELD1", "FIELD2", "ns:field"), biasVal.getFields());

        biasVal = new BIASVAL(Arrays.asList("FIELD1", "FIELD2", "ns:field"), "VALUE", -12.1);
        assertEquals("Iterable<String>, String, double constructor", "BIASVAL{VALUE,-12.1}:FIELD1:FIELD2:ns%3Afield", biasVal.toString());
        assertEquals("Iterable<String>, String, double - getBias", -12.1, biasVal.getBias(), 0);
        assertEquals("Iterable<String>, String, double - getMatchValue", "VALUE", biasVal.getMatchValue());
        assertEquals("Iterable<String>, String, double - getFields", Arrays.asList("FIELD1", "FIELD2", "ns:field"), biasVal.getFields());

        biasVal = new BIASVAL(Arrays.asList("FIELD1", "FIELD2", "ns:field"), "VALUE", new Byte((byte)11));
        assertEquals("Iterable<String>, String, Byte constructor", "BIASVAL{VALUE,11}:FIELD1:FIELD2:ns%3Afield", biasVal.toString());
        assertEquals("Iterable<String>, String, Byte - getBias", 11.0, biasVal.getBias(), 0);
        assertEquals("Iterable<String>, String, Byte - getMatchValue", "VALUE", biasVal.getMatchValue());
        assertEquals("Iterable<String>, String, Byte - getFields", Arrays.asList("FIELD1", "FIELD2", "ns:field"), biasVal.getFields());

        biasVal = new BIASVAL(Arrays.asList("FIELD1", "FIELD2", "ns:field"), "VALUE", new Short((short)11));
        assertEquals("Iterable<String>, String, Short constructor", "BIASVAL{VALUE,11}:FIELD1:FIELD2:ns%3Afield", biasVal.toString());
        assertEquals("Iterable<String>, String, Short - getBias", 11.0, biasVal.getBias(), 0);
        assertEquals("Iterable<String>, String, Short - getMatchValue", "VALUE", biasVal.getMatchValue());
        assertEquals("Iterable<String>, String, Short - getFields", Arrays.asList("FIELD1", "FIELD2", "ns:field"), biasVal.getFields());

        biasVal = new BIASVAL(Arrays.asList("FIELD1", "FIELD2", "ns:field"), "VALUE", new Integer(11));
        assertEquals("Iterable<String>, String, Integer constructor", "BIASVAL{VALUE,11}:FIELD1:FIELD2:ns%3Afield", biasVal.toString());
        assertEquals("Iterable<String>, String, Integer - getBias", 11.0, biasVal.getBias(), 0);
        assertEquals("Iterable<String>, String, Integer - getMatchValue", "VALUE", biasVal.getMatchValue());
        assertEquals("Iterable<String>, String, Integer - getFields", Arrays.asList("FIELD1", "FIELD2", "ns:field"), biasVal.getFields());

        biasVal = new BIASVAL(Arrays.asList("FIELD1", "FIELD2", "ns:field"), "VALUE", new Long(11L));
        assertEquals("Iterable<String>, String, Long constructor", "BIASVAL{VALUE,11}:FIELD1:FIELD2:ns%3Afield", biasVal.toString());
        assertEquals("Iterable<String>, String, Long - getBias", 11.0, biasVal.getBias(), 0);
        assertEquals("Iterable<String>, String, Long - getMatchValue", "VALUE", biasVal.getMatchValue());
        assertEquals("Iterable<String>, String, Long - getFields", Arrays.asList("FIELD1", "FIELD2", "ns:field"), biasVal.getFields());

        biasVal = new BIASVAL(Arrays.asList("FIELD1", "FIELD2", "ns:field"), "VALUE", new Float(-12.1f));
        assertEquals("Iterable<String>, String, Float constructor", "BIASVAL{VALUE,-12.1}:FIELD1:FIELD2:ns%3Afield", biasVal.toString());
        assertEquals("Iterable<String>, String, Float - getBias", -12.1, biasVal.getBias(), 0);
        assertEquals("Iterable<String>, String, Float - getMatchValue", "VALUE", biasVal.getMatchValue());
        assertEquals("Iterable<String>, String, Float - getFields", Arrays.asList("FIELD1", "FIELD2", "ns:field"), biasVal.getFields());

        biasVal = new BIASVAL(Arrays.asList("FIELD1", "FIELD2", "ns:field"), "VALUE", new Double(-12.1));
        assertEquals("Iterable<String>, String, Double constructor", "BIASVAL{VALUE,-12.1}:FIELD1:FIELD2:ns%3Afield", biasVal.toString());
        assertEquals("Iterable<String>, String, Double - getBias", -12.1, biasVal.getBias(), 0);
        assertEquals("Iterable<String>, String, Double - getMatchValue", "VALUE", biasVal.getMatchValue());
        assertEquals("Iterable<String>, String, Double - getFields", Arrays.asList("FIELD1", "FIELD2", "ns:field"), biasVal.getFields());

        biasVal = new BIASVAL(Arrays.asList("FIELD1", "FIELD2", "ns:field"), "VALUE", new BigDecimal("-12.1"));
        assertEquals("Iterable<String>, String, BigDecimal constructor", "BIASVAL{VALUE,-12.1}:FIELD1:FIELD2:ns%3Afield", biasVal.toString());
        assertEquals("Iterable<String>, String, BigDecimal - getBias", -12.1, biasVal.getBias(), 0);
        assertEquals("Iterable<String>, String, BigDecimal - getMatchValue", "VALUE", biasVal.getMatchValue());
        assertEquals("Iterable<String>, String, BigDecimal - getFields", Arrays.asList("FIELD1", "FIELD2", "ns:field"), biasVal.getFields());
    }

    @Test(expected = IllegalArgumentException.class)
    public void testIterableStringNumberNullFieldsException() {
        new BIASVAL((Iterable<String>)null, "VALUE", 11);
    }

    @Test(expected = IllegalArgumentException.class)
    public void testIterableStringNumberNullValueException() {
        new BIASVAL(Arrays.asList("FIELD1", "FIELD2", "ns:field"), null, (byte)11);
    }

    @Test(expected = IllegalArgumentException.class)
    public void testIterableStringNumberNullBiasException() {
        new BIASVAL(Arrays.asList("FIELD1", "FIELD2", "ns:field"), "VALUE", null);
    }

    @Test
    public void testFactoryMethods() {
        assertEquals("BIASVAL{VALUE,2}:field", BIASVAL("field", "VALUE", 2).toString());
        assertEquals("BIASVAL{VALUE,2}:field:title", BIASVAL(new String[]{"field", "title"}, "VALUE", 2).toString());
        assertEquals("BIASVAL{VALUE,2}:field:title", BIASVAL(Arrays.asList("field", "title"), "VALUE", 2).toString());
    }
}

redpajama_set_name: RedPajamaGithub


text:
Valaliky jsou obec na Slovensku v okrese Košice-okolí. Je druhou největší obcí v tomto okrese, co se počtu obyvatel týče. Žije zde  obyvatel, nadmořská výška obce je 185 metrů.

Obec v této velikosti vznikla v roce 1961 administrativním spojením částí Buzice, Bernátovce, Všechsvätých a Košťany. Původní část obce Košťany dala po roce 2000 vzniknout partnerství stejnojmenných obcí v Čechách i na Slovensku.

Partnerské obce a města
 Košťany nad Turcom - obec na Slovensku
 Košťany - město v Ústeckém kraji

Reference

Externí odkazy

Obce v okrese Košice-okolí
Obce v Košickém regionu

redpajama_set_name: RedPajamaWikipedia


Landmark Credit Union also offers FREE Home Banking and Bill Pay services through the link on our home page.
All you need to do is call and request the service, we do what needs to be done on the account side then you walk through the process and set your own user ID and password.
In this process, your password remains confidential and not even credit union employees have access to that information. Safe and secure home banking 24 x 7 and convenient bill pay services all for no charge to you!
Our 24 hour Audio Voice Response system allows you access to your account with just a phone call from anywhere in the continental United States.
You have the ability to check your balances, checks cleared, transfer between accounts, make loan payments and withdraw by check with just a few touches on your touch tone phone.
Toll free inside the US is 1-800-544-0937.
If your account does not have access to our audio system, call us today. Select your own PIN number and your account information will be at your finger tips 24 hours a day.
There is a fee of $10.00 per year for use of the system.


text:
Open 363 days a year. Where Seattle Eats, Meets, Shops & Rejuvenates!
Home › About Pike Place Market
Market Programs
The Pike Place Market has been a defining Seattle icon for more than a century. Considered by many "the soul of Seattle," the Market spans nine historic acres in the center of downtown where everyday locals and tourists alike shop, visit, eat and discover.
Founded in 1907, the Market is one of the oldest and largest continuously operating public markets in the United States and is brought to life by the hundreds of farmers, crafters, small businesses, and residents that call it "home".
While the Market is grounded by its incredible collection of diverse businesses, activities, and services, it simply would not exist without the passion and support from the citizens of Seattle. From humble beginnings to nearly being destroyed – Seattle's citizens have brought their hearts to the "soul of Seattle". Learn more in our recently released free digital book. Inside: Pike Place Market.
Who Operates Pike Place Market?
Charter of Pike Place Market PDA
Pike Place Market Council
Pike Place Market is operated by the Pike Place Market Preservation & Development Authority (PDA). In 1971, Seattle citizens voted to create a Pike Place Market Historic District and the Market Historical Commission to preserve the Market's physical and unique social character.
As a result of the public vote, in 1973 the City of Seattle created by charter the Pike Place Market PDA, a not-for-profit organization, to own and manage the day-to-day operations of the Market.
The charter requires the Pike Place Market PDA to preserve, rehabilitate, and protect the Market's buildings; increase farm and food retailing opportunities, incubate and support small and marginal businesses; and provide services for low-income people. These efforts ensure the Market is safeguarded for future generations.
The Pike Place Market PDA is overseen by a twelve-member council alongside the historical commission, which continues to provide guidelines and regulatory oversight of the buildings and activities within the historic district.
Explore Our Businesses
Pike Place Market is Seattle's original and largest incubator of small, independent businesses.
In addition, the Market is a vibrant and thriving historic neighborhood that includes five social service programs, 220+ independently owned shops & restaurants, 150+ craftspeople, 70+ farmers, 60+ permitted buskers, 450+ residents in the Market's affordable housing, and one foundation. Learn more about the Market community by tapping or clicking the buttons below.
Market Foundation
Be part of history and join the wonderful community at Pike Place Market! The Market is a vibrant and diverse place to live and work.
Tap or click the button below to learn how to lease a commercial space, become a craftsperson or farmer, become a Market resident, and more!
Market Trademarks and Licensing
The Pike Place Market PDA owns trademark rights to the Pike Place Market name (and associated names), the Public Market Center clock and sign image, and other iconic Market imagery.
The Pike Place Market PDA is committed to protecting the use of Pike Place Market trademarks. Use of the PDA's trademark on any products or to promote products or businesses is expressly prohibited unless the Pike Place Market PDA Council has approved a licensing agreement. All commercial filming or photography taken in the Market requires a filming permit obtained in advance. A City of Seattle filming permit does not grant you access to film in the nine acres of the Market.
Learn more about our past and present by scrolling through the timeline below.
The PDA launches a FREE digital book sharing stories from the Market's rich history. Learn more
The Seattle City Council passes Council Member Thomas Revelle's ordinance to create a public farmers market on Pike Place.
Six to 12 farmers bring their produce-filled wagons to Pike Place on opening day. They sell out by lunchtime.
Seattle City Councilman Thomas Revelle dedicates the Market to the people of Seattle after Frank Goodwin completes construction of the first building.
Athenian Inn opens, with three Greek brothers as the owners.
Stalls are added thanks to a $10,000 contribution from the City of Seattle. The Sanitary Market building opens as well.
The Seattle City Council creates the jobs of Market Inspector (later changed to Market Master), Assistant Market Inspector, and Janitor.
The Corner Market building opens, with Three Girls Bakery as one of the shops.
The first of many proposals to create a new look to super-size the Market is rejected by Seattle voters.
The City of Seattle creates City Fish to counter the high price of fish.
With construction complete, the configuration of the Market looks much like it does today. A branch of the Seattle Public Library opens on the lower floor.
Arthur Goodwin takes over as manager of the Market from his uncle Frank.
Arthur Goodwin's book, "Markets: Public and Private" is published, which becomes a textbook for the creation of other markets.
Delivery man Peter DeLaurenti marries Mamie-Marie Mustelo, who works for her mother's grocery. In 1946 they purchase the grocery and create DeLaurenti.
Farmer Giuseppe "Joe" Desimone owns more than half the shares in the Pike Place Public Market Company, making him the major decision maker.
Dance Hall operates in the Economy Market Building. During the Depression, the Market was a central community gathering place as well as a major food center.
Our iconic Public Market Clock Sign is installed.
Artist Mark Tobey begins a years-long chronicle of the Market in sketches and paintings.
The Sanitary Market building burns just days after the bombing of Pearl Harbor.
In April, the Market loses the majority of its farmers due to the internment of Japanese Americans during World War II.
Engineer Harlan Edwards, husband of Seattle City Council member Myrtle Edwards, proposes development in the Market that includes a 1,500-car parking garage.
Pike Plaza Project proposed to rejuvenate the Market (urban renewal). Skyscrapers would replace most Market buildings. The plan is backed by the mayor.
Friends of the Market, led by architect and civic activist Victor Steinbrueck, forms to oppose plans to redevelop the Market.
Art Stall Gallery, a cooperative owned by a dozen women, opens.
Friends of the Market gathers 53,000 voter signatures to save the Market from the wrecking ball.
1.5 acres in Pike Place Market are listed on the National Register of Historic Places. A larger area is added to the historic district listing in 1972.
The first Starbucks opens on March 30 at Pike Place and Virginia Street.
Seattle voters approve Initiative 1 to "Keep the Market" from the wrecking ball.
Oriental Mart opens. It is still owned by the original family, the Apostols.
The Pike Place Market Preservation and Development Authority (PDA) is created by the City of Seattle to act as public trustee of the Market.
The Market is renovated. $135 million is spent on renovation ($60 million in federal funds, $75 in private investment).
Alm Hill Gardens Farm starts selling on Market farm tables; today they have the distinction of being the farmer with the most seniority.
Pike Market Senior Center starts in location of a former biker bar.
A park honoring Victor Steinbrueck opens on a former site of an armory.
The PDA completes acquisition of 80 percent of properties in the Market historic district.
The Market Foundation is created to help raise funds for the Market's social service agencies.
A campaign begins to recruit donors who for $35 can have a name placed on a floor tile. Over 46,000 named tiles line the arcade.
Rachel the piggybank, which collects over $10,000 each year for the Market's child care, food bank, medical clinic and senior center, debuts.
The first-ever Rudy Bruner Award for Urban Excellence Gold Medal is given to Pike Place Market in recognition of the Market Foundation's social services.
Pike Place Market PDA and the Urban Group settle a years-long dispute over ownership rights of Market properties.
Piroshky Piroshky opens in the Market.
Artists decorate over 200 models of Rachel the piggybank for a citywide event, Pigs on Parade. They were later auctioned to fund the Market's social services.
Pike Market Senior Center opens in the new LaSalle annex building, the first new building in the Market in over 30 years.
Seattleites celebrate the centennial of the Market.
Seattle voters approve a $71 million levy for Market renovations in November.
The Pike Place Market PDA wins the Great Markets, Great Cities Award at the 8th International Public Markets Conference in September.
After three years, the large-scale renovations are completed.
MarketFront expansion breaks ground on June 24, 2015!
Pike Place MarketFront Grand Opening celebration was held in June 2017.
Staff and the community came together to confirm a revised Hildt-Licata Agreement for another 10-year term, furthering the "Meet the Producer" tradition.
Pike Place Market welcomed back former Market buskers, The Head and the Heart to perform an unforgettable concert on the roof.
The Market faces one of its most challenging threats to date, the COVID-19 global pandemic.
The Market celebrates the 50th Anniversary of Seattle's "Keep the Market" vote.

redpajama_set_name: RedPajamaCommonCrawl


The Missionaries of the Precious Blood welcome and value all correspondence. Feel free to send us your questions, comments, or concerns. We generally return e-mails and phone calls within three to five business days.


Bullseye frits are made from crushed, screened and magnetically cleaned Bullseye Fusible sheet glass. Use glass frit for your pate de verre and glass casting projects, or add pizazz to your fusing and kiln-formed glass jewelry.
Packaged in a wide-mouth 5 ounce bottle. It provides you with plenty of frit to last for a number of projects, but not so much that you waste space in your studio. They are convenient if you ever need to take your fusing supplies with you on the road. Fully compatible 90 COE.


Home / All / Just What Is the Word of Wisdom?
Just What Is the Word of Wisdom?
This is the first treatise published by Dr. Christopher. In it he expounds upon his personal and religious beliefs of why herbs and a healthy diet should be administered to build a person's body or "temple."


Even by its own standards, Ethiopian Airlines' recent growth has been fast, so fast that it revised the ambitious 15-year strategy set in 2010 and plans to buy more planes to step up its expansion.
The state-owned carrier has also outpaced regional competitors Kenya Airways and South African Airways to become Africa's largest airline by revenue and profit, according to the International Air Transport Association.
We had to revise the objective to make it 150 airplanes or more by 2025.
"We have expanded more than we planned," said Chief Executive Tewolde Gebremariam.
It now plans to place orders this year for 13 additional Boeing 787 jets and six more Airbus A350s, he told Reuters.
That kicked off a series of deals including January's agreement with Zambia's government to relaunch that country's national carrier, shut down more than two decades ago.


text:
Neighbors stop a new Starbucks opening in Berkeley
March 122014, 3:39 p.m. Feb. 292020
Starbucks, which had hoped to open a new coffee shop in South Berkeley, has, after a long process, had its application denied. Photo: Sean Winters
A mobilized, vocal group of South Berkeley neighbors, working in concert with local merchants, has prevented a Starbucks from opening in South Berkeley.
Berkeley's City Council voted Tuesday, March 11, to deny Starbucks an administrative use permit for a 2,063-square-foot space at 3001 Telegraph Ave., at the southeast intersection with Ashby. Council members made the vote after hearing from dozens of local residents and business owners that such a high-customer-volume coffee shop would increase traffic congestion and exacerbate what they described as an already taxing parking situation. The denial came in spite of the fact that the original application from Starbucks was approved by city staff one year ago tomorrow.
Starbucks' argument, that parking would not be unduly impacted — supported by two separate independent parking studies commissioned by the company — and its contention that many of its customers and employees would be arriving on foot, failed to win the upper hand after more than three hours of discussion. The coffee shop chain also came to the table with promises to move an AC Transit bus stop north across the intersection of Ashby and Telegraph to provide new parking opportunities, and lease three additional spaces in the Chevron gas station lot kitty-corner to the new store. But it was to no avail.
The space at 3001A Telegraph Ave. in which Starbucks hoped to open a new coffee shop. Its permit was denied by Berkeley's City Council on Tuesday, March 11. Photo: Tracey Taylor
It wasn't the first time council members had considered the coffee shop's application, and the process has been a long one for both Starbucks and its opponents.
The city first approved an administrative use permit for Starbucks on March 13, 2013. An appeal was lodged by local resident Jim Smith and Andrew Johnson from the Bateman Neighborhood Association 16 days later. The crux of the opposition was the parking waiver given to Starbucks over the number of spaces it needed to provide. This was denied by ZAB at its June 30 meeting. On Nov. 19, the council referred ZAB's decision to a public meeting. That happened last night, and ended with the vote to deny Starbucks a permit.
"We're thrilled," said Smith. "The detrimental issues are pretty obvious, but we didn't know we would get the five votes." Smith said he believed that from the beginning of the application process, the city had never quantified the impact the store would have on the neighbors.
Calls to Starbucks' attorney John Kevlin of Reuben, Junius & Rose, had not been returned at press time. It is not known whether the coffee chain intends to appeal.
The Starbucks would have opened in the Telegraph Gardens project owned by Avi Nevo which opened early last year. Savvy Rest Mattresses moved into one of the three vacant street-facing retail spaces in October last year. Along with the proposed Starbucks location, there is an additional, smaller retail space still for lease.
Starbucks: "We went above and beyond"
Starbucks met all its requirements on paper and, as Andrew Zall, store development manager for Starbucks, put it to the council, had in fact gone "above and beyond" to try to reassure locals that the store would not put excessive pressure on parking or increase traffic congestion. Zall said Starbucks was collaborating with AC Transit to move a bus stop currently on the south side of Telegraph across the street to the north side. Nevo would have contributed funding for the move which, according to John Kevlin, an attorney working for Starbucks, had been under discussion for some time.
But opposition to the coffee shop moving in was strong and widespread. Opponents who spoke at last night's meeting included representatives for the LeConte, Bateman, and Willard neighborhood associations, as well as the Berkeley Neighborhoods Council.
Jacquelyn McCormick, president of the Claremont and Elmwood Neighborhood Association, said CENA was "standing in solidarity" with the other neighborhood associations, and urged the Council to stand in solidarity with neighbors too.
Peter Shelton, who lives near Telegraph Gardens, said today that his concerns go back to the original approval of the building. "Planning, then ZAB, then the Council allowed this building to go in with substantial concessions," he wrote by email.
"Starbucks got a waiver of the parking requirements 'over the counter' with no notice to the neighbors and minimal inquiry by the clerk. So we have waiver on top of waiver on top of exception. It's like the bureaucrats don't look at the totality of their decisions, just the micro view of this one piece of paper in front of them now," he continued.
"I am offended by the process that requires hundreds and hundreds of citizen-hours to take a matter to ZAB and then two council meetings to overturn a decision made in a few minutes by a clerk at the permit department. If we have a general plan and zoning ordinances, shouldn't the city be required to enforce them?" said Shelton.
Neighbors and merchants — including Mokka owners Susan and Michael Iida, front row, right — turned out to a zoning board meeting on Nov. 19, 2013 to request a public hearing over the proposed Starbucks at Ashby and Telegraph avenues in Berkeley. Photo: Emilie Raguso
Local business owners, many of them from the multitude of medical and dental offices that are located in the area, on the doorstep of Alta Bates Hospital, spoke of the difficulties their patients, some of whom were be disabled or injured, already have to find parking.
A representative of Direct Urgent Care at 3095 Telegraph Ave. said his office sees many people with broken bones. A reduction in the number of parking spaces would impact the business. "We have grave concerns about the impact [of Starbucks] on congestion and parking," he said. He added that the parking study conducted by the the coffee chain was "fabricated" and "simply not accurate."
Council was divided on the issue. A new Starbucks would bring tax revenues of $100,000 to the city, according to Zall, who also said in testimony that the coffee chain would create 25 new jobs. Berkeley Mayor Tom Bates said he was concerned about who might lease the space if Starbucks' application was denied, particularly given the parking issues.
Laurie Capitelli: parking a serious issue
Councilman Laurie Capitelli said he was conflicted on the issue, but felt that parking was ultimately the one serious issue to consider. He reminded people that the impact on local independent coffee shop Mokka, whose co-owners Michael and Susan Iida have campaigned against Starbucks on parking grounds, should not be taken into consideration, as the council could not consider potential market competition as a factor.
Both Councilwoman Susan Wengraf and Councilman Gordon Wozniak made a point of mentioning they personally preferred Peet's coffee — which, of course, was founded in Berkeley — to Starbucks, and Mayor Bates said he had done some research and found that, "Starbucks was a better company than I had realized."
Eventually Wengraf moved the motion to approve the permit. It was seconded by Wozniak. But before a vote could be taken, and after three and a half hours had been devoted the the issue, Councilman Jesse Arreguin stepped in with a last-minute substitute motion to deny the permit, which was seconded by Worthington.
Arreguin argued that there was ample evidence that Starbucks, as a high-impact use, quick-service restaurant, would exacerbate local parking problems and create "detriment" to the neighborhood. "As one resident put it," he said, "this is a good use but not a good location."
A vote was taken to deny the permit and it reached a majority, with six yes votes (Linda Maio, Jesse Arreguin, Laurie Capitelli, Max Anderson, Kriss Worthington and Tom Bates) and three abstentions (Susan Wengraf, Gordon Wozniak and Darryl Moore).
Read the extensive documentation related to the application, including parking surveys, and street maps created by the appellants, on the Council agenda, item 15.
Berkeley City Council's Nov. 19, 2013 meeting: the highlights (11.20.14)
Berkeley neighbors bid to halt Starbucks stumbles (07.02.13)
Starbucks planning to open a new store in Berkeley (03.15.13)
Would you like to have latest Berkeley news in your email inbox once a day? Click here to subscribe to Berkeleyside's free Daily Briefing.
Tracey Taylor is co-founder of Berkeleyside and co-founder and editorial director of Cityside. Email: tracey@citysidejournalism.org.
3001 Telegraph AvenueBerkeley City CouncilMokkaStarbucksTelegraph Gardens
Berkeley inventor of blind adaptive technology wins MacArthur 'genius' prize


text:
Over 140 years of manufacturing excellence.
Ritchie was established over 140 years ago as a blacksmithing service to the local community of Gateside in the County of Angus, Scotland. As farming advanced during the late 19th and early 20th Century, traditional blacksmithing skills were replaced with the manufacturing of a small range of innovative implements designed to improve efficiency and reduce labour inputs as horsepower gave way to steam and tractor power. This business expansion necessitated relocating from the country into the town of Forfar where Ritchie continued to develop and manufacture products for both the livestock and arable industries.
Today Ritchie occupy a 14-acre site on the outskirts of Forfar, which houses their manufacturing and business centre, and a manufacturing depot situated in Birmingham. Investment in the latest galvanising, CNC, robotic and computer technologies support a skilled and motivated workforce with products supplying the UK and world markets.


Build your workforce Tap into a pool of trained, site-ready construction talent in the West Midlands. Come and meet us to find out how. There's substantial investment in infrastructure and construction in the West Midlands, including HS2, the Commonwealth Games and an agreement with government to build an additional 215,000 new homes. That means more jobs, and more construction firms needing site-ready staff. The West Midlands Combined Authority is helping people in the West Midlands get the skills and tickets they need to work on construction sites. We want to support a world-class construction industry in the region, renowned for its quality, innovation and skills – and we're cultivating a pool of site-trained talent ready to get to work on construction projects in the region immediately.
We want to help you find the right match for your clients. We're working with local colleges, careers services, employers and project commissioners, through our Construction Gateway programme. We are building people's skills and work experience, from rail construction to traditional plumbing, bricklaying and carpentry skills, from welding to plastering to traffic management, we're ensuring there's thousands of people in the West Midlands with valuable construction skills we know employers need. On Monday, April 8, you can find out more about how to tap into this site-ready pool of talent to find great candidates for your vacancies. We're holding a networking event to bring together employers, local authorities, project commissioners, leading contractors and training providers, to demonstrate how our skills investment is creating a pipeline in the region which gives you quick, easy and reliable access to site-ready construction talent.
Everyone in our talent pool has been through training and have already gained CSCS cards, on-site experience and a variety of construction job skills. If you are looking for strong construction candidates, look no further than the West Midlands.


The Australian Book Industry Awards (ABIA) celebrate the achievements of authors and publishers in bringing Australian books to readers. The Awards are a way to say hooray to the successes in making books and being in the book business. They are also the perfect way to find your next great read! Winners announced May 2019 - so get reading and cheer for your favs!


Sometimes in order to be flexible at work we relax our boundaries and can then appear weak, others may hold their boundaries too strongly and appear inflexible. Boundaries at work are important as is connection.
Connection is not the same as relationship and friendship. It is important to be clear what you are wanting to create and why. People often avoid connection in the workplace because they fear being embroiled in a friendship that does not feel appropriate. In trying to set clear boundaries, people often create barriers instead and cause disconnection.
Connections can be created across a room full of people and may be as simple as a glance. It indicates a sensing of deep knowing and seeing another person as they are, and allows them to see you in that moment too. Connection can be created at a deep level on a momentary basis and does not necessarily result in a long-term relationship or friendship. Once people realise that, they are less afraid of the intimacy of connection and are able to set boundaries rather than barriers.
Everyone will hold their boundaries differently. When leaders are clear and consistent with their boundaries, they create deeper levels of connection based on trust and respect, with the knowledge that they can communicate with clarity around their needs. Clear boundaries enable leaders to influence others without curbing or coercion. They articulate their needs, knowing that the connection goes beyond any challenges they are facing and allows them to reach alignment.
Often people relax their boundaries out of a desire to be flexible. Boundaries provide clarity around what is ok and what is not. If you flex your boundaries too much, others may take advantage of you, and your needs may not be met. Alternatively, if you hold them too strongly, you may be seen as inflexible and difficult to collaborate with, and equally, with this approach, your needs will not be met either. Boundaries change as the organisation and world around you change, or as you gain new insights and information. Leaders who articulate their boundaries provide clarity and a structure for others to operate within. This creates a certainty within the uncertainty.
Boundaries provide the framework of what is acceptable behaviour and interaction, and they are essential in times of uncertainty. Boundaries are defined based on your values, beliefs and experience, and they may differ substantially from the boundaries of others. There is no right or wrong way to set boundaries, but clarity around them enables dialogue which can minimise polarisation and conflict.
Often when something does not "feel" right, you may not have sufficient information to articulate why, but the situation may be at odds with your personal values. When your values are not honoured, your boundaries are also often crossed.
Where are your boundaries not being honoured?
With the pressure of work intensifying, many people have continued to relax their boundary around what is an acceptable level of workload. Work-related stress and burnout are often the result of not being able to say no. Unrealistic deadlines and an incessant volume of work challenge our boundaries on an almost daily basis. Holding your boundaries is essential as a leader and requires a willingness to walk away if they are not upheld. If you do not uphold your boundaries, it results in stress and overwhelm.


6 ways to get ready for breastfeeding.
Breastfeeding is a great way to nurture and nourish your baby. Breastfeeding has so many benefits that are too good to ignore, it helps to bond with your baby, it builds your child's immunity and you can't deny that it's completely free. Many times, moms to be are too busy preparing for labour and childbirth that they forget to prepare for breastfeeding. It is important to start your preparation during pregnancy. If you plan on nursing, check out these 6 ways you'll want to get ready before your little bundle of joy arrives.
Buy a Book: There are books on breastfeeding preparation. Consider the small fee an investment in your future as you learn the basics of breastfeeding, including how often to nurse, how to know if your baby is getting enough milk, and common nursing issues. Get to that bookstore and start reading.
Get a Breast Pump: Even if you're planning on being at home with your baby indefinitely, a breast pump is an important assistant and a great investment, if you'll be returning to work, consider investing in a breast pump. Pumping helps increase or maintain your supply and having pumped milk in the fridge or freezer allows you to leave your baby in the crèche or with a sitter.
Pick your spot: Consider having a comfortable space in your home dedicated to feeding your baby. Position a side table within arm's length for holding your water bottle, snacks, magazines, burp cloths, and phone. Please make sure you get those maternity pillows for your back and arm, trust me you will be thankful you did.
Breastfeeding Accessories: Purchase nursing bras/ pads. If you chose to buy a nursing bra, wait until you are at least 36 weeks pregnant to judge the size you will need. Not all moms leak milk those who do may only leak for a short time. Begin with a limited supply of nursing pads and purchase more if you need them. Also, buy a nursing pillow it will give you great comfort when breastfeeding.
Massage your Breast: While pregnant during the last 6 weeks, it's a good idea to massage your breast as it will help clear the duct and help with milk production.


text:
Directions Yorkville,	NY	13495
Structure My Deal tools are complete — you're ready to visit Cooper Kia!
Done with the tools you need? You're ready to visit Cooper Kia! Get Driving Directions
Compare to the Competition
Kia Models
Used Kia Inventory
New Vehicle Warranty
Cooper Kia Customer Reviews
New Kia Sorento in Yorkville, NY
Experience the New Kia Sorento at Cooper Kia in Yorkville, NY
If you're looking for an SUV that looks good on the outside and has a well-built interior, the 2019 Kia Sorento may be just what you need. The mid-sized Sorento has one of the nicest interiors in its class, with premium materials that give it an upscale feel. Kia remodeled the Sorento for 2019, giving it redesigned front lighting clusters, re-arranged taillights, and modern design elements on its grille. It now seats seven on three rows of seats, and Kia drivers in the Yorkville and Utica, NY areas can browse a vast inventory of new Kia Sorento models at Cooper Kia.
29 auto-new-sorento /new-inventory/new-kia-sorento-yorkville-ny.htm
I plan to finance
I plan to lease
Sort by BLANK: Low to High BLANK: High to Low
2019 Kia Sorento 2.4L LX SUV
Cooper Discount*:$327
Incentive:$3,000
Ebony Black,
Manufacturer Offers: $3,000 cash back on select 2019 Kia Sorento, Lease: $229 per month for 24 months. $3,499 due at signing for select 2019 Kia Sorento 2.4L LX
Passion Red,
Sangria,
Dragon Brown,
Sangaria,
Sparkling Silver,
The New Kia Sorento near New Hartford, NY Has a Comfortable Cabin
The Kia Sorento has been J.D. Power's highest ranked mid-sized SUV for two years in a row, due in part to its comfortable cabin. The 2019 Sorento's roomy, comfy seats come standard with stain-resistant cloth upholstery, but leather is available. It also comes with Bluetooth, Android Auto, Apple CarPlay, a six-speaker audio system, and the UVO infotainment system with a 7-inch touch screen. The touch screen has great graphics and a user-friendly interface, with redundant physical controls for more options. You can enjoy your favorite music more with the Sorento's optional Clari-Fi audio technology, which enhances compressed files to bring the music closer to its true stereo sound. Other available features in the new Kia Sorento include push-button start, dual-zone automatic climate control, a panoramic sunroof, and navigation. The new Sorento has 73 cubic feet of cargo space with its second and third rows of seats folded down. Sorento drivers in the New Hartford and Rome areas will appreciate its optional hands-free power liftgate for easy loading and unloading.
The Sorento Gives You a Smooth, Quiet Ride in Yorkville
You'll enjoy a calm, quiet ride in the 2019 Kia Sorento around Utica, which rides smooth, even over bumpy roads. It delivers a competent, composed ride whether the road is straight or curvy. The new Sorento comes with a 185-horsepower four-cylinder engine mated to a six-speed transmission. This powertrain gets an EPA-estimated 22 mpg in the city and 29 mpg on the highway. For more power, you can upgrade to a 3.3-liter V6 that produces 290 horsepower and pairs with a new eight-speed automatic transmission. For more precise turning and control, the new Kia Sorento offers an innovative Torque Vectoring Cornering Control system and a Drive Mode Select that you can switch from Normal, ECO, and Sport to suit your driving style. Front-wheel drive comes standard, but Dynamax all-wheel drive is available for better control in rough weather. When properly equipped, the new Sorento can tow up to 5,000 pounds, enough to pull a large boat or camper on a trip to the lake.
The Kia Sorento is on the Cutting-Edge of Auto Safety Features
Drivers in the Yorkville and Utica areas will have peace of mind driving the 2019 Kia Sorento, which has a body made of advanced high-strength steel, numerous airbags, and advanced seat-belt systems for protection from accidents. Other standard safety equipment includes a rearview camera, Electronic Stability Control, Hill-Start Assist Control, and Electronic Brake-Force Distribution. The Sorento has numerous available active safety features, including front and rear parking sensors, Smart Cruise Control with Stop and Go, lane departure warning, and blind spot monitoring, which alerts you with a light on the outside mirrors when it detects objects that are not in your view while driving. The new Kia Sorento is a great every-day SUV with an attractive cabin and poised handling and Sorento drivers in the New Hartford and Rome areas can find it in the new-car inventory at Cooper Kia. Visit us and test drive one today.
Facebook Yelp Youtube


Boeing Flights Grounded Across the Globe, but Not in the U.S.
Yet the decision in Europe means roughly two-thirds of the Boeing Max 8 aircraft in the world have been pulled from use in the two days since the crash of an Ethiopian Airlines flight that killed 157 people. The swift actions by authorities around the world were driven in part by concerns about a connection to a similar disaster involving a Max 8 in Indonesia last October, when a Lion Air flight plunged into the Java Sea shortly after takeoff, killing all 189 people aboard.
Jon would know something about this.
it's a combination of a forcefull anti-stall feature that pushes the control yolk forwards when the aircraft perceives a stall, an over-ride switch, bad maintenance, and poor training in third world countries. The system is probably too intrusive, but it's not difficult to override, but in the heat of the moment I'm not surprised that badly trained and over worked pilots don't remember to flip the switch when their aircraft suddenly tries to dive to the ground all on it's own.
I heard where grounding them here too.
I'm told that Trump himself ordered the planes grounded.
He did it so I guess he has it.
I'm officially ordering that all women's pants from now on have pockets large enough to fit the hand of a normally proportioned woman wearing those pants.
I ordered it, so I have that authority, right?
Fair point, but is he "ordering it" because he has the juice, or because he knows which way the wind is blowing?
The FAA has the authority. Trump has the press conference.
So why aren't we hearing from the FAA?
Because the FAA is a hollow shell of what it has been.
Like many US federal agencies under Trump, the FAA isn't operating under optimal conditions to deal with a big issue like the two Boeing crashes. It hasn't had a permanent top official for 14 months, the White House pushed gutting its employees and trimming budgets for two years in a row, and the recent government shutdown delayed officials' approval of safety upgrades.
Yeah, that's what I suspected. Although, it's not the power that's waned, it's the manpower. So Trump basically operates on his own without the administrative entities' assistance.
Does that make Pence Brutus?


Product prices and availability are accurate as of 2019-04-19 11:55:22 BST and are subject to change. Any price and availability information displayed on http://www.amazon.com/ at the time of purchase will apply to the purchase of this product.
Get Some Relief For Your Tennis Elbow Pain!
- Amazing armband for Crossfit, weightlifters, basketball, badminton, squash and racquetball players.
- AMAZING VALUE - You can't find a better price for a high quality product!
- EFFECTIVE - Protects your elbow and forearm from nagging pain.
? BONUS ITEM & FREE PRODUCT: You will receive a bonus sweat wristband with your order as well as an E-book entitled "Addressing Tennis Elbow Pain". The E-book will give you INSTRUCTIONS on how to use our product, the tools and knowledge to address tennis elbow pain, including additional online resources such as exercises and therapies that have been shown to be helpful for tennis elbow sufferers. ? AMAZING VALUE: You get TWO elbow braces for a much lower price. Cannot compare with other brands: you will be getting two elbow braces, a sweat wristband and an E-book. With a 2-count elbow brace, you can keep one in your gym or tennis bag and have another one at home or work for any repetitive motions that cause lateral epicondylitis, elbow tendonitis, carpal tunnel syndrome or arthritis pain. ? MUSCLE TISSUE & JOINT PAIN RELIEF: Can be used for tennis elbow, golfer's elbow, computer or mouse elbow, rower's elbow, fishing elbow, pool or billiard elbow. Can also be used as an armband for weightlifting, basketball or activities that could result in elbow hyperextension. This brace has a compression gel like pad that works better than air pads. Get 25% off our Simien Rubber Twist Bar using ELBOWSOS promo code at checkout for tennis elbow therapy exercises when you buy the braces. ? VERSATILE: One size fits most and can be used on the left or right forearm. Can complement or replace elbow compression sleeves. Works great for women and men thanks to the adjustable strap. Fits almost all size or money back. This is a hook and loop strap and we guarantee that it will not cut off circulation or have a tourniquet effect on your forearm. ? HIGHEST QUALITY: 65% neoprene and 35% nylon (Logo is natural rubber or NOT LATEX FREE!). This is built to last and we guarantee that the strap will not wear out or tear apart for a lifetime or you will get your money back. You can keep your elbow braces (and bonuses) and we will refund you for your purchase. Click the ADD TO CART button to order our product at our LIMITED LOW PRICE.


From my childhood I had the aspiration to express my experience in writing for the view of others. While dabbling with writing occasionally I had realized that I could at least weave simple sentences to bring out meaning full ideas but never before I wrote for any newspaper or web writing site as I was not confident enough to begin such endeavour.
While I have not tried my hand at writing before I would watch with amazement how few of my colleagues produced excellent short pieces of stories out of real life incidents laced with some imagination. Many of my friends then just showered praises on them but while silently wishing them more laurels in their literary efforts I tried to get to the mystery behind their success. I was sure; however, it was their ability to weave together words meaningfully to create something engaging that captured the viewers. Although the thought of recording anything in writing that has happened has always pricked me since childhood, I have never written much in my diaries either.
My elder brother was a very good writer in Bengali and English using both the languages to express any views with equal felicity and dexterity. While he started to write about sports for a Bengali weekly I could only appreciate his acumen without trying to do such activities myself. But that was his absolutely different prodigious activity that drove him to such success in literary matters. I do not remember any other close relations indulging in such practice although my father, an eminent educationist and principal of a college, was equally adept in his mother tongue and English.
One thing I perhaps missed in my literary zeal was the absence of real encouragement from my close ones. One reason for this might be that literary talent had not run in my family except for my brother or that I pursued science and did not study English after school and I considered the practice as drudgery. My learning of the foreign language leaned heavily on my reading a favorite newspaper only. Now that I can interlace a few sentences in simple English is due to my mother who initiated us into reading the daily English newspaper very early despite our stiff resistance in the beginning as we had to stumble into the habit. This is not to mean that we had neglected our mother tongue anyway. On the contrary I laid stress on both but English somehow got an edge as I had to learn my science subjects in the language and subsequently using it abundantly for official correspondence and communications.
With that background I was looking for an e site which would allow me to express my feelings thus giving me the much needed scope to ascertain whether I could become a writer. I prepared for the show of my ability and soon registered my name at Hubpages. As natural I was invited to start a hub. I was in a fix for I had no such experience before though the initiative for such a plunge had come from my inner self. While trying to bring together my short pieces of incomplete writings done on my portable typewriter I recounted how a famous Bengali novelist encountered such an embarrassing situation initially at the time of his foray into his literary world when sensing his power to write beautifully a school mate had announced without his knowledge launching of a new story by him on the eve of Durga Puja, a great festival all the Bengalis look forward to eagerly. But that was another incredible story of real success and reaching the dizzy heights subsequently in the field but alas poor me! However, I mustered sufficient courage to produce a story on the life of my uncle- a real life story. I sent for publication on Hubpages. Imagine my surprise to find my write-up and name in print and gradually I began to receive critique from different parts of the globe giving stamp on my ability to write and above all assuring the support from the Hubpages family. Slowly I dug deeper and sent another story which was also accepted by the family. Now I have ventured to publish yet another short piece with a punch line waiting to assess its acceptability by the readers. If I can prove my mettle in due course I am inclined to reach out to the people of the world at large showing the glimpses of gems from my very own Bengali literature I love the most. I owe it to Hubpages for giving me the access to the realm of scribes. I understand that language is no barrier and all the readers of Hubpages are bound by ties of kindred seeking to know one another deeply by the language of the mighty God.
On Hubpages, as I have found out much to my pleasure, we are encouraged to write on any subject that suits us. I am inclined to write short pieces on creative writing based mainly on real life incidents spiced with some humour and fanciful imagination. Since I have lot of experience to relate, I am sure, I shall have the opportunity to publish them gradually. I have been on Hubpages for nearly two months and so far my experience is concerned my fears have been soothed away encouraging me to carry on my activities as I am still learning a lot from the community. Initially although I lacked ideas, with impetus from one and all new ideas are coming in droves and I expect to convert them into good stories in near future.
Now that my lifelong ambition has been somewhat achieved, my next goal is to write at least 50 hubs next year. I am already a late opener but I must try to keep track of the successful writers for I need to formulate plan and execute them without delay. I am very interested to interact with other hubbers to enrich my knowledge and to know others closely.
My advice to those keen on writing and looking for an ideal site to help them realize the long cherished goal is not to delay but to join Hubpages immediately as any doubts, lack of confidence and other negative aspects will be taken care of by the Hubpages family in due course paving their way for a pleasant and enjoyable time with them.
What Is HubPages And How Does It Work?
You, sir, have a wonderful writer's voice and depth of character. As with walking, the secret to good writing is to take that first step. We can talk about it all we want; we can say from the time that we're old enough to hold a pencil that we want to write...but nothing will come of it until we dare to make all the mistakes in the world to tell our respective stories. Looks like you're off to a wonderful start, Arun Kanti.
Thank you very much for sharing your special perspective. Know this, my friend--in your own special and humble way, you are inspiring so many other aspiring as well as established HubPages writers (as well as those presently thinking about joining HubPges) by way of your daring to risk writing these beautiful words of yours.
Aloha from southeast Washington state!
PS A question: Is Kolkata another spelling for Calcutta? Thank you.
@Askme-I also look forward to reading your pieces. Your comments give me the needed inspiration to devote more time to writing. Thank you very much and wish you all the best.
I always enjoy reading your Hubs Arun! I voted up and interesting.
I have a very high impression of the Keralites and your amazing literary success only lends credence to my opinion. While I shall keep in mind your excellent suggestion thank you very much for your visit and comments.
Wonderful writing. But you could have given an impressive lay out for it. Thank you for sharing your knowledge. Voted up.
@Vinaya Ghimire-Living in Jalpaiguri town in my early childhood I have always been close to the people of the hills and whenever I hear of someone from them setting a shining example that they are not only broad minded but also can excel in any realm of life I cannot hide my delight. Thank you for your comments and wish you all the best in your pursuit of literary and agrarian progress.
I was already writing for print media before I began writing for hubpages. However, I truly believe HP helped to to reach wider audience and improve my writing. Thanks for sharing your pinion.
@rajan jolly-Thank you for being complimentary about my stories.
Interesting read again, Arun. I hope you are doing well in your writing efforts.
@unknown spy - At least I get the real inspiration to write as your words are very encouraging. In fact I have written so far on varied topics and I am eagerly waiting for the response. Thank you and wish you all the best.
an inspirational story evryone must read. im sharing this so others will be inspired too. keep writing!
It is refreshing to find someone occupying a very high position as a commenter taking some time off to go through my writeup and making such nice observations. It is also a cheer up call from my compatriot who has turned out to be an excellent writer in his specialised realms.Thank you and wish you all the best.
Arun, interesting to read how you came to write on Hubpages. I wish you the best in your writing efforts and widh you are able to achieve your goal of writing 50 hubs in a year.
I appreciate your comment very much. So glad to read your wise words! Thank you very much and wish you all the best.
It is a start for many writers, HP has earned me a few dollars so far and is also easy to follow steps here.
@Angela Blair-Your words are very encouraging and I look forward to receiving your continued wise comments. Thank you and wish you a very bright new year.
@Minnetonka Twin-I appreciate your visit and such wise comments. Thank you very much and wish you all the best in the new year.
So glad to see you took your aspiration of writing and acted on it. HubPages is such a great community of people and the support you will get here helps writers get better and better. We all learn from each other here.