github.com/searKing/golang/go@v1.2.74/container/stream/of.go (about) 1 // Copyright 2020 The searKing Author. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package stream 6 7 /** 8 * Returns a sequential ordered stream whose elements are the specified values. 9 * 10 * @param <T> the type of stream elements 11 * @param values the elements of the new stream 12 * @return the new stream 13 */ 14 func Of(values ...interface{}) Stream { 15 return nil 16 }