- : execludes a term.
Search for Elon Musk but exclude the terms tesla or SpaceX
elon musk -tesla -SpaceX
| : search for x or y.
Search for apples or oranges (see images)
fruits(apple | orange)
| import org.junit.jupiter.api.Test; | |
| import org.mockito.Mockito; | |
| import org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLoggingListener; | |
| import org.springframework.boot.test.context.runner.ApplicationContextRunner; | |
| import org.springframework.context.annotation.Bean; | |
| import org.springframework.context.annotation.Configuration; | |
| import static org.assertj.core.api.Assertions.assertThat; | |
| import static org.junit.jupiter.api.Assertions.assertAll; |
| import java.util.Random; | |
| import java.util.concurrent.BlockingQueue; | |
| import java.util.concurrent.LinkedBlockingQueue; | |
| public class ChapattiStore { | |
| // Simple builder class for the store | |
| public static class Builder { | |
| private boolean verbose; | |
| private int chappatiToMake; |
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "math/rand" | |
| "time" | |
| ) | |
| type ChappatiStore struct { |
| // Chat is a server that lets clients chat with each other. | |
| // For n clients: 2n+2 concurrent communications | |
| package main | |
| import ( | |
| "bufio" | |
| "fmt" | |
| "log" | |
| "net" | |
| "time" |
| package main | |
| import ( | |
| "flag" | |
| "fmt" | |
| "io/ioutil" | |
| "os" | |
| "path/filepath" | |
| "strings" | |
| "sync" |