/* package whatever; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;
import java.util.stream.*;

class Ideone
{
	public static void main (String[] args) throws java.lang.Exception
	{
      System.out.println(testMethod(Stream.empty())); // <- expected false
      System.out.println(testMethod(Stream.of("match", "match")));
      System.out.println(testMethod(Stream.of("match", "no match")));
	}
	
	private static boolean testMethod(Stream<String> stream) {
      return stream.allMatch(text -> "match".equals(text));
    }
}