Tabnine Logo
Fifo.clear
Code IndexAdd Tabnine to your IDE (free)

How to use
clear
method
in
xapi.collect.api.Fifo

Best Java code snippets using xapi.collect.api.Fifo.clear (Showing top 7 results out of 315)

origin: net.wetheinter/xapi-core-api

/**
 * Clear our array of callbacks
 */
public void clearReceivers(){
 handlers.clear();
}
/**
origin: net.wetheinter/xapi-core-api

/**
 * Clear all callback stacks.
 */
@Override
public void clearReceivers() {
 super.clearReceivers();
 post.clear();
 pre.clear();
}
/**
origin: net.wetheinter/xapi-core-reflect

protected AbstractClass setGenerics(Iterable<IsGeneric> generics) {
 this.generics.clear();
 addGenerics(generics);
 return this;
}
protected AbstractClass addGenerics(Iterable<IsGeneric> generics) {
origin: net.wetheinter/xapi-core-reflect

protected AbstractClass setInterfaces(Iterable<IsClass> ifaces) {
 this.interfaces.clear();
 return addInterfaces(ifaces);
}
origin: net.wetheinter/xapi-core-reflect

protected AbstractClass setFields(Iterable<IsField> fields) {
 this.fields.clear();
 return addFields(fields);
}
protected AbstractClass addFields(Iterable<IsField> fields) {
origin: net.wetheinter/xapi-core-reflect

protected AbstractClass setMethods(Iterable<IsMethod> methods) {
 this.methods.clear();
 return addMethods(methods);
}
origin: net.wetheinter/xapi-core-reflect

protected AbstractClass setInnerClasses(Iterable<IsClass> clses) {
 this.innerClasses.clear();
 return addInnerClasses(clses);
}
xapi.collect.apiFifoclear

Javadoc

Removes all items in the queue. head = tail;

Popular methods of Fifo

  • give
    Analagous to add(), however, we do not use the standard naming convention, to avoid interface clashe
  • forEach
  • isEmpty
    Fastest way to tell if the queue is drained.
  • join
  • remove
    Manually remove the item from queue. O(n) performance.
  • take
    Analagous to poll(); retrieves and removes head. We avoid the use of standard queue naming methods,
  • contains
    Check if this queue contains the given item. O(n) performance. You may want to use a Set unless you
  • size
    Return a count of items in the queue. Default implementation uses a counter; subclasses may have O(n

Popular in Java

  • Running tasks concurrently on multiple threads
  • getContentResolver (Context)
  • getSystemService (Context)
  • startActivity (Activity)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • JTextField (javax.swing)
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now