Jini's Blog

Ing...

  • Home
  • Business
    • Internet
    • Market
    • Stock
  • Parent Category
    • Child Category 1
      • Sub Child Category 1
      • Sub Child Category 2
      • Sub Child Category 3
    • Child Category 2
    • Child Category 3
    • Child Category 4
  • Featured
  • Health
    • Childcare
    • Doctors
  • Home
  • Business
    • Internet
    • Market
    • Stock
  • Downloads
    • Dvd
    • Games
    • Software
      • Office
  • Parent Category
    • Child Category 1
      • Sub Child Category 1
      • Sub Child Category 2
      • Sub Child Category 3
    • Child Category 2
    • Child Category 3
    • Child Category 4
  • Featured
  • Health
    • Childcare
    • Doctors
  • Uncategorized

Builder Pattern

 Jini     오전 2:28     JAVA     No comments   

public class NutritionFacts {

    private final int servingSize;
    private final int servings;
    private final int calories;
    private final int fat;
    private final int sodium;

    public static class Builder {   

        private final int servingSize;
        private final int servings;

        private int calories = 0;
        private int fat = 0;
        private int sodium = 0;

        public Builder(int servingSize, int servings) {
            this.servingSize = servingSize;
            this.servings      = servings;
        }

        public Builder calories(int val) {
            this.calories = val;
            return this;

        }

        public Builder fat(int val) {
            this.fat = val;
            return this;
        }

        public Builder sodium(int val) {
            this.sodium = val;
            return this;
        }

        public NutritionFacts build() {
            return new NutritionFacts(this);
        }
    }

    private NutritionFacts(Builder builder) {

        servingSize   = builder.servingSize;
        servings      = builder.servings;
        calories      = builder.calories;
        fat           = builder.fat;
        sodium        = builder.sodium;
    }
}

Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

문법에서 문장까지(대명사)

 Jini     오후 11:00     문법에서 문장까지     No comments   

1. 대명사

■ 인칭대명사
1) 대명사는 숙어 동사(phrasal verb) 사이에 쓴다.
* I cut up half of one large banana and put it in cereal.
2) 소유격 대명사와 관사는 같이 쓸 수 없다.
* The our employees and juggling work with having to look after children.(T/F)
3) 소유격 대명사와 숫자는 대명사가 앞에 나온다.
* Two my kids have been begging for a little puppy all year.(T/F)
4) 소유대명사
* mine, yours, his, hers, ours, theirs는 그 자체가 대명사이므로 뒤에 명사를 쓰지 않는다.
    - DNA testing has verified to more men to discover that their children are not biologically theirs children.(T/F)

■ 부정대명사의 대명사
개념상 단수이므로 he(his) or she(her)로 쓰는게 맞으나 편의상 복수 사용
* Anyone can learn to dance if he or she wants to.
* Anyone can learn to dance if they want to.

* Everyone has his or her own way of learning.
* Everyone has their own way of learning.

■ 집합명사의 대명사
audience, class, committee, company, council, crew, crowd, family, government, group, gang, jury, staff, team
* My family is large. It is composed of nine members. : family라는 그룹에 대한 대명사
* My family is loving and supportive. They are always ready to help me.
    : 각 구성원에 대한 대명사
Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

문법에서 문장까지(관사/무관사)

 Jini     오후 10:36     문법에서 문장까지     No comments   

1. 관사

■ 부정관사 A/An
1) 하나임을 표시
2) 어떤 / 어느정도
3) 직업 앞에 쓰여 사람의 소속 표시(Categorization)
4) 대표단수 -> 일반화(Categorization)
5) 단수 가산 명사를 처음 언급할 때 : uncertain, not specific
6) per : Some people can cycle at 50km an/per hour

■ 정관사 The
1) 앞에 나온 명사를 다시 반복할 때(부정관사 5)
2) 특정한 사물, 사람을 말 할 때 the를 쓴다
* 유일무이한 것
* 상황 또는 문맥에서 무엇을 말하는지 speaker/writer와 listener/reader가 서로 알 수 있을 때
* 내가 <the + N>라고 말하는 순간, 상대방이 그 명사를 떠올릴 수 있다고 생각하면 the를 쓴다.
3) 일반적인 사람, 사물, 개념을 말할 때는 the를 쓰지 않는다.

■ 암기로 해결 가능한 the
1) 최상급 앞에는 the를 쓴다
2) 일반적으로 same 앞에는 the를 쓴다
3) 일반적으로 물(water)과 관련된 ocean, sea, river, canal은 이름 앞에 the를 붙인다
4) the United States, the Netherlands, the Philippines처럼 여러 개의 주나, 섬으로 이루어진 복수형 국가 앞에는 the를 붙인다
5) 반도, 제도, 산맥은 the를 붙인다
6) '~한 사람들'이나 '~한 것'이라는 추상적인 것을 말할 때 the 형용사를 슨다
* In addition to the dead, a total of 7,000 residents were affected by the disaster.
* Mother Teresa won the Nobel Prize in 1979 for her tireless work with the poor and the sick.
7) the radio / television
* I was listening to the radio.
* I was watching television.

2. 무관사
 : 정관사/부정관사 쓰지 않는 경우.
   특정한 것이 아닌 일반적인(general) 사물, 상황, 개념을 말 할 때 쓴다.

■ 식사 : breakfast / lunch / dinner 앞에는 정관사 the를 쓰지 않는다.
■ 과목 : mathematics, physics, history... 에는 일반적으로 부정관사 a/an를 쓰지 않는다.
■ sport, game에는 일반적으로 부정관사를 쓰지 않는다.
■ 관용적인 표현
  - go to school / go to church / go to jail / go to bed / go to work / go home
■ (등수) ~ 위하다.
  - Joe took part in a local singing contest and came second.
Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
최근 게시물 이전 게시물 홈

Popular Posts

  • 한글이 3byte인 경우 캐릭터셋 확인
    오라클의 문자집합이 KO16KSC5601, KO16MSWIN949 인 경우는 2 Byte로 한글을 인식. UTF8/AL32UTF8의 경우 3Byte로 한글을 인식. 단 UTF8/AL32UTF8의 경우는 한글 정렬이 가능하다는 장점이 있다. 캐릭...
  • 문법에서 문장까지(대명사)
    1. 대명사 ■ 인칭대명사 1) 대명사는 숙어 동사(phrasal verb) 사이에 쓴다. * I cut up half of one large banana and put it in cereal. 2) 소유격 대명사와 관사는 같이 쓸 수 ...
  • Redmine Text Format
    1. 글자색상 변경 %{color:red}dev% 2. 음영색상 변경 %{background:lightgreen} lightgreen% 3. 문단 넘버링(띄어쓰기 주의) # 큰 제목 ## 큰제목의 하위 제목 # 두번째 큰 제목 # ...
  • 오라클 한글깨짐 현상해결
    1. 레지스트리 편집기 실행 : 시작 -> 실행 -> regedit 2. HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE 하위 경로 폴더중 이름이 "NLS_LANG"인 속성의 데이터 확인 3. "...
  • Visual Studio 2013 팁 및 단축키(이클립스랑 비교)
    이클립스에는 있는데 VS에는 없어서 있었으면 하는 기능 중 실제로 있었는데 내가 몰랐던 것들 1. 한 줄 삭제 이클립스는 ctrl + d / VS는 ctrl + shift + l 2. 한 줄 그대로 복사하여 아래로 붙여넣기(위로 붙여넣기는 모...

Recent Posts

Recent Posts Widget

Blog Archive

  • ►  2023 (4)
    • ►  3월 (1)
    • ►  2월 (1)
    • ►  1월 (2)
  • ►  2022 (1)
    • ►  2월 (1)
  • ►  2020 (8)
    • ►  7월 (1)
    • ►  4월 (3)
    • ►  3월 (4)
  • ►  2018 (1)
    • ►  7월 (1)
  • ►  2015 (1)
    • ►  5월 (1)
  • ►  2014 (5)
    • ►  8월 (1)
    • ►  7월 (1)
    • ►  6월 (1)
    • ►  5월 (1)
    • ►  1월 (1)
  • ▼  2013 (10)
    • ►  12월 (1)
    • ►  11월 (1)
    • ►  9월 (2)
    • ►  8월 (3)
    • ▼  7월 (3)
      • Builder Pattern
      • 문법에서 문장까지(대명사)
      • 문법에서 문장까지(관사/무관사)
  • ►  2012 (1)
    • ►  3월 (1)

Categories

  • 객체지향 (1)
  • 도서요약 (1)
  • 문법에서 문장까지 (2)
  • 일상 (1)
  • 자기계발 (1)
  • 책 (1)
  • 키보드 (1)
  • 키크론 (1)
  • blogspot (2)
  • error (1)
  • exception (1)
  • GIT (1)
  • JAVA (6)
  • JUNIT (1)
  • K8 PRO RGB (1)
  • kafka (1)
  • markdown (1)
  • mongodb (2)
  • mongotemplate (1)
  • optional (1)
  • Oracle (4)
  • Redmine (1)
  • spring (1)
  • stackedit (1)
  • troubleshooting (1)
  • Visual Studio (1)
  • Webflux (1)

Unordered List

Pages

  • 홈

Text Widget

Categories

Tags

Facebook

  • Home
  • Features
  • _Multi DropDown
  • __DropDown 1
  • __DropDown 2
  • __DropDown 3
  • _ShortCodes
  • _SiteMap
  • _Error Page
  • Documentation
  • Video Documentation
  • Download This Template

Footer Menu Widget

  • Home
  • About
  • Contact Us

Social Plugin

JINI. Powered by Blogger.

Copyright © Jini's Blog | Powered by Blogger
Design by Hardeep Asrani | Blogger Theme by NewBloggerThemes.com | Distributed By Gooyaabi Templates