Computer Hippocampus
  • 홈
  • 태그
  • 방명록
  • 메뉴 닫기
  • 글작성
  • 방명록
  • 환경설정
    • 분류 전체보기 (176)
      • Daily Records (0)
      • Coding Test 관련(with Kotlin) (0)
      • Android Dev (87)
        • NowInAndroid (7)
        • NaimanProject (0)
        • Compose (21)
        • Navigation (4)
        • Google Billing API (4)
        • Test Firebase Chatting App (12)
        • Login API 정리 (0)
        • Error logs (0)
      • 코틀린(Kotlin, Java) (14)
      • Swift (12)
        • codingTest (0)
      • Spring Boot (1)
      • Scala (3)
      • Js (0)
      • Programming Theory (13)
        • Functional Programming (2)
        • Design Pattern (0)
        • Generics (3)
        • 비동기 패러다임(Asynchronous Para.. (0)
        • 코루틴(Coruotine) (8)
        • Rxjava (0)
      • 파이어베이스(Firebase) (0)
      • 프로그래밍 팁 (1)
      • SystemVerilog (2)
      • Adobe (4)
        • 포토 일러스트레이터 (4)
        • Premiere pro (0)
      • Github 팁 (3)
      • RiscV (2)
        • Wake (1)
      • Linux (2)
      • CSS (4)
      • 회사 관련 (0)
  • 홈
  • 태그
  • 방명록
Programming Theory/Generics

Generics -scala(1)

docs.scala-lang.org/tour/generic-classes.html Generic Classes Generic classes are classes which take a type as a parameter. They are particularly useful for collection classes. Defining a generic class Generic classes take a type as a parameter within square brackets []. One convention is to use the letter A as type docs.scala-lang.org 위 사이트를 참고 하였음(제네릭의 기본적인 개념은 JAVA(witcheryoon.tistory.com/158..

2020. 12. 5. 16:00
Programming Theory/Generics

Generics - java(2)

Wildcards 제네릭 코드에서는 wildcard로 불리는 question mark ?로 알 수 없는 타입(unKnown Type)을 표현한다. 사용이 되는 부분과 안되는 부분은 실제 사용을 해보면서 익혀야한다. 다양한 곳에서 사용가능하다. ( In generic code, the question mark (?), called the wildcard, represents an unknown type. The wildcard can be used in a variety of situations: as the type of a parameter, field, or local variable; sometimes as a return type (though it is better programming prac..

2020. 12. 4. 14:28
Programming Theory/Generics

Generics -java(1)

docs.oracle.com/javase/tutorial/java/generics/index.html Lesson: Generics (Updated) (The Java™ Tutorials > Learning the Java Language) The Java Tutorials have been written for JDK 8. Examples and practices described in this page don't take advantage of improvements introduced in later releases and might use technology no longer available. See Java Language Changes for a summary of updated docs.o..

2020. 12. 2. 16:04
Programming Theory/코루틴(Coruotine)

kotlin Coroutine 정리(4, Coroutine Context and Dispatchers)

Coroutine Context and Dispatchers. 코루틴은 항상 어떠한 context 내에서 실행이 되는데, 이러한 context는 CoroutineContext type의 값에 의해 표현(represented)된다(이러한 타입은 kotlin standard library에 정의 되어 있음). Coroutine context는 다양한 요소(elements)의 집합이다. 주요한 요소는 coroutine의 Job이고(이전 장에 잠시 다룬 것이다), Job의 dispatcher이다. dispatcher은 이번 포스팅에서 자세히 다룬다. 먼저, 이번 페이지에서 살펴볼 목차는 아래와 같다(kotlinlang.org/docs/reference/coroutines/coroutine-context-and-..

2020. 9. 22. 09:23
Programming Theory/코루틴(Coruotine)

kotlin Coroutine 정리(3, Composing Suspending Functions)

Composing Suspending Functions 이번 페이지는 suspending functions의 구성을 알아본다. Sequential by default 기본에 기반한 연속성. 1> 위 함수는 1초정도의 지연이 있는 어떤 유용한 기능을 하는 함수를 가상적으로 만들어낸 것이다. 2> 만약에 두 함수를 순차적으로 invoke하게 되었을때 코루틴은 1번째 함수를 invoke하고 그 작업이 완료 된 후 2번쨰 함수를 invoke하여 총 2초 이상의 시간이 소요될 것이다. 3> 이는 coroutine 특성상 기본적인 옵션이 sequential하기 때문이고 아래 코드로 시간을 측정하여 그 결과를 확인할 수 있다. -*-*--*-*--*-*--*-*--*-*--*-*--*-*- 기억할 키워드 measur..

2020. 9. 21. 14:00
Programming Theory/코루틴(Coruotine)

Kotlin Coroutine 정리(2, Cancellation and Timeouts)

Cancellation and Timeouts - Cancelling coroutine execution 1> 어플리케이션의 긴 동작에 있어 백그라운드 코루틴의 동작이 정교하게 진행되어야할 필요성이 생길 것이다. 2> 예를 들어 코루틴이 lauched된 어떤 앱에서 user가 page를 close하면 거기서 동작하는 코루틴은 필요가 없다. 3 computation code를 취소하는 방법은 2가지가 있다. 2> cancellation을 위한..

2020. 9. 17. 16:41
  • «
  • 1
  • 2
  • 3
  • »

공지사항

전체 카테고리

  • 분류 전체보기 (176)
    • Daily Records (0)
    • Coding Test 관련(with Kotlin) (0)
    • Android Dev (87)
      • NowInAndroid (7)
      • NaimanProject (0)
      • Compose (21)
      • Navigation (4)
      • Google Billing API (4)
      • Test Firebase Chatting App (12)
      • Login API 정리 (0)
      • Error logs (0)
    • 코틀린(Kotlin, Java) (14)
    • Swift (12)
      • codingTest (0)
    • Spring Boot (1)
    • Scala (3)
    • Js (0)
    • Programming Theory (13)
      • Functional Programming (2)
      • Design Pattern (0)
      • Generics (3)
      • 비동기 패러다임(Asynchronous Para.. (0)
      • 코루틴(Coruotine) (8)
      • Rxjava (0)
    • 파이어베이스(Firebase) (0)
    • 프로그래밍 팁 (1)
    • SystemVerilog (2)
    • Adobe (4)
      • 포토 일러스트레이터 (4)
      • Premiere pro (0)
    • Github 팁 (3)
    • RiscV (2)
      • Wake (1)
    • Linux (2)
    • CSS (4)
    • 회사 관련 (0)
애드센스 광고 영역
  • 최근 글
  • 최근 댓글

최근 글

최근댓글

태그

MORE

전체 방문자

오늘
어제
전체

블로그 인기글

Powered by Privatenote Copyright © Computer Hippocampus All rights reserved. TistoryWhaleSkin3.4

티스토리툴바