GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Overview
  • Module
  • Package
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

This view

  • Original page
  • New address

GeezerVison is showing docs.oracle.com — Supplier (Java SE 16 & JDK 16)

Module java.base
Package java.util.function

Interface Supplier<T>

Type Parameters:
T - the type of results supplied by this supplier
All Known Subinterfaces:
ServiceLoader.Provider<S>
All Known Implementing Classes:
GuardingDynamicLinkerExporter
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface Supplier<T>
Represents a supplier of results.

There is no requirement that a new or distinct result be returned each time the supplier is invoked.

This is a functional interface whose functional method is get().

Since:
1.8
  • Method Summary

    Modifier and Type
    Method
    Description
    T
    get()
    Gets a result.
  • Method Details

    • get

      T get()
      Gets a result.
      Returns:
      a result
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.