Tabnine Logo
RecyclingArrayList.isEmpty
Code IndexAdd Tabnine to your IDE (free)

How to use
isEmpty
method
in
us.ihmc.robotics.lists.RecyclingArrayList

Best Java code snippets using us.ihmc.robotics.lists.RecyclingArrayList.isEmpty (Showing top 5 results out of 315)

origin: us.ihmc/IHMCHumanoidRobotics

  @Override
  public boolean isCommandValid()
  {
   return timestamp != -1L && !scan.isEmpty();
  }
}
origin: us.ihmc/IHMCRoboticsToolkit

/**
* Returns the last element of this list.
* If the list is empty, it returns {@code null}.
* @return the last element of this list
*/
public T getLast()
{
 if (isEmpty())
   return null;
 else
   return unsafeGet(size - 1);
}
origin: us.ihmc/IHMCRoboticsToolkit

@Override
public String toString()
{
 if (isEmpty())
   return "Empty list";
 String ret = "";
 for (int i = 0; i < size - 1; i++)
   ret += unsafeGet(i).toString() + "\n";
 ret += unsafeGet(size - 1).toString();
 return ret;
}
origin: us.ihmc/CommonWalkingControlModules

if (!requestedFootstepAdjustment.getPredictedContactPoints().isEmpty())
origin: us.ihmc/CommonWalkingControlModules

if (footstepData.getPredictedContactPoints().isEmpty())
  contactPoints = null;
else
us.ihmc.robotics.listsRecyclingArrayListisEmpty

Javadoc

Returns true if this list contains no elements.

Popular methods of RecyclingArrayList

  • get
    Returns the element at the specified position in this list.
  • add
    Unsupported operation.
  • clear
    Sets the size of the list to 0, but does not change its capacity. This method is meant to recycle a
  • size
    Returns the number of elements in this list.
  • <init>
  • getAndGrowIfNeeded
    Returns the element at the specified position in this list. The list will grow if the given index is
  • getLast
    Returns the last element of this list. If the list is empty, it returns null.
  • remove
    Removes the first occurrence of the specified element from this list, if it is present. If the list
  • checkWithMaxCapacity
  • ensureCapacity
  • fillElementDataIfNeeded
  • indexOf
    Returns the index of the first occurrence of the specified element in this list, or -1 if this list
  • fillElementDataIfNeeded,
  • indexOf,
  • positiveIndexCheck,
  • rangeCheck,
  • rangeCheckForInsert,
  • toArray,
  • unsafeFastSwap,
  • unsafeGet,
  • unsafeGrowByN

Popular in Java

  • Reading from database using SQL prepared statement
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getSupportFragmentManager (FragmentActivity)
  • requestLocationUpdates (LocationManager)
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • Path (java.nio.file)
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Top Vim plugins
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