Byte Padding

Eyegasm for geeks

  • Home
  • Java
    • Java Core
    • Java Date
    • Java JSON
    • JDBC
  • Spring
  • Big Data
    • Apache Kafka
    • Spark
    • Hbase
    • Map Reduce
    • Aerospike
    • Apache Flink
    • Security
  • Linux
  • About
  • Contacts

Java 8 Streams read file

  • By BytePadding
  • on Mar 19, 2017
  • in Java, Java Core

In Java 8 we can use Files.lines to read file into stream and do manipulations.
Let’s say we want to count the number of unique words in the file.

Continue Reading

Java 8: streams from arrays

  • By BytePadding
  • on Mar 18, 2017
  • in Java, Java Core

Stream can be created from arrays using Arrays.stream static method. For example having an array of integers we can convert into IntStream:

Continue Reading

How Java is Platform independent

  • By BytePadding
  • on Mar 18, 2017
  • in Java, Java Core

Why Java is known as  platform independent, whats the internal mechanism which enables this.

Continue Reading

Understanding Java 8 streams

  • By BytePadding
  • on Mar 18, 2017
  • in Java, Java Core

Introduction to Java 8 streams and functional programming.

Continue Reading

Java Data Types

  • By BytePadding
  • on Mar 16, 2017
  • in Java, Java Core

Java Data Types and memory mapping details

Continue Reading

Java 8 Stream – allMatch, anyMatch, noneMatch

  • By BytePadding
  • on Mar 15, 2017
  • in Java Core

Stream API provides facilities to check weather elements in a certain set of data satisfy some conditions. This is done by allMatch, anyMatch, noneMatch methods of stream.

Continue Reading

Java 8: convert List into Map

  • By BytePadding
  • on Mar 15, 2017
  • in Java, Java Core

Suppose we have a List of objects and want to convert into Map.

Continue Reading

Modifiers in Java

  • By BytePadding
  • on Mar 15, 2017
  • in Java, Java Core

Understanding modifiers in Java and its sphere of influence

Continue Reading

While loop in java

  • By BytePadding
  • on Mar 15, 2017
  • in Java, Java Core

Understanding while loop in Java

Continue Reading

Java For loop

  • By BytePadding
  • on Mar 15, 2017
  • in Java, Java Core

Understanding for loop in Java

Continue Reading

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • …
  • 14

Categories

  • Aerospike (6)
  • Apache Kafka (5)
  • Avro (6)
  • Big Data (3)
  • Flink (5)
  • Hbase (4)
  • Java (36)
  • Java Core (50)
  • Java Date (3)
  • Java JSON (4)
  • JDBC (4)
  • Linux (5)
  • Map Reduce (13)
  • Security (5)
  • Spark (32)
  • Spring (10)
  • Zookeper (1)




Most Viewed

  • Avro serialization de-serialization using Confluent Schema registry - 231,012 views
  • Read Write Parquet Files using Spark - 37,525 views
  • Understanding Spark Serialization - 30,194 views
  • Define Avro Schema with default values - 23,879 views
  • Spark mapPartitions - 20,946 views

Recent Posts

  • How HDFS Apply Ranger Policies
  • How HiveServer2 Apply Ranger Policies
  • Significance of User and Groups in HDFS
  • Integrating Linux with AD or LDAP for Authentication and Authorization
  • Authentication and Authorization on OS

Copyright © 2016 bytepadding.com, all rights reserved. Privacy Policy