Top "Wildcard" questions

A wildcard character is any character that can be used to substitute for any other character or characters in a string.

Wildcards with diamond operator

If I am trying to do something like this : List<?> unknownList = new ArrayList<>(); then the code …

java generics wildcard diamond-operator
SQL Use Greater/Less Than with like and wildcards

I'm currently a bit stumped on how to implement a certain thing. Basically I have an embedded database(which really …

sql wildcard embedded-database vistadb
Angular 4 animation to height *

I've been puzzled with something I possibly think is a bug in the animation-module in Angular 4. With the animations in …

angular animation wildcard angular-animations
What is the use and point of unbound wildcards generics in Java?

I don't understand what is the use of unbound wildcards generics. Bound wildcards generics with upper boundary <? extends Animal&…

java generics wildcard
Wildcard path for servlet?

Having an @WebServlet(urlPatterns = "/myServlet/"). If the user goes to myapp/myServlet/other, I still want my servlet to catch. …

servlets wildcard url-pattern path-parameter
How to resolve `Raw use of parameterized class 'Comparable'` warning?

Got to implement the method below for an assignment which it's subject is "WildCards", but don't know where to use …

java oop generics wildcard raw-types
FTP directory partial listing with wildcards

First I asked that: ftp directory listing timeout. Huge number of subdirs. I got the answer. Still because I can …

c# ftp wildcard ftpwebrequest
Multiple wildcards on a generic methods makes Java compiler (and me!) very confused

Let's first consider a simple scenario (see complete source on ideone.com): import java.util.*; public class TwoListsOfUnknowns { static void …

java generics wildcard compiler-errors
Cannot Instantiate Type in generics

I have this class public class Tree<T> { //List of branches for this tree private List<Tree&…

java generics wildcard bounded-wildcard
Create rule in makefile for just a set of files

I am writing a Makefile, and I want to use a generic rule with wildcards, like %: bkp/% cp $< $@ But …

makefile wildcard rule