Gets the available books.

@return the available books
766255
public Collection<Book> getAvailableBooks() {
        synchronized (librarian) {
            Collection<Book> books = new LinkedList<Book>();
            for (Entry<String, Integer> entry : isbns_to_quantities.entrySet()) {
                if (entry.getValue() > 0) {
                    books.add(getBook(entry.getKey()));
                }
            }
            return books;
        }
    }
168256
public List<AvailabilityZone> getAvailabilityZones() {

    final AmazonEC2 amazonEC2 = getEc2Client();

    final DescribeAvailabilityZonesResult describeAvailabilityZonesResult = amazonEC2.describeAvailabilityZones();
    final List<AvailabilityZone> availabilityZones = describeAvailabilityZonesResult.getAvailabilityZones();
    LOGGER.info("Found: " + availabilityZones.size() + " availability zone");

    return availabilityZones;
  }
600646
public java.util.List<Job> getJobs() {
        if (jobs == null) {
            jobs = new com.amazonaws.internal.SdkInternalList<Job>();
        }
        return jobs;
    }
637051
public java.util.List<Mapping> getMapping() {  
		if (myMapping == null) {
			myMapping = new java.util.ArrayList<Mapping>();
		}
		return myMapping;
	}
960323
public static Charset[] getAvailableCharsets() {
        Collection collection = Charset.availableCharsets().values();
        return (Charset[]) collection.toArray(new Charset[collection.size()]);
    }
612932
public @NotNull List<Resource> getResources() {
    return getResources((Predicate<Resource>)null, (Resource)null);
  }
652625
public java.util.List<Disk> getDisks() {
        if (disks == null) {
            disks = new com.amazonaws.internal.SdkInternalList<Disk>();
        }
        return disks;
    }
904502
@Exported
    public List<Plugin> getAvailables() {
        List<Plugin> r = new ArrayList<>();
        Data data = getData();
        if(data==null)     return Collections.emptyList();
        for (Plugin p : data.plugins.values()) {
            if(p.getInstalled()==null)
                r.add(p);
        }
        return r;
    }
154083
public java.util.List<InstanceCapacity> getAvailableInstanceCapacity() {
        if (availableInstanceCapacity == null) {
            availableInstanceCapacity = new com.amazonaws.internal.SdkInternalList<InstanceCapacity>();
        }
        return availableInstanceCapacity;
    }
603322
public java.util.List<String> getAvailablePortSpeeds() {
        if (availablePortSpeeds == null) {
            availablePortSpeeds = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return availablePortSpeeds;
    }
1290860
public List<ResourceFileSource> getSources() {
		List<ResourceFileSource> sources = new ArrayList<ResourceFileSource>();
		sources.add(this);
		return sources;
	}
908232
public java.util.List<Location> getLocations() {
        if (locations == null) {
            locations = new com.amazonaws.internal.SdkInternalList<Location>();
        }
        return locations;
    }
1250008
private List getDestinations() {

        List result = new ArrayList();
        result.add(new CmsSelectWidgetOption("WEB-INF/classes/"));
        result.add(new CmsSelectWidgetOption("WEB-INF/lib/"));
        return result;
    }
1093006
public function getAvailableTickets() {
		$available = ArrayList::create();
		$tickets = $this->Tickets();
		foreach($tickets as $ticket) {
			if ($ticket->isAvailable()) {
				$available->push($ticket);
			}
		}
		return $available;
	}
1304173
@Override
	public List<String> getLinkedWorkbooks() {
		List<String> result = new ArrayList<>();
		if (this.currentWorkbook instanceof HSSFWorkbook) {
			result = getLinkedWorkbooksHSSF();
    
		} else if (this.currentWorkbook instanceof XSSFWorkbook) {
			// use its API
			for (ExternalLinksTable element: ((XSSFWorkbook)this.currentWorkbook).getExternalLinksTable()) {
				result.add(element.getLinkedFileName());
			}
		} else {
			LOG.warn("Cannot determine linked workbooks");
		}
		return result;
	}
50832
def get_books(self):
        
        if self.retrieved:
            raise errors.IllegalState('List has already been retrieved.')
        self.retrieved = True
        return objects.BookList(self._results, runtime=self._runtime)
904922
public List getResources() {

        if ((m_resources == null) || m_resources.isEmpty()) {
            m_resources = new ArrayList();
            m_resources.add("/");
        }
        return m_resources;
    }