Skip to content

Add java queue size term #7382

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions docs/content/java/concepts/queue/terms/size/size.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# size()

The `size()` method returns the number of elements currently stored in a queue. It does not modify the queue or inspect the elements themselves, only reports how many are present.

## Syntax

```java
int size = queue.size();

Binary file added excursion/.DS_Store
Binary file not shown.
16 changes: 16 additions & 0 deletions excursion/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Document</title>
<link rel="stylesheet" href="excursion/resources/css/style.css" />
</head>
<body>

<h1>Discover hidden places in the world around you</h1>

<script src="script.js"></script>
</body>
</html>
Binary file added excursion/resources/.DS_Store
Binary file not shown.
37 changes: 37 additions & 0 deletions excursion/resources/css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
body {
background-color: black;
text-align: center;
}

h1 {
color: white;
font-family: Verdana, Arial, sans-serif;
font-weight: normal;
font-size: 50px;
}

h2 {
color: white;
font-family: Verdana, Arial, sans-serif;
font-weight: 300;
font-size: 42px;
}

.highlight {
color: gray;
font-size: 21px;
font-family: Verdana, Arial, sans-serif;

}

a {
color: aquamarine;
font-size: 18px;
}

footer {
text-align: right;
color: gray;
font-family: Verdana, sans-serif;
font-size: 20px;
}
Binary file added excursion/resources/photo/camp.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added excursion/resources/photo/phone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added excursion/resources/video/excursion.mp4
Binary file not shown.
42 changes: 42 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Document</title>
<link rel="stylesheet" href="excursion/resources/css/style.css" />
</head>
<body>

<h1>Discover hidden places in the world around you</h1>
<a href="#">Download Excursion (Coming soon!)</a>
<p>
<video
width="800"
height="600"
autoplay
loop
muted
playsinline
>
<source src="excursion/resources/video/excursion.mp4" type="video/mp4" />
Your browser does not support the video tag.
</video>
</p>
<h2>Your personal travel guide</h2>
<p class="highlight">Excursion remembers places you like, and recommends new points of interest around you.</p>
<p>
<img src="excursion/resources/photo/camp.jpg" alt="Description of image" width="900" />
</p>
<p>
<img src="excursion/resources/photo/phone.png" alt="Description of image" width="60" />
</p>
<h2>Coming Soon for iPhone and Android</h2>
<a href="#">Download Excursion (Coming soon!)</a>
<footer>&copy;Excursion</footer>
</body>

<script src="script.js"></script>
</body>
</html>
1 change: 1 addition & 0 deletions test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
adding text to test file