aQute.lib.env
Class Sieve

java.lang.Object
  extended by aQute.lib.env.Sieve
All Implemented Interfaces:
Map<Selector,Props>

public class Sieve
extends Object
implements Map<Selector,Props>


Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Field Summary
static Sieve ALWAYS
           
 
Constructor Summary
Sieve()
           
Sieve(Collection<String> other)
           
Sieve(Header contained)
           
Sieve(Sieve other)
           
Sieve(String h)
           
 
Method Summary
 void append(Header other)
           
 void clear()
           
 boolean containsKey(Object name)
          Deprecated. 
 boolean containsKey(Selector name)
           
 boolean containsValue(Object value)
          Deprecated. 
 boolean containsValue(Props value)
           
 Set<Map.Entry<Selector,Props>> entrySet()
           
 Selector finder(String value)
           
 Props get(Object key)
          Deprecated. 
 Props get(Selector key)
           
 boolean isEmpty()
           
 Set<Selector> keySet()
           
 Selector matcher(String value)
           
 boolean matches(String value)
           
 Props put(Selector key, Props value)
           
 void putAll(Map<? extends Selector,? extends Props> map)
           
<T> Collection<T>
reject(Collection<T> set)
           
 Props remove(Object var0)
          Deprecated. 
 Props remove(Selector var0)
           
<T> Collection<T>
select(Collection<T> set, boolean emptyIsAll)
           
<T> Collection<T>
select(Collection<T> set, Set<Selector> unused, boolean emptyIsAll)
           
 int size()
           
 String toString()
           
 Collection<Props> values()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Field Detail

ALWAYS

public static Sieve ALWAYS
Constructor Detail

Sieve

public Sieve(Sieve other)

Sieve

public Sieve(Collection<String> other)

Sieve

public Sieve()

Sieve

public Sieve(Header contained)

Sieve

public Sieve(String h)
Method Detail

clear

public void clear()
Specified by:
clear in interface Map<Selector,Props>

containsKey

public boolean containsKey(Selector name)

containsKey

@Deprecated
public boolean containsKey(Object name)
Deprecated. 

Specified by:
containsKey in interface Map<Selector,Props>

containsValue

public boolean containsValue(Props value)

containsValue

@Deprecated
public boolean containsValue(Object value)
Deprecated. 

Specified by:
containsValue in interface Map<Selector,Props>

entrySet

public Set<Map.Entry<Selector,Props>> entrySet()
Specified by:
entrySet in interface Map<Selector,Props>

get

@Deprecated
public Props get(Object key)
Deprecated. 

Specified by:
get in interface Map<Selector,Props>

get

public Props get(Selector key)

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Map<Selector,Props>

keySet

public Set<Selector> keySet()
Specified by:
keySet in interface Map<Selector,Props>

put

public Props put(Selector key,
                 Props value)
Specified by:
put in interface Map<Selector,Props>

putAll

public void putAll(Map<? extends Selector,? extends Props> map)
Specified by:
putAll in interface Map<Selector,Props>

remove

@Deprecated
public Props remove(Object var0)
Deprecated. 

Specified by:
remove in interface Map<Selector,Props>

remove

public Props remove(Selector var0)

size

public int size()
Specified by:
size in interface Map<Selector,Props>

values

public Collection<Props> values()
Specified by:
values in interface Map<Selector,Props>

toString

public String toString()
Overrides:
toString in class Object

append

public void append(Header other)

select

public <T> Collection<T> select(Collection<T> set,
                                boolean emptyIsAll)

select

public <T> Collection<T> select(Collection<T> set,
                                Set<Selector> unused,
                                boolean emptyIsAll)

reject

public <T> Collection<T> reject(Collection<T> set)

matcher

public Selector matcher(String value)

finder

public Selector finder(String value)

matches

public boolean matches(String value)


Copyright © 2014 aQute SARL. All rights reserved.