object NullToggleMap extends ToggleMap
- Alphabetic
- By Inheritance
- NullToggleMap
- ToggleMap
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply(id: String): Toggle[Int]
Get a Toggle for this
id.Get a Toggle for this
id.The
Toggle.isDefinedmethod should returnfalseif the ToggleMap does not know about that Toggle or it is currently not "operating" on thatid.- id
the identifying name of the
Toggle. These should generally be fully qualified names to avoid conflicts between libraries. For example, "com.twitter.finagle.CoolThing".
- Definition Classes
- NullToggleMap → ToggleMap
- See also
get for a Java friendly version
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
get(id: String): Toggle[Integer]
Get a Toggle for this
id.Get a Toggle for this
id. Java-friendly synonym forapply.The
Toggle.isDefinedmethod should returnfalseif the ToggleMap does not know about that Toggle or it is currently not "operating" on thatid.- id
the identifying name of the
Toggle. These should generally be fully qualified names to avoid conflicts between libraries. For example, "com.twitter.finagle.CoolThing".
- Definition Classes
- ToggleMap
- Note
this returns a
java.lang.Integerfor Java compatibility.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
iterator: Iterator[Metadata]
- Definition Classes
- NullToggleMap → ToggleMap
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
orElse(that: ToggleMap): ToggleMap
Creates a ToggleMap which uses
thisbeforethat.Creates a ToggleMap which uses
thisbeforethat.apply returns a Toggle that uses the Toggle from
thisif itisDefinedAtfor the input, before tryingthat.iterator includes metadata from both
selfandthat, withself's metadata taking precedence on conflicting ids. Note however that if aToggleMetadata.descriptionis not defined onself, the description fromthatwill be preferred. This is done because many sources ofToggleMapsdo not have a description defined and we want to surface that information.- Definition Classes
- NullToggleMap → ToggleMap
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- NullToggleMap → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )