Creates an already-completed OperationFuture, useful for testing.
completedSnapshot.isDone() must return true. The snapshot's getResponse()
and getMetadata() must be instances of ResponseT and MetadataT,
respectively.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This webpage provides documentation for the `OperationFutures` class in the Google API Client Library for Java, which extends `java.lang.Object`."],["The latest documented version of the `OperationFutures` class is 2.63.1, with a variety of previous versions from 2.62.0 to 2.7.1 also available."],["The class `OperationFutures` contains a static method, `immediateOperationFuture`, that is used to create an already-completed `OperationFuture`, primarily for testing purposes."],["The `immediateOperationFuture` method requires an `OperationSnapshot` as a parameter, where it must be completed and its `getResponse()` and `getMetadata()` methods must be instances of `ResponseT` and `MetadataT`, respectively."],["The inherited members from `java.lang.Object` are `clone()`, `equals(Object)`, `finalize()`, `getClass()`, `hashCode()`, `notify()`, `notifyAll()`, `toString()`, `wait()`, `wait(long)`, and `wait(long,int)`."]]],[]]